Re: Tracking token links in the Email

Anonymous
Not applicable

Hi

I have created an inherited token for my ebook pdf and added that token in my email (local asset to a program).

Issue is I am not able to track that link through my trigger campaign - click link in email

I followed all the steps: Using URLs in My Tokens - Marketo Docs - Product Docs

I did not add http:// in the token.

Can anyone guide me what is wrong?

I want to use inherited token more often in my emails for different links.

Thanks

Vipula

19 REPLIES 19
Grégoire_Miche2
Level 10

Hi Vipula,

YOu have NOT added http:// in the token which is right

The fact that the token is inherited does not matter in this case.

But have you added it in the email, just before the token? your link URL in the email should have the following structure:

http://{{my.docURL}}

-Greg

Anonymous
Not applicable

Thanks

URL in my email: http://{{my.DIM eBookdefault=Default}}

Is that Correct?

Thanks

SanfordWhiteman
Level 10 - Community Moderator

No, should be a colon between the token name and the word "default".

Grégoire_Miche2
Level 10

Better yet, as program tokens cannot be empty, the default is not needed.

Just write it http://{{my.DIM eBook}}

-Greg

Anonymous
Not applicable

Hi

Thanks for helping me out.

I tried every suggested solution. My link is: http://{{my.DimEbook}}

Also, I tried writing the same token in Text and Rich text. But still the link is not tracking in trigger campaign as well in SFDC campaign

pastedImage_1.png

Vipula

Grégoire_Miche2
Level 10

Hi Vipula,

I see a problem in you screen shot: you have 2 tokens and you seem to use the wrong one (with is apparently a rich text) in your email.

It the URL is {{my.DIM eBook}}, then the URL in the email should be http://{{my.DIM eBook}}

And

  1. you cannot use a token in a token
  2. As I already answered to you here, you cannot use the token in the constraint of your trigger or filter

-Greg

Anonymous
Not applicable

Does that mean I can not track the link in a token through trigger campaign?

Vipula Dhamija

Grégoire_Miche2
Level 10

Yes, you can, but you need to write the whole URL, not the token.

-Greg

Anonymous
Not applicable

Do you mean: Using the text token in the email and tracking the link through the below trigger campaign?

Thanks,

Vipula

Grégoire_Miche2
Level 10

Yes this is correct.

Send the email to yourself and click the link once. Then the link will automatically show up in the dropdown list when setting up the email.

-greg

Anonymous
Not applicable

Hi Greg.

Finally, it is tracking but I find it very inefficient to create the tokenized link and then track the same link with actual URL. Don’t you think same?

Is this process same for all kind of links for eg www.gso.com<http://www.gso.com> or just the pdf links?

Thanks,

Vipula

SanfordWhiteman
Level 10 - Community Moderator

If you're trying to trap {{my.token}} in a particular program, you can give yourself a leg up by including the token name in the hash:

     <a href="http​://{my.pdfLink}#pdfLink">

Then you'll implicitly catch the clicks on the token value without having to reenter the token name.

Grégoire_Miche2
Level 10

The interested of the tip proposed by Sanford is that usually, you have only 1 PDF link in the program. so you do not need to differentiate and then you can use "link contains pdLlink" as a constraint and it will be enough.

-Greg

Grégoire_Miche2
Level 10

And also, please mark it as answered.

-Greg

Grégoire_Miche2
Level 10

You cannot use a token in a constraint of a filter or a trigger. Period. And believe, it's painful to everyone.

Read this to lead more on the current limitations: ​, then vote for the ideas you like and always remember that most if the competitive  products do not even have tokens in the first place

-Greg

Anonymous
Not applicable

Thanks Greg for the help.

Vipula

Anonymous
Not applicable

Yes I am making sure Url in the email and the tracking campaign matches.

I think I missed to change it when I was taking screenshot.

Thanks,

Vipula

Grégoire_Miche2
Level 10

Make sure also you are using the right one. DimEbook is a rich text that is not appropriate for a URL.

-Greg

SanfordWhiteman
Level 10 - Community Moderator

Fair point!