Where do I add onclick code to contact form so I can count lead conversions?

LauraBM
Visitor
1 0 0

Hi,

I am running some Google Ads to generate leads from a contact form. In order to register conversions the instructions in Google Ads say I need to add this onclick code to the submit button in the contact form. I can't see how to do this though.

 

<button onclick="return gtag_report_conversion('http://example.com/your-link')">Submit</button>

 

I have looked in the Contact Form include, but I can't see where I would add the code. I am using Turbo theme from Out of the Sandbox.

 

Can anyone advise me where I need to put this code to track the contact form conversions?

Many thanks,

Laura

Replies 0 (0)