Email Tracking not working on velocity token
Hi,
I have successfully created links using tokens that are trackable.
However, this time I have a custom object with url link.
I have tried multiple coding and either the link gets broken when mkto is adding the tracking token or the link works but the tracking token is not being added.
Any tips/insights would be great! thanks!
Token1 - link gets broken when mkto token is being added. when tested $prodlinktrim on its own the syntax is as expected.
#if(!$productRecommendation_cList.isEmpty())
#foreach($item in $productRecommendation_cList)
#set($Prodlink=$item.rec_productLink)
#set($Prodlinktrim=$Prodlink.replaceAll("^https://",""))
#if($item.rec_rank=="1")<a href="https://$Prodlinktrim">link text</a>
#else
#end
#end
#end