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:
- Proxy agent code and analytics data
- Set up alerts
- Configure APDEX and geography settings
- Filter domains and sub-domains
- Filter AJAX requests
- Group data by URL patterns
- Obfuscate Data
- Rename browser apps
- Disable browser monitoring
- Delete a browser app
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:
- Go to one.newrelic.com > All capabilities > Browser and select an app.
- 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.