Having issue with velocity script in token to display in email
Here's my scenario...
A value is set in a customer's record to determine how they were acquired. We will call this field in Marketo SEG1.
{{my.SEGMENT}} is set as a utm parameter within links inside the email. For example, a link in the sample email is https://abc.com?utm_source={{my.SEGMENT}} but it does not display the token value that is set from the VC. Any help is appreciated.
{{my.SEGMENT}} - token name
#set ($seg1 = ${lead.SEG1})
#if($seg1.equals("Facebook"))
FBK001##
#elseif($seg1.equals("PPC"))
PPC001##
#else
EML001##
#end