SOLVED

Use MyTokens to populate link

Go to solution
Karyn_Hill
Level 4

Use MyTokens to populate link

Hi all,

I need to create an email template that will use a URL in a field on a person's record to populate the link for either a button (preferred) or text (will suffice). We have custom fields on people's records that are automatically populated with a customized link to a survey (using Qualtrics) and I have MyTokens that correspond with each field. They don't want the URL spelled out in the email as they tend to be long-ish and "ugly," which is unfortunate because I can do that easily.

Is this possible? I've tried it and the link seems not to work, whether in a button or with the token in the URL for a text link, but I'm probably doing something wrong.

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Use MyTokens to populate link

You have everything to gain by including real domains and links. Only thing you should suppress are login credentials.

In this case the token is seen as empty. Can you try another lead token for comparison? And make sure it's a real email, not a sample.

View solution in original post

7 REPLIES 7
Karyn_Hill
Level 4

Re: Use MyTokens to populate link

To be clear, the MyTokens are just for the name of the survey and didn't actually need to be mentioned. The MyTokens with the survey names are populating just fine. It's the token to place the customized URL into either a link or a button that I'm having trouble with.

SanfordWhiteman
Level 10 - Community Moderator

Re: Use MyTokens to populate link

Your aims aren't quite clear.

You say you have "customized fields on people's records" which are therefore {{lead.tokens}}.

"They don't want the URL spelled out in the email": as long as your href does not include the protocol, then the link will be rewritten to bounce off the tracking server, so the original target URL does not appear in the email.

<a href="http:​//{{lead.special link}}">Take a survey</a>

Karyn_Hill
Level 4

Re: Use MyTokens to populate link

Yes, they are customized tokens (each token is different for each person) in custom fields on their records.

I have removed https:// from the link in the custom field on the person's record. I have added https:// to the URL in the email (http://{{lead.Survey #1}}). The link is active and clickable but just opens a blank page.

My aim is to auto-populate customized Qualtrics URLs in an email by using a token.

SanfordWhiteman
Level 10 - Community Moderator

Re: Use MyTokens to populate link

Since you haven't included sample URLs from received emails, it isn't possible to tell you anything else.

You're now using the standard way of embedding links in Marketo.

Karyn_Hill
Level 4

Re: Use MyTokens to populate link

I'm sorry I don't know what I should and shouldn't include when asking for help here. Perhaps you can help me out by explaining what else you need?

http://pages.mapi.net/index.php/email/emailWebview?mkt_tok=eyJpIjoiT0RZd05tSmlPR05qTlRFNCIsInQiOiJCZ...

SanfordWhiteman
Level 10 - Community Moderator

Re: Use MyTokens to populate link

You have everything to gain by including real domains and links. Only thing you should suppress are login credentials.

In this case the token is seen as empty. Can you try another lead token for comparison? And make sure it's a real email, not a sample.

Karyn_Hill
Level 4

Re: Use MyTokens to populate link

Ah, now I see. The links work fine in the sent email (I just sent myself one), we just can't test them in the sample emails. Thank you so much!

I wasn't trying to suppress anything, I just figured I was making some sort of boneheaded mistake that would be obvious to anyone else. And I was, as it turns out. I was checking a sample email instead of an actual one.

I appreciate your help!