Overview
Rollbar is an error tracking and monitoring platform that captures JavaScript exceptions in the browser and server-side errors in backend applications, providing developers with real-time alerting, stack traces, and contextual debugging data. It is used by engineering teams to detect, triage, and resolve production bugs faster. Rollbar focuses purely on application reliability — it does not engage in advertising, marketing analytics, or behavioral profiling.
What This Script Does
The Rollbar browser SDK (cdn.rollbar.com/rollbarjs/refs/heads/stable/rollbar.min.js) instruments the host application for error capture:
JavaScript error capture
- Attaches handlers to
window.onerrorandwindow.onunhandledrejectionto intercept unhandled exceptions and promise rejections - Captures the full error message, error type, and stack trace for each exception
- Instruments
console.errorcalls to optionally capture manually logged errors - Transmits error payloads to Rollbar's API (
api.rollbar.com/api/1/item/) in real time
Error context enrichment
- Each error payload includes: browser type and version, operating system, viewport dimensions, current page URL, and referral source
- The request object includes the HTTP method, headers, and query parameters of the page where the error occurred
- Rollbar's
transformandcheckIgnorehooks allow developers to filter out noise, anonymize data, or add custom context before transmission - Custom fingerprinting rules group similar errors across different stack trace variants
User context attachment
- Developers can call
Rollbar.configure({ payload: { person: { id, email, username } } })to attach user identity to error reports - When user context is set, each error report is linked to the authenticated user's record in Rollbar's dashboard for customer-specific debugging
- This is optional and depends on the developer's implementation
Telemetry capture
- Rollbar's telemetry feature captures a breadcrumb trail of browser events leading up to an error: DOM mutations, network requests, console logs, and navigation events
- This breadcrumb timeline helps developers reconstruct the user's path to reproducing the error
Consent & Compliance
- Category: Functional — error tracking is an operational tool for application reliability, not a behavioral analytics or advertising tool
- GDPR: Rollbar processes technical data (error logs, stack traces, browser metadata) for legitimate interests in operating a reliable application service. If user identity (email, user ID) is attached to error reports via
Rollbar.configure(), that constitutes personal data processing — a DPA should be in place and the privacy policy should disclose error monitoring tooling. - Data transfers: Rollbar is a US company headquartered in San Francisco. Error data is processed in the US. EU-US Data Privacy Framework applies. Rollbar provides a Data Processing Agreement for GDPR compliance.
- No ad tracking: Rollbar sets no advertising cookies, builds no behavioral profiles, and shares no data with advertising networks. Error payload data is used solely for application debugging.
- Cookies set: None — Rollbar does not set cookies. It uses an in-memory session UUID for grouping errors within a single page session, not a persistent cookie.
Should You Block This Without Consent?
No consent required. Rollbar is a functional error monitoring tool with no advertising or behavioral tracking purposes. It does not set persistent cookies and does not build cross-site profiles. Under GDPR and ePrivacy, error monitoring scripts used for legitimate operational purposes do not require consent. Disclose Rollbar in your privacy policy as a technical infrastructure processor.
Consent Categories
Also Known As
Industries
Tracked Domains (2)
rollbar.comFunctionalcdn.rollbar.comFunctionalFrequently Asked Questions
Does Rollbar require visitor consent?
No. Rollbar is a functional error monitoring tool with no advertising or behavioral tracking purposes. It does not set persistent cookies and does not build cross-site profiles, so it falls outside ePrivacy consent requirements.
What information does Rollbar capture and transmit?
Rollbar intercepts unhandled JavaScript exceptions and sends error payloads to api.rollbar.com including stack traces, browser type, OS, page URL, and optionally user identity if configured via Rollbar.configure() by the developer.
How does ConsentStack handle Rollbar?
ConsentStack classifies Rollbar as functional and loads it without requiring consent. It should be disclosed in your privacy policy as a technical infrastructure processor. ConsentStack does not block Rollbar based on visitor consent state.
Related Vendors
Manage consent for Rollbar
ConsentStack automatically detects and manages Rollbar trackers so your site stays compliant with global privacy regulations.