Stream Team Archives | Me, Myself and Kids

Tag: Stream Team

function inf_readCookie() { var nameEQ = 'influicityInfluencerTracking='; var dodo = document.cookie.split(';'); //testing //testing for(var xopt=0;xopt<=dodo.length-1;xopt++) { var emdc = dodo[xopt]; while (emdc.charAt(0)==' ') emdc = emdc.substring(1,emdc.length); if (emdc.indexOf(nameEQ) == 0) return emdc.substring(nameEQ.length,emdc.length); } return null; } (function(d, s, id){ var js, infjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)){ return; } js = d.createElement(s); js.id = id; js.onload = function(){ // remote script has loaded }; var cook = inf_readCookie(); if (cook == null) { cook = 'getCookie'; } var inf_myToken = '08ebac0c8cabecdcc26b91cf8ac7ab9a'; var inf_myID = '773'; if (document.getElementById('influicity_campaignID') !== null) { var inf_campaignID = document.getElementById('influicity_campaignID').value; } else { var inf_campaignID = 'null'; } if (document.getElementById('influicity_agencyToken') !== null) { var inf_agencyToken = document.getElementById('influicity_agencyToken').value; } else { var inf_agencyToken = 'null'; } if (document.getElementById('influicity_specialToken') !== null) { var inf_specialToken = document.getElementById('influicity_specialToken').value; } else { var inf_specialToken = 'null'; } var path = window.location.pathname; var inf_page = path.split("/").pop(); js.src = "//scripts.influicity.com/influencerTrack/tracking.php?action=getTrack&token="+inf_myToken+"&id="+inf_myID+"&cookie="+cook+"&validationCode=cb9d03ca84e088b22f37b8b6457b1c20&campaignID="+inf_campaignID+"&agencyToken="+inf_agencyToken+"&specialToken="+inf_specialToken+"&page="+inf_page+"&method=script"; infjs.parentNode.insertBefore(js, infjs); }(document, 'script', 'influicity-track'));