Created
May 10, 2019 14:26
-
-
Save yllus/7eb2b71114d5e7d8f2469d5d420377fa to your computer and use it in GitHub Desktop.
CFL AdRoll Pixel JavaScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
adroll_adv_id = "VCFLFD3OXNHUHFWE65TTX6"; | |
adroll_pix_id = "4J6TAQVMYBHN5NUJU3YQOS"; | |
(function () { | |
var _onload = function(){ | |
if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return} | |
if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return} | |
var scr = document.createElement("script"); | |
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com"); | |
scr.setAttribute('async', 'true'); | |
scr.type = "text/javascript"; | |
scr.src = host + "/j/roundtrip.js"; | |
((document.getElementsByTagName('head') || [null])[0] || | |
document.getElementsByTagName('script')[0].parentNode).appendChild(scr); | |
}; | |
if (window.addEventListener) {window.addEventListener('load', _onload, false);} | |
else {window.attachEvent('onload', _onload)} | |
}()); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment