Streaming live at 10am (PST)

Adding onclick for Google Ads Conversions

I need to add this custom attribute to the the buttons on my site to track Google Ads conversions.

I have already read through everything I could find on the forum about this and it turns out in was once very easy to do, and then it wasn’t and then there were work arounds and java and things I don’t understand, and then they no longer work and the problem still remains, how to add the custom attribute to the buttons on the site:

onclick=“return gtag_report_conversion(‘https://www.thebookingbutton.com.au/properties/thisisthelocation’);”

Thanks to any legend who knows how?

You have to handle this with custom code. The jQuery .click() function would be an easy solution.

Read the 6th post by @cyberdave in this topic. Follow those instructions changing your trigger to match the button you want to use to report the conversion.

Thanks, It is a working solution, thumbs up.