Well, the original code (Dont bother reading it that's not what is important)
That works fine... but i soon as a separate some strings,
It is the last four strings, one at a time it says Syntax error, unexpected string ending. It does this up until line 1. Is there a code to just stop it and make the string invisible?
Code:
data["conquer-requiem"].push(27,740[i]["loop"]);
}
}
window["optimizely"].push(["storeThirdPartyData", "bluekai", data]);
}
}
}
, "dataFetchMethod": "custom_javascript", "id": "bluekai", "projectSettings": {}}] };
function f(b){var d="optimizely_"+b;window[d]=function(a){window.optimizely.push(["storeThirdPartyData",b,a]);window[d]=void 0}}
optimizelyThirdParty.fetchThirdParty=function(){window.optimizely=window.optimizely||[];for(var b=0,d=optimizelyThirdParty.dataProviders.length;b<d;b++){var a=optimizelyThirdParty.dataProviders[b],c=a.dataFetchMethod;if("callout"===c){f(a.id);var a=a.url+(-1==a.url.indexOf("?")?"?":"&")+a.cbParam+"="+("optimizely_"+a.id),c=document.head||document.getElementsByTagName("head")[0]||document.documentElement,e=document.createElement("script");e.type="text/javascript";e.async=!0;e.src=a;c.insertBefore(e,
c.firstChild)}else"custom_javascript"===c&&(a.functions&&a.functions.fetchData)&&a.functions.fetchData(a)}};
optimizelyThirdParty.fetchThirdParty();
geolocation = {};
geolocation.requestGeo=function(c){geolocation.cdn3Requested=+new Date;var b=document.head||document.getElementsByTagName("head")[0]||document.documentElement,a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src=c;b.insertBefore(a,b.firstChild)};
Code:
data["conquer-requiem"].push(27,740[i]["loop"]);
}
}
window["optimizely"].push(["storeThirdPartyData", "bluekai", data]);
}
}
}