Hello,
I use a SiteOrigin Contact Form on my contact page, which is build with Page Builder.
To make use of AdWords conversion tool, i need to be able to add the followig code: onclick=”return gtag_report_conversion()” to the Send button.
Is there anyway possible for me to do this?
If i use the ‘Revert to Editor’ option, add the code and change back to Page Builder, my page is completely messed up.
Thanks for your advice!
Sincerely,
Bert
Hi Bert,
Unfortunately, there’s no direct way of doing this through an onclick. Instead, you’ll need to use JavaScript directly (something like this). You can add the HTML to your page by using a custom HTML widget.