Community > Discussions
84 views
2 replies

Live Forms and Google Ads conversion tracking

We use Live Forms on a landing page for Google Ads that includes a "Contact Us" form. How can we track these form submissions as conversions with Google Ads? I see you have a mechanism to hook the form submit action with some JavaScript (On Form Submission-->Add action-->Scripting-->Execute JScript), but it's "disabled" when I try to choose it from the drop-down. 

Is there is a better/preferred way to do this? What would be best practice for Live Forms when it comes to Google Ad tracking/conversion?

Thanks,
Bob
 

Attached Files
RJMCT RJMCT
Published 07/28/2022 18:13
Add Comment
Mandeep Singh

Execute JavaScript is disabled because you have another action that would result in a redirect to another page; hence, the JavaScript would never execute. It looks like you have a page redirect setup or you're using another action that would result in redirect such as Login/Register and so on. 

If you redirect to another page then you'll need to implement the tracking logic on destination page (perhaps using a querystring). Otherwise, if you remove the redirect action, you can easily execute a JavaScript action and show a thank you/completion message.

replied 07/28/2022 22:12
RJMCT

I had implemented the "Show Message" action, which I guess does a redirect? It seemed safe because it just put a message on the current page in place of the form.

replied 07/29/2022 01:03

Last Activity 02/22/2023 11:26