Related pages:

Your Rating:
16 rates

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.

    <script type='text/javascript' charset='UTF-8'>
        (function(cfg) { 
            cfg.useHTTPSAlways = true;
        })(window['adrum-config'] || (window['adrum-config'] = {}));
    <script src='' type='text/javascript' charset='UTF-8'></script>
  • No labels