Expand my Community achievements bar.

SOLVED

special offer - counting down expiration per user

Avatar

Level 8

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? 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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}"

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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}"