Running the latest version of New Relic Browser ensures you can access all Browser features and enhancements. To update to the latest version, check your version number, then follow the steps to update an APM-managed installation or to upgrade a copy/paste installation.
Check your version number
To verify your New Relic Browser version number:
- Search the page source for
The numbers that follow
nr- are your current version. For example,
js-agent.newrelic.com/nr-593.min.js indicates you are running version 593 of the Browser script. The Pro+SPA agent will have the format
To verify the latest version of the New Relic Browser script loader:
- Go to https://js-agent.newrelic.com/nr-loader-full-current.min.js .
- Search for
js-agent.newrelic.com/nr-, then note the numbers that follow
If the latest version number is higher than the number of the version you are currently running, update your Browser agent.
Check deployment method
If the command returns
1, then your Browser agent used the copy/paste method.
Update your APM-managed installation
To ensure the new script registers, you may need to clear your cache. For more information, follow the troubleshooting procedures to manually check and clear the cache.
Update your copy/paste installation
- If you have a standalone installation with a few applications, you can retrieve the snippet from the UI, and then replace it with the new version.
- If you have many applications, you can use the REST API or the loader endpoint to automate the update process.
Do not simply change the version number in the existing snippet. This can result in incomplete data collection. For best results after you use any of the following options, always update the agent.
- Retrieve the snippet from the UI
Download the latest version of the snippet: Go to rpm.newrelic.com/browser > (select an app) > Application settings.
This option is only available for standalone installations.
- Extract the snippet with the REST API
To update the snippet using the New Relic REST API, follow the process for viewing a specific Browser app. The
This may be a good solution if you have many applications to manage, or if your Browser app is linked to an APM app.
- Update using the loader endpoint
To update the snippet from the New Relic loader endpoint, use the Browser Pro + SPA endpoint, the Browser Pro endpoint, or the Browser Lite endpoint. These endpoints always point to the latest version of the script snippet.
Recommendation: Use the Browser Pro or Pro + SPA loaders regardless of your Browser subscription level. These loaders are compatible with both the Pro and Lite subscription levels.
These loader endpoints are generic and do not include your specific configuration data. To add your configuration data to the loaders: