CellWall Logo

Exception Autocapture

PostHog

Error Tracking
monitor Exposure
v4ce543f2
A JavaScript utility for automatically capturing and reporting unhandled exceptions and errors from the client-side.
10M+ sites
Updated 7/14/2026
https://us-assets.i.posthog.com/static/1.396.6/exception-autocapture.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

11.56 KB

Download size

Load Time

27.67ms

Network latency

Execution Time

1.61ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v4ce543f2Latest
Span: 9 days
Score: 85
Size: 11.56 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 uniquely identify a user across sessions.
ph_session_id30 minutes
Used to group events into a single session.

Local Storage

ph_queue
Stores a queue of events to be sent to the PostHog server, ensuring data is not lost if the user navigates away or loses connection temporarily.

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 Size11.56 KB
Load Time27.67ms

Runtime Performance

Execution Time1.61ms
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

posthogErrorWrappingFunctions

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
221
Is Mirror
No
Network Requests
0
Resource Hash
4ce543f25ef3706c08a669ed2977425f05da81f16c17e73b6cfba05ceaa3e2a3

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is a component of the PostHog analytics and product OS platform, specifically designed for client-side error monitoring. It automatically intercepts unhandled JavaScript errors and exceptions that occur within a user's browser session. Upon detection, it captures detailed information such as the error message, stack trace, and relevant context (e.g., URL, user data, session information) and transmits this data to the PostHog backend for analysis. Its primary function is to provide developers with real-time insights into application stability and user-impacting issues without requiring manual instrumentation for every potential error point. This helps in proactive identification, debugging, and resolution of bugs, ultimately improving the overall user experience and application reliability.

Key Features

Core functionalities and capabilities of this resource

  • Error Tracking
  • Exception Autocapture
  • Client-side Monitoring
  • Bug Reporting
  • Stack Trace Collection
  • Contextual Error Data

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation