Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: heading change



For manual injection, you download the JavaScript Agent and include it in the header of the web pages for which you want to collect Browser RUM data.


If your installation connects Browser RUM to a server-side application that is also instrumented, we recommend you also use assisted injection to add a footer to your pages. Manual injection gives the server-side agent the ability to write data only to the header of the page as it is being constructed by your web application. Server-side business transaction information is sometimes not available until after the header has already been written, so using a footer can ensure that the information is captured. See Getting Full Timing Data for Associated Business Transactions for more information.



Download and Include the Agent

You configure manual injection from the JavaScript Instrumentation tab of the Browser RUM configuration screen.

To use the same downloaded agent for multiple applications, or to use a cloud-hosted version of the main agent file, adrum.js, instead of downloading it, see Options in Using Manual Injection for the Browser RUM JavaScript Agent.

Access the manual injection panel

  1. Open the EUM application in which you are interested.

  2. From the left navigation menu, select Configuration. 

  3. Click the Web Javascript Instrumentation tab.

  4.  Scroll down to the Instrument your HTML pages with the JavaScript Agent panel.

Inject the JavaScript Agent for Browser Monitoring

  1. Click Download the JavaScript Agent.
  2. Click Save to File to save it.
    The name of the saved file should be "adrum.js".Save it where you save other assets, such as images and CSS files, for the page into which you are injecting.  If you have a single code base hosting multiple domains, you need to host adrum.js in each domain.
  3. To include the JavaScript Agent in your page, copy the line in the text field in the second step and paste it into the header, right after the <head> tag and any <meta> tags, of the pages that you want to monitor.  Making sure that the JavaScript Agent loads immediately improves timing accuracy.
    (info) If your page has <meta> tags, place them right after the <head> tag and then add the agent line.
    You will get Browser Monitoring metrics for all pages in which you include this line. If you later decide that you do not want metrics for the page, remove the line.
  4. Click Save in the configuration screen.