Trigger Clicks Link in Email with Tokens | Community
Skip to main content
April 12, 2013
Question

Trigger Clicks Link in Email with Tokens

  • April 12, 2013
  • 13 replies
  • 3580 views
I'm a huge fan of tokens and use tokens quite a bit for links in emails.  I want to be able to trigger an action if one of these tokened links are clicked, but can't seem to find a way to do it.  I used the constraint Clicks link for Clicks link in Email where the link is the token, but it doesn't trigger at all.  In fact it doesn't even register that this link was clicked.  Any help is much appreciated.

Thanks!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

13 replies

Grégoire_Miche2
Level 10
September 24, 2015

Hi all,

You may want to vote for these 2 ideas :

-Greg

Emily_Poulton1
Level 3
September 29, 2015

I have just realised that this is the reason why we have such low click through rates for our white paper outbounds, because the URL is in a token, Marketo doesn't register this.

I opened a ticket about this with the Premier Support and no one came to this conclusion.

Did we have a solution for this in the end?

Is is as simple as writing before the link that it doesn't work in some cases.

Thanks!

Emily

SanfordWhiteman
Level 10
September 29, 2015

What are the cases in which separating (or or mailto:) out of the token was documented as not working?

Links generated in Velocity scripts, for example, won't be converted to trackable links at branding.example.com.  This is a known gap.  Also, mailto: links must have tracking turned off in order to work reliably (class="mktNoTrack").  What else was found in your discussion with Support?

Keeping the protocol out of the token is an understandable requirement, when you think about it.  Links like href="#hashtag" must not be rewritten to go via the branding domain, because they would be broken.  Giving Marketo a preview of the link to come allows for fewer passes when replacing tokens.  And of course all links must have a protocol ("www.poulton.com" won't link to your website -- it's "poulton.com").

November 24, 2015

We use tokens often to ensure styling is correct. It works wonderfully for most uses, but we run into the same problem you do. If we want to track this link click, what I've done is simply cut (copy / remove) the html from wherever your link is in the token through the end of that token, then paste it into the html body of the email right after that token is called.

Note this will not work if you're using tokens to dynamically generate content, only if you're using it for styling links, etc.