Hi all,
I try to set up Adwords (Previous) conversion when someone clicks on a button.
After I pasted the conversion tracking tag, how can I implement the onclick code on the button that I want to track?
Adwords support: https://support.google.com/adwords/answer/6331304?authuser=0
"You’ll now need to add an onclick command directly to the code for the button or link that you want to track. The particular code that you use will depend on how the link or button is displayed on your site: as a text link, image or button:
-Add the code to a button: In the code below, replace “http://example.com/your-link” with the URL for your website or telephone link, and replace “Download now!” with your button text.
<button onclick="goog_report_conversion('http://example.com/your-link')" href="http://example.com/your-link">Download now!</button>
Thanks In Advance,
Ron