Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@adardesign
Created December 17, 2012 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adardesign/c7a316972128250d278c to your computer and use it in GitHub Desktop.
Save adardesign/c7a316972128250d278c to your computer and use it in GitHub Desktop.
// Google Conversion -
document.write = function(node){ // exactly what document.write should of been doing..
$("body").append(node);
}
window.google_tag_params = {
prodid: pageId,
pagetype: pageTypes[pageType] || "",
value: "234324342"
};
window.google_conversion_id = 2324849237;
window.google_conversion_label = "u38234j32423j432kj4";
window.google_custom_params = window.google_tag_params;
window.google_remarketing_only = true;
$.getScript("http://www.googleadservices.com/pagead/conversion.js")
.done(function() {
// script is loaded.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment