Our designers have come up with the following landing page: What We Do | Marketing Solutions
If you click on contact us, you have a slide in panel with an embedded Marketo form, which uses an onSuccess handler to stay on the same page and load additional content after the user submits the form.
Since there is no thank you page, I was wondering how to implement Adwords and Facebook conversion tracking. The onSuccess handler currently implemented looks like this:
|//Add an onSuccess handler|
|//get the form's jQuery element and hide it|
|//return false to prevent the submission handler from taking the lead to the follow up url.|
I was thinking of implementeing it this way: Asynchronous AdWords Remarketing Tag | AdWords Remarketing Tag | Google Developers but not sure where to put it, or what the syntax would look like.
[Remember to post to Products/DIscussions.]
John, you already are almost there as you have an onSuccess listener. Add the basic code (under "Programmatically >> Standard JS") in there. Note that there is a slim (but not quite nonexistent) possibility of a missed hit if the tracking pixel doesn't finish requesting before the user switches pages.