I was sending a click from an email to a third-party website and when the mkt_tok was included in the utms, their website failed. So I thought "no worries, I'll just turn it off" -- but in my template (v 2.0) the only way to disable click tracking OR token appending is from the hyperlink box in the WYSIWYG editor. I chatted support trying to find a variable css class I could use to enable this on images and my buttons (neither of which use WYSIWYG), but they said no.
Docs said I could use <a class="mktNoTrack" for disabling the tracking, but no mention of the token disablement. Ultimately I sent my email without a cta in the banner, but I'm determined to make this happen. Anyone had any luck with this? I found that disabling the css class of "mktNoTok" but it doesn't seem to work when I code it in my template.
Anyone have ideas?
Solved! Go to Solution.
I have a possible solution for you here, if you tokenize the link, you can stop Marketo from adding tracking to it as it can't track links in Text Tokens.
You code should look something like this:
<a href="{{my.link}}" target="_blank">
In My Tokens create a Text Token called link (or whatever name that works for you) and set the value to http://www.example.com.
Once the email is sent Marketo will just place the token value into the href, Marketo doesn't track links like this when added via a Text Token, it just sees it as content and adds it in to the desired place.
Please note I also tried adding the mktNoTrack as a token within a class but Marketo still added the tracking on the send.
I have a possible solution for you here, if you tokenize the link, you can stop Marketo from adding tracking to it as it can't track links in Text Tokens.
You code should look something like this:
<a href="{{my.link}}" target="_blank">
In My Tokens create a Text Token called link (or whatever name that works for you) and set the value to http://www.example.com.
Once the email is sent Marketo will just place the token value into the href, Marketo doesn't track links like this when added via a Text Token, it just sees it as content and adds it in to the desired place.
Please note I also tried adding the mktNoTrack as a token within a class but Marketo still added the tracking on the send.
That's a good point. Just to add some color, by including the "http://" in the token, and not on the email, it will treat it like content. You can still have tracked links as tokens as long as you leave the http:// in the email and the {{my.link}} after it, which I do regularly, so this is a great work around. I'll test it out, but assume you're correct. Thanks!!
the mktNoTrack is a mystery to me that seems like the destined fix -- once fixed.
JD you are totally correct usually http://{{my.link}} would create a trackable link using a Text Token, but for your problem, you want to make sure the http:// or https:// is within the Text Token itself.
In the testing I did, I couldn't understand why we couldn't add mktNoTrack in as a token, there must be some of system stuff going on in the Marketo DB that is doing something after we preview the email and as it sends, as it was outputting the desired view in preview looking at the code inspect, but at the send, it wasn't honouring my class that I was adding via the token. You could suggest this as an idea or even create an idea that added a setting to the Email Settings, that you could switch off email tracking altogether.
Yep! Exactly! Thanks for the help!
Also...
Sanford Whiteman Doesn't the redirector page need to be on the same domain? I didn't think it worked with 3rd party?
The redirector page is on your domain, then it can redirect (if the remote domain is in its local allowed domains list) anywhere.