Re: UTM Token in a Link in an email

Rich_Miller2
Level 2

UTM Token in a Link in an email

Hello all,

I had something really strange happen.

I have a token in the program for UTMs. That token is in a link in an email.

If I send a sample email, the token values are there (appended with all the marketo code).

If I send the mail through a test smartcampaign, it is not there. It just has the marketo code.

Has anyone ever seen this kind of thing happen?

Thanks for the help.

RM

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: UTM Token in a Link in an email

If the original URL is malformed, Marketo's URL rewriter could appear to strip params from your original link.  It's pretty rare that this happens, though, because a malformed link will typically not function in the sample email (which will tell you something's up).

Can you paste here the exact text of the link?

Rich_Miller2
Level 2

Re: UTM Token in a Link in an email

here you go. thanks for the help.

from email design (the link)

https://lp.google-mkto.com/Video-Benefits-of-GCP.html{{my.UTM}}

Click from the sample email (this is what I see when I get to the landing page)

https://lp.google-mkto.com/Video-Benefits-of-GCP.html?utm_source=nurture&utm_medium=email&utm_campai...

Click from the smartcampaign (this is what I see when I get to the landing page)

https://lp.google-mkto.com/Video-Benefits-of-GCP.html?mkt_tok=3RkMMJWWfF9wsRoivqnId%2B%2FhmjTEU5z16e...

SanfordWhiteman
Level 10 - Community Moderator

Re: UTM Token in a Link in an email

Add the class="mktNoTok mktNoTrack" to the link and run through the SC again.

The resulting link in the email shouldn't be rewritten at all (it should preserve everything from your {{my.UTM}} because it isn't parsed).

What do you see?