Related pages:
This page describes configuration and hosting options for the JavaScript Agent.
Configure the JavaScript Agent
To configure the JavaScript Agent in the Controller:
- Go to a browser application.
- In the left-hand panel, go to Configuration > Configure the JavaScript Agent.
Select a hosting option.
Customize the code snippet in Step 2: Advanced settings (Optional).
Click Save.
Configure Shared-Hosting
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)
:
- From Controller Admin, go to Controller Settings.
- For the values of settings
eum.jsagent.cdn.host.http
andeum.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.
Configure Self-Hosting
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:
- From the Controller Admin, go to Controller Settings.
- For the values of settings
eum.jsagent.cdn.host.http
andeum.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.
Next Steps
After you configure the JavaScript Agent, inject the JavaScript snippet in your page HTML with one of these methods:
- Manual Injection of the JavaScript Agent
- Automatic Injection of the JavaScript Agent
- Assisted Injection
See Overview of Injection Types for differences between the injection methods.