Dynamically adding date to url string | Community
Skip to main content
August 7, 2017
Question

Dynamically adding date to url string

  • August 7, 2017
  • 1 reply
  • 1868 views

Hi Community

Within an engagement program, we would like to dynamically populate links to include the date the email was sent out for utm tracking. Anyone know how to do this, I don't believe a system. or my. token will work?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
August 7, 2017

I don't believe a system. or my. token will work?

Why would {{system.date}} not work?

August 7, 2017

I re-looked and I was using this token within a my.token for url strings and it wasn't working. I added it to the actual URL sting in the email link and it added strange characters e.g. "Aug%2008,%202017". So I added a my.Date token instead and it has worked.

SanfordWhiteman
Level 10
August 7, 2017

%20 isn't strange. It's the mandatory way of encoding spaces in any URL. You can't have raw spaces in a URL.

What is your my.Date token? A Velocity token?