Expand my Community achievements bar.

Join us for our second AMA on experimentation and personalization strategies with Target, occurring on June 3rd!

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Avatar

Correct answer by
Employee 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...

 

Avatar

Level 2
Thanks Shelly, ideal solution.