iamb
Well-Known Member
Does anyone know how to achieve this please?
I am trying to track clicks on my site as conversions on google ads.
I mean i am sending google search ad clicks to my website. Then when they click on a button, I would like that action to be registered in google ad as a conversion.
I have followed google's instructions by installing all the relevant codes on my page but i am stuck with how to assign the onclick event to my button.
Here is the button I am trying to assign a code to. I am using Thrive Architect.
Here is the code google suggest using:
<button onclick="return gtag_report_conversion(‘http://example.com/your-link')">Submit</button>
When i do so, it creates a tiny button with a black background.
Does anyone know how to create the big green button as above (responsive) and assign the onclick event code?
Thank you for your help.
I am trying to track clicks on my site as conversions on google ads.
I mean i am sending google search ad clicks to my website. Then when they click on a button, I would like that action to be registered in google ad as a conversion.
I have followed google's instructions by installing all the relevant codes on my page but i am stuck with how to assign the onclick event to my button.
Here is the button I am trying to assign a code to. I am using Thrive Architect.
Here is the code google suggest using:
<button onclick="return gtag_report_conversion(‘http://example.com/your-link')">Submit</button>
When i do so, it creates a tiny button with a black background.
Does anyone know how to create the big green button as above (responsive) and assign the onclick event code?
Thank you for your help.