CellWall Logo

Exception Autocapture

PostHog

Error Tracking
monitor Exposure
vcbeb01ca
A script for automatically capturing client-side JavaScript exceptions and errors, sending them to the PostHog platform for analysis and monitoring.
10M+ sites
Updated 8/27/2026
https://us-assets.i.posthog.com/static/1.419.4/exception-autocapture.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

13.33 KB

Download size

Load Time

42.67ms

Network latency

Execution Time

0.85ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vcbeb01caLatest
Span: 2 days
Score: 85
Size: 13.33 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_posthog_distinct_id1 year
Used to store a unique identifier for the user to track their activity across sessions.
ph_posthog_session_id30 minutes
Used to store a unique identifier for the current session.
ph_posthog_persist1 year
Used to persist user information and settings.

Local Storage

ph_posthog_distinct_id
Stores a unique identifier for the user to maintain their identity across sessions.
ph_posthog_props
Stores user properties and metadata for analytics purposes.

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 Size13.33 KB
Load Time42.67ms

Runtime Performance

Execution Time0.85ms
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
8
Is Mirror
No
Network Requests
0
Resource Hash
cbeb01caedccee249517d045ab47d690611835aa85768fd318b1321241f20dde

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is an integral part of the PostHog analytics and product OS suite. Its core function is to passively monitor for unhandled JavaScript exceptions, runtime errors, and uncaught promise rejections that occur within a web application. When such an event happens, the `exception-autocapture.js` script automatically collects detailed information, including the error message, stack trace, file and line number, and relevant contextual data about the user's session or environment. This collected error data is then transmitted to the PostHog backend, allowing developers and website owners to gain real-time insights into the stability and performance of their application. It helps in quickly identifying, debugging, and resolving client-side issues that impact user experience, without requiring manual error handling for every potential fault. It operates by typically augmenting or hooking into global error event listeners in the browser environment.

Key Features

Core functionalities and capabilities of this resource

  • Exception Autocapture
  • Error Tracking
  • Client-side Monitoring
  • Stack Trace Collection
  • Contextual Error Reporting
  • Automated Bug Detection
  • Performance Monitoring

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation