• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Configure browser agent data collection

If you need to customize how the browser agent collects data, you have two methods: configure the UI, or use APIs to customize the agent instrumentation.

UI configurations

On the Application settings page, you can make these configurations to your setup:

Browser session storage

We've consolidated the control for collecting session traces and session replay data within the browser agent. You can now manage all session-level data directly from the Access browser local storage toggle on this settings page.

  • Access browser local storage toggle: This unified control determines how session-level data (including session IDs and other session-level attributes) is collected.
    • When turned ON (default): The New Relic browser agent uses the browser's persistent storage mechanisms to collect session trace and session replay data.
    • When turned OFF: The New Relic browser agent immediately halts its use of the browser's persistent storage. This action prevents the collection of all session trace and session replay data, giving you direct control over the browser's handling of session-related information and enhancing your ability to meet data privacy and compliance requirements.

To get to the Application settings page:

  1. Go to one.newrelic.com > All capabilities > Browser and select an app.
  2. On the left navigation, scroll down to Settings and click Application settings.

Browser APIs

You can also customize your browser agent instrumentation to capture custom traces and events, report specific errors tailored to your needs, and fine-tune data harvest timing for optimal performance. See Using browser APIs to get started.

Copyright © 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.