This page describes configuration and hosting options for the JavaScript Agent. 

Configure the JavaScript Agent

To configure the JavaScript Agent in the Controller:

  1. Go to a browser application. 
  2. In the left-hand panel, go to Configuration Configure the JavaScript Agent
  3. Select a hosting option.

  4. Customize the code snippet in Step 2: Advanced settings (Optional)

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

  1. From Controller Admin, go to Controller Settings.
  2. For the values of settings eum.jsagent.cdn.host.http and eum.jsagent.cdn.host.https, enter the URLs where the JavaScript Agent files are being hosted.
  3. 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:

  1. From the Controller Admin, go to Controller Settings.
  2. For the values of settings eum.jsagent.cdn.host.http and eum.jsagent.cdn.host.https, enter the URLs where the JavaScript Agent files are being hosted.
  3. 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:

See Overview of Injection Types for differences between the injection methods.