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

Update JavaScript for session replay

(For copy/paste deployed agents) Manually update the JavaScript snippet

If you use the copy/paste method to deploy your browser agent, you may need to manually update the JavaScript snippet to include session replay capabilities. This update ensures your application is correctly configured to capture and store replay data.

To update your agent code:

  1. Go to the Application Settings page and copy the JavaScript snippet.

    Screenshot of the application settings page.
  2. Paste it in your code where the old snippet was.

  3. Deploy your app.

Copyright © 2025 New Relic Inc.

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