CellWall Logo

Posthog Recorder

PostHog

Heatmaps & Session Replay
monitor Exposure
vc17a76e3
A JavaScript library for comprehensive session recording, enabling websites to capture and replay user interactions.
10M+ sites
Updated 7/7/2026
https://us-assets.i.posthog.com/static/1.398.1/posthog-recorder.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

156.74 KB

Download size

Load Time

516.17ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vc17a76e3Latest
Span: 1 day
Score: 85
Size: 156.74 KB

Exposure & Risks

Security Score

Overall Security85 / 100
Exposure Levelmonitor

Risk Assessment

Critical Risks0
Total Observations1

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_session_id30 minutes
Used to uniquely identify a user's session on the website, grouping all events within that session. It resets after a period of inactivity.
ph_distinct_id1 year
Stores a unique identifier for the user, allowing PostHog to track their activity across different sessions and devices.

Local Storage

ph_session_id
Stores the current session ID to maintain session continuity across page loads.
ph_distinct_id
Stores the unique identifier for the user to maintain consistent user tracking across page loads.
ph_opt_out
Indicates whether the user has opted out of PostHog tracking.
ph_session_recording_enabled
Indicates if session recording is currently active for the user's browser session.
ph_next_event_queue
Temporarily stores events to be sent to PostHog servers, ensuring data persistence across page loads before transmission.

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 Size156.74 KB
Load Time516.17ms

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
c17a76e3157314f32ce9027b0e6aaf42b5998c665ba12910fec48fef26b5d9c4

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script, `posthog-recorder.js`, is a core component of the PostHog platform, specifically designed to capture and recreate user sessions on a website. When integrated, it records a detailed stream of user interactions, including mouse movements, clicks, scrolls, form inputs, and changes in the Document Object Model (DOM). This data is then transmitted to PostHog's servers, allowing website administrators and developers to visually replay user sessions as if watching a video. The script operates by listening to various browser events and DOM mutations, meticulously collecting information about how a user navigates and interacts with a page. This includes capturing the visual state and content, which is crucial for accurate session reconstruction. The primary goal is to provide deep insights into user behavior, identify usability bottlenecks, diagnose technical issues, and improve overall user experience by offering a direct visual representation of customer journeys. Data captured can be sensitive, so PostHog offers features for masking specific elements or data fields to ensure privacy compliance. It typically works in conjunction with the main PostHog analytics library, leveraging its context for user identification and event dispatching. The recorded data is usually buffered and sent in batches to optimize network performance, ensuring a minimal impact on the website's loading speed and responsiveness.

Key Features

Core functionalities and capabilities of this resource

  • Session Replay
  • User Interaction Tracking
  • DOM Recording
  • Heatmaps
  • Visual Debugging
  • User Behavior Analytics
  • Data Masking
  • Network Request Capture
  • Console Log Capture

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation