Cardinal Path’s response to COVID-19 Cardinal Path is sharing all we know to help marketers during COVID-19.  Learn more.

Original posted on Erik Vold's Blog

This is really just a technique to convert the provided Google AdWords Conversion Tracking Code into something more a little more useful.

Take the conversion code provided, usually something like:

var google_conversion_id = 1234567890; var google_conversion_language = "en_US"; var google_conversion_format = "1"; var google_conversion_color = "666666"; if(1){ var google_conversion_value = 1; } var google_conversion_label = "Purchase"; ]]>

And convert it into this:

var uniqueConversionFunctionName = function(){ var image = new Image(1,1); image.src = “”; return; } ]]>

Notice that in the second block of code above, I've taken the source of the image which was provided by Google in the first block of code's noscript tag.

That's it! with this your Google AdWords conversion no longer has to be a landing page, it can be a button click event, or whatever else you want it to be.


State of Digital Marketing Analytics

The 2020 State of Digital Marketing Analytics examines the marketing technology that supports the world's most successful enterprises and highlights the challenges and strategies for navigating the new normal..