Re: How to add third party tracking code on Marketo Landing paegs

rajanikantsaner
Level 2

How to add third party tracking code on Marketo Landing paegs

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');

Tags (1)
5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: How to add third party tracking code on Marketo Landing paegs

Before submitting, or do you actually mean after successfully submitting as such things are usually implemented?

rajanikantsaner
Level 2

Re: How to add third party tracking code on Marketo Landing paegs

@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.

 

 

 

SanfordWhiteman
Level 10 - Community Moderator

Re: How to add third party tracking code on Marketo Landing paegs

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.

rajanikantsaner
Level 2

Re: How to add third party tracking code on Marketo Landing paegs

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 🙂

SanfordWhiteman
Level 10 - Community Moderator

Re: How to add third party tracking code on Marketo Landing paegs


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).