Re: Trigger Clicks Link in Email with Tokens

Anonymous
Not applicable
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!
Tags (1)
18 REPLIES 18
Anonymous
Not applicable

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.

Emily_Poulton1
Level 3 - Champion Alumni

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 http:// before the link that it doesn't work in some cases.

Thanks!

Emily

SanfordWhiteman
Level 10 - Community Moderator

What are the cases in which separating http:// (or https:// 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 http://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 "http://www.poulton.com").

Grégoire_Miche2
Level 10

Hi all,

You may want to vote for these 2 ideas :

-Greg

Anonymous
Not applicable

Commenting to help get this topic going again. I'm running into the same issue. I'm trying to figure out a way to trigger off a mailto: and coming up blank. Even going outside the box doesn't seem to be turning up anything. Has anyone found a way to do this yet?

Jenn_DiMaria2
Level 10

The workaround I've found isn't foolproof, but my new trigger is:

Clicks Link in Email IS NOT (select all links in your email except the link you want)

I've run into errors with it, but it works more often than not when trying to trigger off a tokened link.

Anonymous
Not applicable

Awesome! I'll give it a shot and report back.

It has been appearing to me through this process that Marketo doesn't recognize "mailto:" as a real link.

Anonymous
Not applicable

No luck on this end. Tried it a few different ways and nothing. Even tried it w/o the tokens and nothing. I made an awesome appointment setter landing page that we have used on a few programs now but for some reason the lady running this project decided go back in time and use "mailto". Oh well, thanks for the help.

Jenn_DiMaria2
Level 10

Just for fun, I went back and looked at the campaign I set up that worked. In the email itself, do you have the link set up to read as:

<a href="mailto:{{my.Article Link}}">

?

Jenn_DiMaria2
Level 10
I just tried doing this, as well, and am unable to trigger a flow. That said, I'm trying to trigger something off a "mailto:" link and I'm not sure if that makes a difference.

Edited to clarify: Marketo notices that the link is clicked (it shows up on the lead activity), but I'm unable to trigger off that activity.
Anonymous
Not applicable
Thanks, Jackie. 

Anonymous
Not applicable
I was not able to get this to work...the http://{{token}} was still not capturing the clicks.
Anonymous
Not applicable
Hi Jackie,

I am running into the same issue with the Clicks in Email Trigger. Did you ever find a solution to this?
Anonymous
Not applicable
I got the link to work in the email, but cannot seem to get the trigger/flow to listen for the link with the token in it. Below is an image of the only trigger I have in the Smart List.

Am I setting this up improperly? I can't seem to determine what is going wrong with the smart campaign.

0EM50000000SA2u.jpg
Anonymous
Not applicable
This worked. Thanks so much.
Anonymous
Not applicable
@bgomes I tried doing this and now the link does not work in the email.  This token is local to the program only, and is not a lead token.  Is there another way to do this?

Thanks!



Anonymous
Not applicable
Links within tokens are not tracked? I had no idea. Thanks for the solution!
Anonymous
Not applicable
The sequence of events is: the tracking info is added to the link and then the token is rendered.
 
if you have a link within a token, you will not have the tracking information.
 
Solution:
1. in token, have link without http://
2. when specifying link in the email, use http://{{lead.whatever||
3. when the render looks at this, it will see http:// and will decorate the link.