Campaign and program tokens within an email script

Phillip_Wild
Level 10

Can I access campaign and program tokens from within a script? I don't see them on the right hand side panel when I load a script token, so I don't think I can, unfortunately. And you can't use a "token within a token" so I can't simply use {{campaign.name}}.

What I'd like to do is to have an email script that each time it sends, pulls the campaign/program name and populates it within a URL parameter. Eg. test.example.com/?program={{campaign.name}}

But as far as I know, this won't work in a script. Only in the HTML itself.

Any ideas?

10 REPLIES 10