Hi Community,
I believe I set it up correctly (fingers crossed), but would like confirmation from someone who has dealt with installing Google Adwords conversion tags onto their Marketo landing pages. Basically, I have 2 landing page templates. One landing page is the landing page someone will be directed to if they click on the Google Ad. The second landing page, is the confirmation (thank you) page after they fill out a form and click a button.
From my understanding, I need to install the global site tag on both landing pages, correct?
The page we want to track, is the confirmation (thank you) page. This is the landing page I need to add the event snippet, with the additional onclick attribute? This instruction is where I get thrown off: "Add an onclick
attribute directly to the code for the button or link you'd like to track. The code you use will depend on how the link or button is displayed on your site: as a text link, button, or button image."
Can someone please confirm where I should add the event snippet with the onclick attribute?
Thanks!
Jenny
Hi Jenny,
You have 2 possibilities that somewhat mixed in your question:
-Greg
Hi Greg,
Thanks for your response! How come using an 'onclick' even is not recommended with Marketo? I am not a developer at all, so using JS is over my head and I am installing the tags based on the instructions given to me by Google Adwords.
Jenny
How come using an 'onclick' even is not recommended with Marketo?
These aren't concerns specific to Marketo but actually to any HTML form.
Hi Jenny,
if you are not a developper, I strongly recommend that you:
-Greg
Yes and no -- you need to use tag sequencing if you want to bind GA and FB events to Marketo Forms, because otherwise you have a race condition between MktoForms2 and your event listener script.
I was thinking more about using the hit to the thank you page as the event. I corrected my previous comment in that sense, it was not clear enough.
-Greg
Ah, then I agree! No race condition there.