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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Keep a Visitor in an Activity

FGHPhilJ
Level 2
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
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@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...

 

View solution in original post

2 Replies
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@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...

 

View solution in original post