• /
  • EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

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 best 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. Review our compatibility list for known conflicts with other libraries that your site may be using.

  5. 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.