AdWords Conversion

3 replies · opened Mar 23, 2021

XxSkylineMar 23, 2021

Hello, I have to enter the AdWords conversion code in my form, on the following ticket you have already given the solution but more than two years ago and now, with the latest updates of your theme, the contact form code is not present in the function.js, where should I edit this file to track conversions?

http://support.semicolonweb.com/forums/topic/google-ads-conversion/

Where should I enter the following code?

gtag ('event', 'conversion', {
'send_to': 'AW-123456789 / aBcDEPv9Ju5sTT3sT'
});
SSemicolon WebSTAFFMar 23, 2021

Hello,

With Canvas 6, the structure of the JS Files have been changed. Now, you can simply use following JS Code at the bottom of the HTML Page:
[ch_pre type="js"]jQuery('#template-contactform').on( 'formSubmitSuccess', function(){
// Your JS Codes here
});[/ch_pre]

Simply replace #template-contactform with your Form ID.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

XxSkylineMar 23, 2021

Great theme, thanks for your help

SSemicolon WebSTAFFMar 24, 2021

Hello,

Thanks for the Kind Words! :) Very Happy to Help!

Do let us know if we can help you with anything else.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard