Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Email footer copyright date

Avatar

Level 1

Hi! 

In previous email distribution platforms that I have used, there has been a tag to use in the footer that would automatically stamp the copyright year to the current year from the server date.  

 

So for instance the footer has a "copyright 2022 BrandName".   Is there a tag that would automate this like "copyright {{dateTag}} BrandName"

I have searched around but can not seem to find anything for the job.  Does anybody know if one exists for Adobe Campaign emails?

Thanks in advance!


1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi,

 

you can use JavaScript to do this.

Try " copyright <%= formatDate(new Date(), "%4Y") %> BrandName" .

 

Br,

 

Amine

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3

Hi,

 

you can use JavaScript to do this.

Try " copyright <%= formatDate(new Date(), "%4Y") %> BrandName" .

 

Br,

 

Amine

Avatar

Level 1

Hey,

 

Thanks for this.  As Javascript is not supported in email.  Would this be stamped on send by the Campaign, rather than rendered in the email?

 

 

Thanks!

Avatar

Level 3

Hello @perryclarkdev 

 

Yes, Adobe Campaign will execute the javascript during the personalization phase and replace it with the actual year in the email before sending it.

 

Br,

 

Amine