special offer - counting down expiration per user | Community
Skip to main content
Michael_Soprano
New Participant
April 17, 2024
Solved

special offer - counting down expiration per user

  • April 17, 2024
  • 1 reply
  • 454 views

Hi, 

 

I assume that I have created special offer. The expiration date is different for every user and its saved in the profile parameters in Target. Is it possible to count down dynamically expiration date in activity per user using profile scripts & js and showing this as a personalized banner? 

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 Rajneesh_Gautam_

hi @michael_soprano  - sure. It will take 2 steps:

 

1. Creating the Countdown banner: You can use one of the experience templates - https://github.com/Adobe-Marketing-Cloud/target-experience-templates/tree/master/banner-countdown

 

2. In the config section of the template-code, you will see the attributes that drive the countdown. You can populate these attributes with the values from profile-attributes. You can access dynamic attributes using following syntax:

 

"${user.YOUR_PROFILE_ATTRIBUTE}"

1 reply

Rajneesh_Gautam_
Rajneesh_Gautam_Accepted solution
New Participant
April 17, 2024

hi @michael_soprano  - sure. It will take 2 steps:

 

1. Creating the Countdown banner: You can use one of the experience templates - https://github.com/Adobe-Marketing-Cloud/target-experience-templates/tree/master/banner-countdown

 

2. In the config section of the template-code, you will see the attributes that drive the countdown. You can populate these attributes with the values from profile-attributes. You can access dynamic attributes using following syntax:

 

"${user.YOUR_PROFILE_ATTRIBUTE}"