{{system.unsubscribeLink}} inside of {{my.token}} | Community
Skip to main content
January 14, 2018
Solved

{{system.unsubscribeLink}} inside of {{my.token}}

  • January 14, 2018
  • 1 reply
  • 7913 views

I'm seeing conflicting discussions about nesting tokens.

Is there a way to have the {{system.unsubscribeLink}} inside of an email script {{my.token}}. Or if it isn't the {{system.unsubscribeLink}} token, then some form of dynamic unsubscribe link.

We want to have a master footer as a token. We've chosen this method over a snippet or template method as an updates does not trigger an asset approval process.

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 SanfordWhiteman

This particular client is not using a branding domain. It's just a default setup. So we would use au-sn02.marketo.com/UnsubscribePage.html?mkt_unsubscribe=1 as the unsubscribe link inside the token?

Because we end up on a Marketo Error 500 page.

If there an equivalent setup we can use for {{system.forwardToFriendLink}} inside of the same {{my.edm_master_footer}} email script token?


Branding domains are for email click tracking. You're showing the LP domain setup, which is a different section (but may also be currently at its default).

Your Unsubscribe Page is like any other LP.  It's at au-sn02.marketo.com/lp/797-CWU-691/UnsubscribePage.html.

I strongly recommend that you set up an LP (sub)domain under your client's domain, otherwise you will (a) not be able to track web activity as leads move from the LP domain to the client's www site, and (b) you will lose tracking outright if they visit other Marketo customers who also don't have a domain set. It's a lose-lose situation.

If there an equivalent setup we can use for {{system.forwardToFriendLink}} inside of the same {{my.edm_master_footer}} email script token?

Sure, the FtoF also has a known pattern, which you can see by embedding the {{system.}} token and then copying the resulting URL into your Velocity token.

1 reply

SanfordWhiteman
Level 10
January 15, 2018

It's possible to access the Admin » Email » Unsubscribe HTML in Velocity; however, the method is purposely undocumented, so I'd share it over DM only.

You can also, of course, simply use a Velocity token -- on its own -- to reproduce the {{system.unsubscribeLink}} link w/dynamic parameters. What exactly is going to be "dynamic" about your unsubscribe link?

January 15, 2018

Hi Sanford

Sorry, there isn't anything dynamic that we're doing to the URL. I meant more that the URL was "dynamic" for each user with their own token.

If you have a method to share over DM, that would be great. Thank you.

SanfordWhiteman
Level 10
January 15, 2018

What do you mean by "token" exactly? You mean the URL must include a {{lead.token}} -- and if so, why? Are you using a non-Marketo-hosted unsubscribe page? Please describe your setup in full.