CellWall Logo

Exception Autocapture

PostHog

Monitoring
monitor Exposure
v5413b0cc
A JavaScript library for automatically capturing unhandled exceptions and errors within a web application, facilitating error monitoring and debugging.
10M+ sites
Updated 10/9/2026
https://us-assets.i.posthog.com/static/1.438.5/exception-autocapture.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

17.44 KB

Download size

Load Time

65.91ms

Network latency

Execution Time

2.10ms

Runtime performance

Version Telemetry

Version Timeline

Visual representation of each version's active period

Metrics Over Time

Security score, performance score, and file size trends

0255075100v5413Normalized ScoreVersion
Security Score
Performance Score
File Size (KB)

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v5413b0ccLatest
Span: 1 day
Score: 85
Size: 17.44 KB

Exposure & Risks

Security Score

Overall Security85 / 100
Exposure Levelmonitor

Risk Assessment

Critical Risks0
Total Observations0

Exposure Status

Monitor
Moderate behavioral concerns, review and mitigation advised.

Behavioral Concerns

No Known Security Risks

Our telemetry scan did not detect any immediate behavioral security risks for this resource.

Security Observations

Security-related findings from analysis

No security observations recorded for this version

Privacy & Data Flow

Data Collection

Cookies and local storage used by this script

Cookies

ph_distinct_id1 year
Used to store a randomly generated anonymous ID to identify unique visitors.
ph_session_id30 minutes
Used to store a randomly generated ID for the current user session.

Local Storage

ph_last_event_time
Stores the timestamp of the last event to help manage session duration and activity.
ph_campaign_parameters
Stores URL campaign parameters to attribute user acquisition sources.

Third-party Connections

External domains this script connects to

No external connections detected

Permissions Required

Browser permissions and capabilities used

No special browser permissions required.

Privacy Observations

Privacy-related findings from analysis

No privacy observations recorded for this version

Technical & Performance Analytics

Load Performance

File Size17.44 KB
Load Time65.91ms

Runtime Performance

Execution Time2.10ms
Network Requests0

Impact Assessment

Good
Minimal performance impact on page load

Performance Observations

Performance-related findings from analysis

No performance observations recorded for this version

Global Variables

Variables added to the global scope

posthogErrorWrappingFunctionsextendPostHogWithExceptionAutoCaptureextendPostHogWithExceptionAutocapture

Event Listeners

Events this script listens for

No event listeners detected

Browser API Access

APIs and browser features accessed by this script

No API access detected

Technical Details

Compressed
Yes
CDN Delivery
No
Total Views
2
Is Mirror
No
Network Requests
0
Resource Hash
5413b0cc7110d756f41b1a6ec81dd8790f5dca8c28bf58b552e6963d577a3f8b

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is a component of the PostHog JavaScript SDK designed for comprehensive error tracking. When loaded on a webpage, it automatically hooks into the browser's error handling mechanisms, such as `window.onerror` and unhandled promise rejections. It captures detailed information about any JavaScript exceptions or errors that occur, including stack traces, error messages, and contextual data about the user's session and environment. This captured error data is then transmitted to the PostHog platform, allowing developers and website owners to identify, analyze, and debug issues proactively, improving the overall reliability and stability of their web application. It operates in the background, listening for errors without requiring explicit calls from the host application for each error. The goal is to provide a complete picture of client-side errors to enable rapid problem resolution and user experience improvement.

Key Features

Core functionalities and capabilities of this resource

  • Automatic error capturing
  • Unhandled exception detection
  • Promise rejection handling
  • Stack trace collection
  • Contextual error reporting
  • Client-side error monitoring

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation