AnsweredAssumed Answered

Email Script will not display value in link

Question asked by Ed Rayyis on Mar 19, 2018
Latest reply on May 17, 2018 by Sanford Whiteman



I have the following simple logic for an email script {{my.cOwner}}


#set($CO = "")

#if(${lead.ContactOwner} == "Ed Rayyis")

#set($CO = "&contactSegment=data")




in my email HTML I have the following link:

<a href={{my.utm_campaign}}{{my.cOwner}}" target="_blank">


problem is the logic works but values do not get passed in the link. if I simply add {{my.cOwner}} token in my email anywhere I see all values populate correct, if I click the link, all values are displayed in the link except for the scripted {{my.cOwner}} part. If on the other hand I click view email in browser, the link displays correctly with the correct value based on the logic. Any one came across such a problem and found a fix or work around?