Hi Team,
We have created Landing page on Marketo and added embed code for form. before submitting the forms we want to add third party tracking code like we have CTA named "Download" on forms on-click or on forms submission we want to executive that code how we can achieve it.
For Ex. onclick download CTA - tracking code (in Javascript) is - xyz('track', 'DownloadNow');
Before submitting, or do you actually mean after successfully submitting as such things are usually implemented?
@SanfordWhiteman thanks for the reply.
Sorry my bad after successful form submission to Marketo we have to execute the third party java script tracking code.
Does that tracking code fire an event when it's complete? Because you need to ensure the tracking is code is done before redirecting to the Thank You URL — that's the key element of properly introducing ROI pixels, tracking hit, etc. into the form flow.
Hi,
Thanks for the reply. Yes facing same issue before redirecting to thank you page code can't get track.
Can you please provide some hints how to track it.
Thanks in advanced 🙂
Can you please provide some hints how to track it.
You'd have to supply info about the actual code you're using, it all depends on what events it exposes (including a simple pixel, which exposes a load event).