Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Adwords Conversion
function adwords_conversion(google_conversion_id, google_value, google_conversion_label) {
var img = new Image();
img.src = 'https://www.googleadservices.com/pagead/conversion/' + google_conversion_id + '/?value='+google_value+'&label='+google_conversion_label+'&script=0';
img.height = 1;
img.width = 2;
document.body.appendChild(img);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.