The Ascend snippet is available using either the HTTP or HTTPS protocols. 

The default integration of the Ascend script tag is protocol relative:

<script type="text/javascript" src="//media.ascend.ai/c/XXXXXXXXX-1/ascend.js"></script>


Since the protocol is omitted from the Ascend asset, it will default to whatever protocol the browser is using to access the current page:

  • If the browser is viewing that current page through HTTPS, then it’ll request the Ascend snippet with the HTTPS protocol
  • If the browser is viewing that current page in HTTP, then it’ll request the Ascend snippet with the HTTP protocol

This protocol relative integration is done primarily for universal compatibility, keeping all your asset requests within the same protocol. If not, some versions of some browsers (e.g. Internet Explorer) may throw an error message saying: 

“This Page Contains Both Secure and Non-Secure Items.” 

However, if this level of compatibility is not of concern, we would always recommend prepending the “https://“ to the Ascend script tag, since using SSL is encouraged for everyone. 

Did this answer your question?