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

The 1st edition of the Target Community Lens newsletter is out now! Click to the right to find all the latest updates
SOLVED

Keep a Visitor in an Activity

Avatar

Level 2

Good Morning Community, 

 

We have an activity which is aiming to act as a basket builder so if a user has a basket value less than £85 we will display a banner that if you spend X more you will qualify for either an offer or free delivery.

 

We have got the activity to work and using our basket value parameter in an audiences of totalSpend<£85 we can qualify for the activity, however I wanted to keep the user in the activity once the £85 was hit so that we can display a Congratulations, use this code. 

 

Is there an out the box element I can utilise to add to my audience to make it "totalSpend<£85 OR have been in this activity"?

1 Accepted Solution

Avatar

Correct answer by
Employee

@FGHPhilJ  I would suggest to use profile scripts for this purpose. You can set the value user.beenInActivityof the profile script to yes when value is <85 and refer it to itself to get it's current value (as No)

 

https://experienceleague.adobe.com/docs/target-learn/tutorials/audiences/create-profile-scripts.html...

 

2 Replies

Avatar

Correct answer by
Employee

@FGHPhilJ  I would suggest to use profile scripts for this purpose. You can set the value user.beenInActivityof the profile script to yes when value is <85 and refer it to itself to get it's current value (as No)

 

https://experienceleague.adobe.com/docs/target-learn/tutorials/audiences/create-profile-scripts.html...