• English日本語한국어
  • Log inStart now

Browser JavaScript injection causes problems with a page

Problem

Our is inserting its JavaScript instrumentation in a location that causes problems with markup or page load.

Solution

New Relic agents attempt to inject the JavaScript in the optimum location, but if you encounter problems, try these troubleshooting steps.

  1. Verify whether browser monitoring is the cause by disabling browser monitoring.

  2. If disabling browser monitoring solves the problem, investigate the source code for the page. Re-enable browser monitoring and check for the following possible issues:

  3. Eliminate any conflicts you find by revising the page structure, disabling browser monitoring for that page, or switching to manually instrumenting via agent API for full control over script injection.

  4. If you encounter other situations, contact New Relic Support and provide an accessible link to your page or the source code for it. Ensure browser monitoring is enabled in your link or source code.

Copyright © 2024 New Relic Inc.

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