# Create a "first time lightbox"

**URL:** <https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960>\
**Category:** Ask the community\
**Tags:** design, question, code, wix-stores\
**Created:** [February 2, 2018, 3:38pm UTC](https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960 "2018-02-02T15:38:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![privevent-france](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@privevent-france](https://forum.wixstudio.com/u/privevent-france)\
**Post date:** [February 2, 2018, 3:38pm UTC](https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960/1 "2018-02-02T15:38:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![andreas-kviby](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/andreas-kviby/32/790_2.png) [@andreas-kviby](https://forum.wixstudio.com/u/andreas-kviby)\
**Post date:** [February 2, 2018, 4:47pm UTC](https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960/2 "2018-02-02T16:47:00Z")

</div>

Hey  
There is great article on that here:

> **[Velo Tutorial: Creating a One-Time Popup | Help Center | Wix.com](https://support.wix.com/en/article/velo-tutorial-creating-a-one-time-popup)**
>
> Visit the Velo by Wix website to onboard and continue learning.In this article we demonstrate how to create a popup that appears the first time a visitor visits

---

<div class="post-metadata">

**Author:** ![privevent-france](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@privevent-france](https://forum.wixstudio.com/u/privevent-france)\
**Post date:** [February 2, 2018, 5:13pm UTC](https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960/3 "2018-02-02T17:13:51Z")

</div>

Wow, thank you very much !!!

---

<div class="post-metadata">

**Author:** ![admin75437](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/admin75437/32/9281_2.png) [@admin75437](https://forum.wixstudio.com/u/admin75437)\
**Post date:** [February 18, 2019, 11:46am UTC](https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960/4 "2019-02-18T11:46:04Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![johnskufca](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@johnskufca](https://forum.wixstudio.com/u/johnskufca)\
**Post date:** [October 18, 2020, 11:57pm UTC](https://forum.wixstudio.com/t/create-a-first-time-lightbox/27960/5 "2020-10-18T23:57:11Z")

</div>

Hey there, I have entered coding from [https://support.wix.com/en/article/how-to-create-a-one-time-popup](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!
