Is this not possible?
I have footer links on each landing page, the footer links are deployed via a token {{my.footer-links}}, which contains 3 links.
I went inside the {{my.footer-links}} token (rich text), and tried to edit the HTML of one of the links by adding this: ?utm_medium={{my.utm_medium}}&utm_source={{my.utm_source}}&utm_campaign={{my.utm_campaign}}
Unfortunately, the {{my.utm_medium}}, {{my.utm_campaign}} and {{my.utm_source}} are not being populated
Thanks.
Solved! Go to Solution.
You can add variables defined in script token to program tokens. For instance like that:
And then we have a script token in a folder above that defines $footeraddress:
#set($footeraddress = "Our Company @ our address")
We use snippets for our country-specific footers. This enables us to do exactly what you want to do (we use tokens within our snippets).
Didn't even think about that! Thanks Dan Stevens , will take a look at that shortly.
Hi Josh - what about program tokens inside of a calendar file token? I've found that this works, but not consistently. Any tips?
These are the exception - they work in the body of the calendar file - and they're a great place to put the {{member.webinar url}} token.
Thanks Nicholas - have you come across any inconsistencies with the token value displaying? I love the idea, but feel like I can't trust them. Also - do they not work in the subject of the calendar token?
It's quite a fiddly field, and it takes a bit of mental arithmetic to get it to work when testing. IE, it will only work when testing if someone is a legitimate member of the program etc.
Tokens do not work in the subject of a calendar token.
This made me LOL. But now I'm sad we can't make this work.
I was totally referencing a popular presentation on Marketo Tokens. I wish I could claim that one. I busted out when I heard that the first time as well. ; )
Dan's comment below is the way to go.
This isn't Inception. LOL! ; )