CellWall Logo

Exception Autocapture

PostHog

Analytics
monitor Exposure
v05333f97
A script for automatically capturing JavaScript errors and exceptions on a website for product analytics and monitoring.
10M+ sites
Updated 9/9/2026
https://us-assets.i.posthog.com/static/1.428.3/exception-autocapture.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

13.34 KB

Download size

Load Time

99.31ms

Network latency

Execution Time

0.00ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v05333f97Latest
Span: 2 days
Score: 85
Size: 13.34 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_phc_*1 year
Used by PostHog to identify a unique user across sessions and track their activity on the website.

Local Storage

ph_*
Stores PostHog related data such as distinct user IDs, anonymous IDs, and opt-out preferences for various features or experiments.

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.34 KB
Load Time99.31ms

Runtime Performance

Execution Time0.00ms
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

No global variables detected

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
6
Is Mirror
No
Network Requests
0
Resource Hash
05333f9725de670de92478bf43fd7130e96eff10968230e4df4c0dde0f4d401f

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is part of the PostHog product analytics suite, specifically designed for 'exception autocapture'. It functions by listening for unhandled JavaScript errors and exceptions that occur within the browser. When an error is detected, the script automatically captures relevant contextual information, such as the error message, stack trace, affected URL, browser details, and potentially user information if available from other PostHog scripts. This data is then transmitted to the PostHog backend, enabling website owners to monitor the health of their client-side application, identify common bugs, and gain insights into issues affecting user experience. It helps in proactively debugging and improving application stability by providing real-time error visibility. By integrating this script, developers can avoid manually setting up error tracking for every potential issue, as it provides an automated mechanism to catch and report errors, streamlining the debugging process and informing product decisions based on client-side application performance.

Key Features

Core functionalities and capabilities of this resource

  • Error Tracking
  • Exception Monitoring
  • JavaScript Error Capture
  • Client-side Debugging
  • Product Analytics Integration
  • Automated Error Reporting
  • Contextual Error Data

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation