Hello,
I am installing the button click code for Google Adwords conversion tracking (Step 3) and was wondering how I can insert it into the code for button widgets? I guess this could be more generally asked as is there a way to edit the html of a page built with Page Builder?
Please confirm that I install the event tag (Step 2) with a meta data plugin as well. My understanding is that meta data is the code between the tags.
Thank you for your time!
Suraj
Hi Suraj,
Yes this is possible. Please pen the SiteOrigin Button widget you’re working with and open the Other attributes and SEO settings group. Add your tracking code to the onclick. You can add the rest of the code (the “meta” code) through a plugin like Insert Headers and Footers.
There isn’t, no.
Alex, thanks for the response!
Would I add it as onclick=”return gtag_report_conversion()” or “return gtag_report_conversion()”?
Have a great day!
Suraj
Hi Suraj,
Set it to gtag_report_conversion()