Cookie collection and session tracking

Browser monitoring's page load timing feature can track sessions by using cookies that contain a simple session identifier.

How it works

Here is the basic process for session tracking:

  1. A session begins when a user visits a website where New Relic's browser monitoring is installed and cookie collection is enabled.
  2. After the user's browser is opened, our browser monitoring script sets a simple cookie identifying the session.
  3. The script then reads the cookie on subsequent page loads.
  4. The same session will continue until the user's browser is closed.

Session tracking will not work properly in these situations:

  • If users have cookies disabled in their browser
  • If the browser is configured to not allow information associated with the New Relic cookie to be sent with the request from the monitored site

Enable or disable cookie collection

At New Relic, we take data privacy seriously. By default, we do not retain any personal data collected by our Browser agent, and you can control session tracking. To turn cookie collection on or off for your app:

  1. Go to one.newrelic.com > Browser > (select an app) > Settings > Application settings.
  2. In your app's Privacy settings, toggle Cookie collection.

For more help

If you need more help, check out these support and learning resources: