Sign up to join the monthly giveaway, get the latest on sales, new releases and more …
/* Load Script function we may need to load jQuery from the Google's CDN */
/* That code is world-reknown. */
/* One source: http://snipplr.com/view/18756/loadscript/ */
var loadScript = function(url, callback){
var script = document.createElement("script");
script.type = "text/javascript";
// If the browser is Internet Explorer.
if (script.readyState){
script.onreadystatechange = function(){
if (script.readyState == "loaded" || script.readyState == "complete"){
script.onreadystatechange = null;
callback();
}
};
// For any other browser.
} else {
script.onload = function(){
callback();
};
}
script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
};
if (typeof Shopify.checkout === 'undefined') {
loadScript('https://www.googleadservices.com/pagead/conversion_async.js', function(){
console.log("Firing remarketing tracking!")
window.google_trackConversion({
google_conversion_id: 926288989,
google_custom_params: window.roihuntereasy_google_tag_params,
google_remarketing_only: true
})
});
}
/* ]]> */