<a href> with scripting not working
I'm having some trouble with an email script passing through a URL.
#set($dossierURL = "www.gadventures.com/trips/${trips_cList.get($listlength).dossier}" )
#set($imageLink = ${trips_cList.get($listlength).dossierImageURL} )
<a href="$dossierURL/" style="color: #47268d; font-weight: bold; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"> <img src="$imageLink" width="600" border="0" class="deviceWidth" style="display:block;border-width:0;-ms-interpolation-mode:bicubic;"> </a>
The image passes through just fine, but the link goes to something like this:
%24%7Bmy.vdossier_url_1987005%7D/?utm_source=&utm_medium=email&utm_campaign=&mkt_tok=eyJpIjoiTkRkalpXUmxNREJpTjJJMiIsInQiOiJPaE43MCtleHU5c0ZpV05WRHZkbTlcL1o2Y2ZMZkdrMnRKczFoTWdpUWdCc01QUDdMXC95RGczMTRcL3FqcGFuc1Nvb1draU05M0h3V2pDOWVhRFdkYlNWUT09In0%3D
Clearly the token is not translating properly, but what's even more confusing is that there are extra parameters on the URL that are on the end of the URL (?utm_source etc). Is this possibly because I have other email script tokens using the same variables in my email program? That's the only explanation I can think of.
Thanks, Phil