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.
Is LogRocket GDPR compliant?
LogRocket typically loads analytics and functional trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So LogRocket can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads LogRocket, not on LogRocket itself.
Consent Categories
Also Known As
Industries
Tracked Domains (4)
logrocket.comAnalyticslogrocket.com is an analytics domain operated by LogRocket, used to measure visits, sessions, and on-site behavior.
cdn.lr-in.comAnalyticscdn.lr-in.com is an analytics domain operated by LogRocket, used to measure visits, sessions, and on-site behavior.
cdn.lr-ingest.comAnalyticscdn.lr-ingest.com is an analytics domain operated by LogRocket, used to measure visits, sessions, and on-site behavior.
cdn.lr-in-prod.comAnalyticscdn.lr-in-prod.com is an analytics domain operated by LogRocket, used to measure visits, sessions, and on-site behavior.
Cookies LogRocket Sets (2)
_lr_uf_LogRocket session-replay user identifier; suffix encodes the app slug.
_lr_tabs_LogRocket cross-tab session coordination.
Frequently Asked Questions
Related Vendors
Manage consent for LogRocket
ConsentStack automatically detects and manages LogRocket trackers so your site stays compliant with global privacy regulations.
