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

Profile script needed to deliver activity only once per day

Level 2
Level 2


I'm looking to deliver a Target activity to users but only once per day. It is a pop up modal that users can exit out, I have it set that they will only see the experience one time ever on first page visit. I'm wondering if anyone has a profile script that can be used to say "deliver activity once per day"? 

1 Reply
Level 2
Level 2


You could do this in your activity rather than a profile script using a cookie with an explicit expiration to accomplish this.

Basically, in your activity code set or check for the cookie when the experience loads and if it exists do nothing. If the cookie has not been set, then run your popup code and set the cookie.