Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hello,
How can I add Google Ads Conversion tracking code snippet when using a contact form sidebar widget? I would like the conversion to be tracked once the submit button is clicked.
The website is: http://pdhtorontolawyer.ca/
Theme: Vantage
In this link https://siteorigin.com/widgets-bundle/contact-form-widget/ I see that “onclick” field can be used for tracking. Do I add all (Global Site Tag + event Snippet)of the code snippet here?
Thanks!
Hi, thanks for reaching out.
The global site tag should be inserted on all pages, you could do that using a plugin like https://wordpress.org/plugins/insert-headers-and-footers/. The event tracking would be inserted into the onclick field, for example
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
.