Browser monitoring includes strict security measures to provide a robust, standalone product with browser monitoring features. Before you install the browser agent, make sure your system meets these requirements.
Want to try out our browser monitoring agent? Create a New Relic account... It's for free, forever! No credit card required.
Basic requirements
To report data to browser, your application must at a minimum meet two basic requirements:
- The traffic to the application must be from clients able to load and execute browser JavaScript code and set cookies.
- Clients accessing the application must be able to send data to New Relic through HTTP requests. HTTPS is required for browser Pro features.
Important
Browsers that subscribe to a disconnect list or that use content filtering extensions such as AdBlock may not be able to send data to New Relic. For example, if you are using the Enhanced Tracking Prevention disconnect list for Mozilla Firefox 69.0 or higher, you will need to change the default configuration.
Most typical browser applications meet these requirements. However, browser applications in restricted environments may have difficulty reporting data to New Relic; for example:
- Hybrid mobile applications
- Applications installed on unusual hardware, such as point-of-sale terminals or consumer appliances
For more information, review the instrumentation for browser monitoring documentation, and verify end-user network access.
Browser types
The browser agent officially supports the following browser versions:
- Chrome (previous 10 versions)
- Safari (previous 10 versions)
- Firefox (previous 10 versions)
- Edge (previous 10 versions)
Instrumentation and specific features may be compatible with other browsers or versions.
The user interface is compatible with New Relic's supported browser versions.
Exceptions | Comments |
---|---|
Paint timings | The
|
AJAX | AJAX timing features are not available with:
|
|
|
Session traces | Session traces are reported only from browsers that support the Resource Timing Specification. |
SHA-256 | New Relic can only monitor browsers that are compatible with SHA-256. |
Important
When you use browser monitoring with cookies, New Relic's cookies are a third-party cookie on your site, and may not store or work on certain web browsers used by your visitors. See the applicable browser's websites for details about their compatibility with third-party cookies.
APM agents
You can deploy the browser agent for apps monitored by APM, or you can deploy the browser agent for your standalone apps. For more information, see the installation procedures.
If you're deploying browser for an app using APM, make sure your agent supports browser monitoring:
- Go: Version 2.5.0 or higher
- Java: Version 3.4.0 or higher
- .NET: Version 2.20.25.0 or higher
- Node.js: Version 1.4.0 or higher
- PHP: Version 4.4.5.35 or higher
- Python: Version 2.10.1.9 or higher
- Ruby: Version 3.7.0.177 or higher
Supported frameworks and libraries
The browser agent collects data on sites that use many popular frontend frameworks and libraries. The browser agent monitors low-level JavaScript objects and methods, which may be wrapped or modified by other libraries and frameworks. As a result, the level of detail collected may vary from one framework to the next, and conflicts may occur with any library that modifies native JavaScript mechanics.
Compatibility exceptions | Comments |
---|---|
Zone.js | If you're using AngularJS and you want to use our SPA monitoring features, note that Zone.js versions 0.6.18 to 0.6.24 are not compatible with browser. In all cases, the browser agent must be loaded before Zone.js to avoid errors. |
Cypress.io | Browser is unable to properly instrument the
This will only affect customers running tests with the browser agent present in their code. Production applications should not be affected. |
html2pdf.js | This library is not compatible with our Pro+SPA agent due to the way this library wraps promises. If you're using this library, we recommend selecting the Pro agent type. |
MooTools | The browser agent is not compatible with MooTools versions older than |
Content Security Policy (CSP) considerations
In order to obtain accurate browser performance metrics, browser requires the use of a small, inline JavaScript snippet. New Relic carefully reviews the inline JavaScript to prevent Cross-Site Scripting (XSS) and other potential vulnerabilities.
Content Security Policy Level 2 adds restrictions to the types of JavaScript allowed, such as inline scripts. It also limits which domains can load scripts during page load.
Important
If your website does not allow any third-party hosted JavaScript to run, you must request a CSP exception via your organization’s standard procedures in order to install the browser monitoring agent.
When requesting a CSP exception, follow your organization's standard procedures to contact your web or security team.
The browser JavaScript agent requires the following CSP exceptions in order to run properly. Alternatively, you can add all of these exceptions to the fallback default-src
directive (instead of script-src
and connect-src
).
Important
In older browsers image-src
or requests for images can be a possible exception that should be accounted for.
CSP exception | Comments |
---|---|
| Add to the |
| Add to the |
| The agent attempts to send payloads to subdomains of
|