Page History
...
Section | ||||
---|---|---|---|---|
|
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
Open the EUM application in which you are interested.
From the left navigation menu, select Configuration.
Click the Web Javascript Instrumentation tab.
Scroll down to the Instrument your HTML pages with the JavaScript Agent panel.
Inject the JavaScript Agent for Browser Monitoring
- Click Download the JavaScript Agent.
- 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. - 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.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. - Click Save in the configuration screen.
...