Tracking Links in an Email that does not conform the Marketo Email Syntax | Community
Skip to main content
Level 4
May 24, 2019
Question

Tracking Links in an Email that does not conform the Marketo Email Syntax

  • May 24, 2019
  • 2 replies
  • 2082 views

We had an Agency deisgn an urgent emailer with their HTML expertise. They did not follow Marketo Email Syntax i.e. https://docs.marketo.com/display/public/DOCS/Email+Template+Syntax since there was not much time. 

We created a sample email in Marketo and overwrote the code from the Agency's HTML. Now the ask is how do I enable tracking links and embedding mkt_tok on the links within the email?

Please assist asap.

Thanks - Manish

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

2 replies

SanfordWhiteman
Level 10
May 24, 2019

Links are automatically tracked by default. You should never have to manually add anything to a link. 

You lose tracking if:

  • you use an entire {{my.token}} or {{lead.token}} as an <a href>. You have to pull out the protocol so the token only includes the hostname + path + query + hash (that is, the token only stores example.com/path/page?k=v as opposed to http://example.com/path/page?k=v).
  • you fail to output an entire <a> tag from a Velocity script

But both of these result from making more use of Marketo features, not less.

Josh_Hill13
Level 10
June 11, 2019

The only area of concern would be if you were attempting to use Email Modules in the "Marketo HTML" special code. But that's really a template issue.

Otherwise, what Sanford said.