Personalizing URL with campaign name and launch date | Community
Skip to main content
romulocostacurt
New Participant
April 23, 2019
Solved

Personalizing URL with campaign name and launch date

  • April 23, 2019
  • 4 replies
  • 3883 views

Hi! I'm pretty new to Adobe Campaing and the client I'm working with have the Classic version. I'mlooking for ways to include custom fields into the URL of the images/buttons in the email marketing that are filled in the launch time.

I was able to find how to include the audience segments name in the URL, but still couldn't find how to include the campaign name and the launch date as a variable of the URL. For example: www.companyname.com/campaign/&utm_campaign=<campaign_name>_DT<launch_date>;

I know this must be simple, but since I can't find anywhere, I'm asking for your help.

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

Hi Romulo,

The first method that comes to mind is by adding this tag to populate the date

<%= formatDate(new Date(), "%4Y%2M%2D") %> will output 20190423

4 replies

KelFromLondon
KelFromLondonAccepted solution
New Participant
April 23, 2019

Hi Romulo,

The first method that comes to mind is by adding this tag to populate the date

<%= formatDate(new Date(), "%4Y%2M%2D") %> will output 20190423

romulocostacurt
New Participant
April 23, 2019

Thanks! This solves part 1 of my problem!

By launch date I refer to the specific date the email is sent. For example, if I send an email today, I'd like to have in the URL something like &utm_campaign=campaignname_DT20190401 (in this case the format would be YYYYMMDD). Is it possible with another tag?

Best, Romulo

Employee
April 23, 2019

There are 2 ways:

2nd option has the advantage that it's done for all tracked links automatically.

For option 1, author has to take care

KelFromLondon
New Participant
April 23, 2019

Hey,

I'm ot certain what you mean by launch date, but I believe you'll be able to access the name of the campaign by using the following delivery variable.

<%= delivery.operation.label %>