Create a "first time lightbox"

Hi everyone,

I’m currently working on my website design and I want to createmy own cookie message. To do that, I would like to know if it is possible to create a lightbox that appears only the first time a user enters on my website, once he clicks on the button, the lightbox doesn’t appear anymore (even he comes back one month later…).

I was reading articles of wix about local storage. Do you think it’s possible to “store” a data (in a database or not) about the user (once he clicks on the button this data changes and then the lightbox doesn’t appear anymore) ? thanks for your answer, it would really help me.

Regards.

Hey
There is great article on that here:

Wow, thank you very much !!!

Hey Andreas - I’m looking to do a similar thing with a lightbox, but have it only appear once every month (or every 30 days, whichever is easiest) rather than only the first time a visitor lands on my site… is there a way to do that with Wix Code?

Hey there, I have entered coding from https://support.wix.com/en/article/how-to-create-a-one-time-popup but I am still getting the lightbox every time I visit the site. It is like the “flag” they speak of isn’t being recognized. Help!