Related pages: |
This page describes configuration and hosting options for the JavaScript Agent.
To configure the JavaScript Agent in the Controller:
Select a hosting option.
Customize the code snippet in Step 2: Advanced settings (Optional).
Click Save.
If you are using shared-hosting and do not want to use the default CDN, follow these instructions to provide your own CDN for only hosting the main JavaScript Agent file (adrum-[version].js)
:
eum.jsagent.cdn.host.http
and eum.jsagent.cdn.host.https
, enter the URLs where the JavaScript Agent files are being hosted.Confirm these URLs match the URLs in the JavaScript snippet you want to inject.
If you are self-hosting and do not want to use the default CDN, follow these instructions to provide your own CDN for hosting all of the JavaScript Agent files:
eum.jsagent.cdn.host.http
and eum.jsagent.cdn.host.https
, enter the URLs where the JavaScript Agent files are being hosted.Confirm these URLs match the URLs in the JavaScript snippet you want to inject.
After you configure the JavaScript Agent, inject the JavaScript snippet in your page HTML with one of these methods:
See Overview of Injection Types for differences between the injection methods.