By default, the JavaScript Agent chooses the same transport (protocol) used to load the base page, but you can configure the JavaScript Agent to use HTTPS for a more secure network connection.
When configured to use HTTPS, the JavaScript Agent will use HTTPS to do the following:
fetch adrum-ext.js
fetch geolocation data
send CORS beacons
send image beacons
Set the useHTTPSAlways Flag
Following the code example below, you can set the boolean useHTTPSAlways to true to configure the JavaScript Agent to always use HTTPS.