403 Forbidden from a URL using a token
Hi guys,
I created an email that uses a velocity token, it reads a field and returns a URL. It is working on the email preview when I pick the records in Marketo, but once I try a sample send or a real test, it shows a 403 Forbidden page saying it can’t access a long unreadable path.
This is the token ({{my.MyResourceURL}}) I use to get the URL:
#if(${lead.utm_field} == "HowToAutomate")
meet.companay.co/rs/123-AAA-456/images/How%20To%20Automate.pdf
#elseif(${lead.utm_field} == "SmallGuide")
meet.companay.co/rs/123-AAA-456/images/Small%20Guide.pdf
#else
companay.co/
#end
And this is how I use it on my CTA. I concatenate the https:// with the token and some UTMs.
https://{{my.MyResourceURL}}?utm_campaign=myCampaign&utm_source=mySource&utm_medium=myMedium&utm_content={{lead.my Field}}