Keep a Visitor in an Activity | Community
Skip to main content
Level 2
April 22, 2021
Solved

Keep a Visitor in an Activity

  • April 22, 2021
  • 1 reply
  • 870 views

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

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

@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?lang=en#intended-audience

 

1 reply

shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeAccepted solution
Adobe Employee
April 22, 2021

@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?lang=en#intended-audience

 

FGHPhilJAuthor
Level 2
April 22, 2021
Thanks Shelly, ideal solution.