Overview
LogRocket is a session replay and product analytics platform used by SaaS and e-commerce teams. It records full user sessions including DOM snapshots, network requests, and console logs to help engineers reproduce bugs. It also provides performance monitoring and feature usage analytics.
What This Script Does
The LogRocket SDK captures detailed session data: DOM mutations, mouse movements, clicks, scrolls, network requests (XHR/fetch), console output, and JavaScript errors. It sets cookies and uses localStorage to identify returning users and link sessions. Recorded sessions are transmitted to LogRocket servers where they can be replayed as video-like reconstructions. The script continuously streams data during the user's session, generating significant outbound network traffic.
Consent & Compliance
LogRocket falls under analytics and functional consent categories. It collects behavioral data that constitutes personal data under GDPR (IP addresses, session recordings of user interactions, form inputs). Under GDPR and ePrivacy, session replay tools require explicit opt-in consent because they access the user's device (cookies/localStorage) and process personal data far beyond what is strictly necessary. CCPA classifies this data collection as a sale/share if LogRocket processes data for its own purposes.
Should You Block This Without Consent?
Yes. Session replay captures extensive personal data including everything the user does on the page. This is non-essential tracking that requires informed opt-in consent under GDPR/ePrivacy. Block until the user consents to analytics.
Consent Categories
Also Known As
Industries
Tracked Domains (4)
logrocket.comAnalyticscdn.lr-in.comAnalyticscdn.lr-ingest.comAnalyticscdn.lr-in-prod.comAnalyticsFrequently Asked Questions
Does LogRocket require consent to record user sessions?
Yes. LogRocket records full user sessions including DOM snapshots, network requests, and console logs. As an analytics platform that captures detailed behavioral data, it requires user consent under GDPR and CPRA before session recording can begin on visitors from applicable jurisdictions.
What information does LogRocket capture during a session?
LogRocket captures DOM mutations, mouse movements, clicks, network request payloads, console errors, and performance metrics. It stores session replays linked to user identifiers. It may also set cookies or use local storage to persist session identifiers across page loads.
How does ConsentStack integrate with LogRocket for consent management?
ConsentStack prevents LogRocket from initializing until the visitor consents to analytics tracking. This ensures no session data is captured without permission, protecting user privacy and keeping your implementation compliant with data protection regulations across multiple jurisdictions.
Related Vendors
Manage consent for LogRocket
ConsentStack automatically detects and manages LogRocket trackers so your site stays compliant with global privacy regulations.
