var etScript,etEmbed={write:function(e,t){var c=document.getElementsByTagName("head").item(0);c&&((etScript=document.createElement("script")).type="text/javascript","string"==typeof t&&t.length>0&&(etScript.charset=t),etScript.async="async",etScript.defer="defer",etScript.src=e,c.appendChild(etScript))},call:function(e){document.charset&&(e+="&charset="+this.escape(document.charset)),this.write(e,"UTF8")},escape:function(e){if("function"==typeof encodeURIComponent)return encodeURIComponent(e);e=encodeURI(e);var t=[",","/","?",":","@","&","=","+","$","#"],c=["%2C","%2F","%3F","%3A","%40","%26","%3D","%2B","%24","%23"];for(i in t)e=e.replace(t[i],c[i]);return e}}; var etUrl = '/tag/store?aid=05a2ca8b7317b3b53a7875fa453ec2e4&gdpr_consent=0&page=home'; var deviceType = ''; etUrl += '&referrer='; if (typeof(document.referrer) == "string") { etUrl += etEmbed.escape(document.referrer); } etUrl += '&path=' + window.location.pathname; var etWinLoc = window.location.toString().split('?')[1]; if (typeof(etWinLoc) != 'undefined') { var etParArr = window.location.toString().replace('#', '&').split('?')[1].split("&"); var etPar; for (var etI = 0; etI < etParArr.length; etI++) { etPar = etParArr[etI].split("="); if (etPar[1] == 'undefined' || etPar[1] == 'null') { etPar[1] = ''; } etUrl += '&' + etPar[0] + '=' + etPar[1]; } } var etParArrHash = window.location.toString().split("#"); var etParHash; for (var etIHash = 0; etIHash < etParArrHash.length; etIHash++) { if (etIHash != 0) { etParHash = etParArrHash[etIHash].split("="); if (typeof(etParHash[1]) == 'undefined' || etParHash[1] == 'undefined' || etParHash[1] == 'null') { etParHash[1] = ''; } etUrl += '&' + etParHash[0] + '=' + etParHash[1]; } } etEmbed.call('https://tck.elitrack.com' + etUrl);