---
title: Configure browser agent data collection
source: https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/browser-app-settings-page
---

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 [#UI]

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

-   [Proxy agent code and analytics data](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/proxy-agent-requests/)
-   [Set up alerts](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/view-browser-apps-alert-information/)
-   [Configure APDEX and geography settings](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/browser-settings-ui-options-apdex-geography/#apdex-settings)
-   [Filter domains and sub-domains](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/monitor-or-block-specific-domains-subdomains/)
-   [Configure AJAX requests](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/configure-ajax-request-events/)
-   [Group data by URL patterns](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/group-browser-metrics-urls/)
-   [Obfuscate Data](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/obfuscate-browser-agent-data/)
-   [Rename browser apps](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/rename-browser-apps/)
-   [Disable browser monitoring](https://docs.newrelic.com/docs/browser/new-relic-browser/installation/disable-browser-monitoring/)
-   [Delete a browser app](https://docs.newrelic.com/docs/apm/new-relic-apm/maintenance/remove-applications-new-relic/#remove)

### Browser session storage [#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. \*/

> #### ⚠️ IMPORTANT
>
> From browser agent version 1.303.0 and onwards, the **Access local storage** toggle is being removed from the UI to streamline our privacy and consent features.
>
> -   The recommended way to manage browser agent data collection and user consent is with the consent mode config. For more information, refer to [consent docs](https://docs.newrelic.com/docs/browser/new-relic-browser/configuration/consent-mode/).
>
> -   If you currently have the **Access local storage** toggle set to `OFF`, you will find that the consent mode, session replay, and session trace toggles are also inactive. To enable these features, you must set the `cookie_enabled` attribute to `true` via [NerdGraph API](https://docs.newrelic.com/docs/apis/nerdgraph/examples/browser-monitoring-config-nerdgraph/#configure-browser-application). This action will re-activate the toggles in the UI, allowing you to properly configure consent Mode, session replay, and session trace.

/\* To get to the \*\*Application settings\*\* page:

1\. Go to \*\*\[one.newrelic.com > All capabilities](https&#x3A;//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 [#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](https://docs.newrelic.com/docs/browser/new-relic-browser/browser-apis/using-browser-apis/) to get started.
