Home>Support>AdWords conversion to button

AdWords conversion to button

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

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 11 months ago Alex S
    Hi, I Work Here

    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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More