Overview
New Relic is an observability platform used by engineering and DevOps teams for application performance monitoring (APM), infrastructure monitoring, and real-user monitoring (RUM). The New Relic Browser Agent is injected into web pages to collect client-side performance telemetry including page load timing, JavaScript error rates, AJAX call latency, and Core Web Vitals. This data flows into New Relic's observability platform for dashboards, alerting, and incident response — it is purely an operational tool with no advertising or behavioral profiling function.
What This Script Does
Browser Agent Installation
- Injected into pages either via a
<script>tag in<head>or via New Relic's APM agent server-side injection - Script loader:
https://js-agent.newrelic.com/nr-<version>.min.js(served from New Relic's CDN) - Also delivered via
bam.nr-data.netfor some configurations
Performance Data Collection
- Page load timing: captures DNS lookup, TCP connection, TTFB (Time to First Byte), DOM interactive, and window load event timings using the Navigation Timing API
- Core Web Vitals: measures LCP (Largest Contentful Paint), FID/INP (Interaction to Next Paint), and CLS (Cumulative Layout Shift)
- Resource timing: monitors load times and transfer sizes for every script, stylesheet, image, and font on the page
- AJAX monitoring: intercepts
XMLHttpRequestandfetchcalls to measure latency, payload sizes, and error rates for API calls - JavaScript errors: captures uncaught exceptions and promise rejections with full stack traces for debugging
Session Traces
- Records a timeline of browser events (resource loads, AJAX calls, user interactions) for sessions that are sampled for trace collection
- Session traces help correlate a specific user's experience with backend performance issues
- Sampling rate is configurable; not all sessions are traced
Data Transmitted
- Performance metrics batched and sent to
bam.nr-data.net(New Relic's data ingest endpoint) - Payloads include: page URL, timing data, error messages, AJAX endpoint URLs and statuses
- IP addresses are received by New Relic's ingest infrastructure but are typically not stored in the final telemetry record
- No cookies are set by the New Relic Browser Agent for tracking purposes
What New Relic Does NOT Collect
- No advertising identifiers or cross-site tracking cookies
- No behavioral profiles or retargeting data
- No form field values or user input content (by default)
- No personally identifiable information beyond what is incidentally included in page URLs
Consent & Compliance
Consent category: Analytics (performance monitoring)
New Relic Browser Agent collects technical performance telemetry for operational purposes. Under GDPR, the processing of performance data (including IP addresses that pass through New Relic's ingest) requires a lawful basis — legitimate interest (Article 6(1)(f)) is appropriate for site reliability monitoring. The ePrivacy Directive is not clearly triggered since the agent does not set cookies. Under CCPA, performance telemetry collected for operational purposes does not constitute a sale or sharing of personal information. New Relic is US-based and participates in the EU-US Data Privacy Framework.
Should You Block This Without Consent?
No. New Relic is a performance monitoring tool that collects purely technical telemetry for operational reliability. It sets no tracking cookies, performs no behavioral profiling, and has no advertising function. It is appropriately classified as strictly necessary analytics supporting site operations.
Is New Relic GDPR compliant?
New Relic typically loads analytics 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 New Relic 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 New Relic, not on New Relic itself.
Consent Categories
Also Known As
Industries
Tracked Domains (2)
New Relic's trackers are common, seen on about 3% of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.
nr-data.netAnalyticsnr-data.net is an analytics domain operated by New Relic, used to measure visits, sessions, and on-site behavior. Seen on about 3% of scanned sites.
newrelic.comAnalyticsnewrelic.com is an analytics domain operated by New Relic, used to measure visits, sessions, and on-site behavior. Seen on about 3% of scanned sites.
Frequently Asked Questions
Related Vendors
Manage consent for New Relic
ConsentStack automatically detects and manages New Relic trackers so your site stays compliant with global privacy regulations.