AnsweredAssumed Answered

Using System Tokens in My Tokens

Question asked by Caleb Kelly on Jun 21, 2019
Latest reply on Aug 20, 2019 by Caleb Kelly

Trying to render System Tokens in a My Token dynamic URL script. Is there a way to do this?

 

Code sample:

 

#if( $lead.flex1.contains("Target1"))  

<a href="https://www.sample.com?utm_campaign={{campaign.name}}&utm_source=Other-Email&utm_medium=email&utm_term={{Lead.Id}}&utm_content={{system.date}}%3A{{campaign.id}}&Emailrecepienttype={{lead.contact_type}}">Target Link 1</a>

#elseif( $lead.flex1.contains("Target2")) 

<a href="https://www.marketo.com?utm_campaign={{campaign.name}}&utm_source=Other-Email&utm_medium=email&utm_term={{Lead.Id}}&utm_content={{system.date}}%3A{{campaign.id}}&Emailrecepienttype={{lead.contact_type}}">Target Link 2</a>

#end


Thanks!

 

mytokens velocity scripting systemtoken email system token

Outcomes