Can you use URLs in Tokens? YES - here's how. | Community
Skip to main content
February 11, 2014
Question

Can you use URLs in Tokens? YES - here's how.

  • February 11, 2014
  • 11 replies
  • 7796 views
I've had a fair amount of questions recently around using URLs in tokens.

There is a right way and a wrong way to use a URL in a plain text token in an email. 

When sending emails, Marketo converts links to tracking links.  The tracking links allows Marketo to listen for "clicks link in email" behavioral activity. When converting links into tracking code, Marketo looks for the following string to know what to convert to tracking code: 

<a href="http://

The italicised string above must be completely inside the (plain text) token or in the HTML of the email.

Good URL Tokens that will render as tracking links:

Token: {{my.URL1}}
Token Value: www.marketo.com
Token in HTML of email: <a href="{{my.URL1}}">Marketo Token URL 1</a>

Token: {{my.URL2}}
Token Value: <a href="marketo.com">Marketo Token URL 2</a>
Token in HTML of email: {{myURL2}}


Bad URL Tokens that will only appear as links, but links will not be converted to trackable links:

Token: {{my.URL3}}
Token Value: marketo.com
Token in HTML of email: <a href="{{my.URL3}}">Marketo Token URL 3</a>


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

11 replies

Aslihan_Ayan_Ha
Level 6
January 4, 2016

I did not know about URL2 way Thanks for sharing