"Clicks Link in Email" for Dynamic URL | Community
Skip to main content
January 30, 2016
Solved

"Clicks Link in Email" for Dynamic URL

  • January 30, 2016
  • 3 replies
  • 6381 views

I've created a program that is triggered based on an email click, however, the link I want to track is not static. It is a dynamic field pulled from the database called "URL".

From the dropdown criteria, I see an option for "{{lead.URL:default=edit me}}", however, that didn't seem to work.

Any idea what I'm doing wrong?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Grégoire_Miche2

HI David,

Using the token in you trigger constraint cannot work, unfortunately.

You can vote here: ​ and here:

Is there any part of the URL that would be common to all leads and that you could use with a "contains" operator?

-Greg

3 replies

SanfordWhiteman
New Participant
January 31, 2016

This is easy.  Doesn't matter if the {{Lead.URL Field}} value can be wildly different URLs, you don't need to reference the token value in the trigger. Constrain the Clicks Link in Email trigger by Link ID. Then just give the link an ID, like <A id="lead-url" href=...>.

Josh_Hill13
New Participant
January 31, 2016

which you could also tokenize...

SanfordWhiteman
New Participant
January 31, 2016

Sure, though it might be easier to use the name of the token as the id, like id="URL-Field".

Dan_Stevens_
New Participant
January 30, 2016

Are you filtering for this email click within the smart list of a smart campaign?  If so, you cannot use tokens in the smart lists of smart campaigns.  Although I would love for this capability some day.

Grégoire_Miche2
New Participant
January 30, 2016

Hi Dan,

Is the idea existing somewhere ?

I added the point here:

-Greg

Grégoire_Miche2
New Participant
January 30, 2016

Found it here :

-Greg

Grégoire_Miche2
New Participant
January 30, 2016

Hi David,

That's a classical : remove the "" from you URL field and add it to your email link, that should read: "{{lead.URL:default=edit me}}"

If you do not do this, Marketo will not track the clicks on the link.

You can also vote here      and here

-Greg

February 1, 2016

Hi Gregoire,

Ok, I've changed the url in my database to not include the "" part, however, I still can't seem to get it to work.

My trigger is based on "Clicks Link in Email" > "Link contains" = {{lead.URL:default=edit me}}

It was working perfectly before when I was testing the trigger with static URLs (link contains = test.com), so I know it's not the trigger overall. It must be the criteria.

How do I specific the dynamic URL criteria in the trigger?

Grégoire_Miche2
Grégoire_Miche2Accepted solution
New Participant
February 1, 2016

HI David,

Using the token in you trigger constraint cannot work, unfortunately.

You can vote here: ​ and here:

Is there any part of the URL that would be common to all leads and that you could use with a "contains" operator?

-Greg