Popup for Legal Age (Drinking)

Hi everyone!

I’m working for a company that provides a whiskey tour in scotland and therefore they need a pop-up asking whether or not the user is of legal drinking age. I created the pop-up (see link), but I dont know how to configure it.

I’d like the pop-up to appear on the first time the user enters the website, whichever page that might be (not only home), and not be asked again after answering, even if the website refreshes. I was thinking about an interaction trigger whenever you hover the mouse over the screen, but I just dont know how to do that. Especially regarding the fact, that the pop-up should just be there the very first time someone enters.

Anyone any ideas on that? Or an example template, that I can learn from?
Would be so glad about your help

Thanks a lot!

Amy


Here is my site Read-Only: https://preview.webflow.com/preview/tubc?utm_medium=preview_link&utm_source=designer&utm_content=tubc&preview=dae21a58ee41156e54e769f518779b4c&workflow=preview]

Search the forum as it has been covered before and there are code examples. Here is one to start you off. Age Gate for Yes/No Button w/Session Cookie - Design help / Custom code - Forum | Webflow

Here is a link to a tutorial that walks you through the question, and then the solution from start to finish.

One of our customers had a similar issue so we wrote a script that allows you to have users confirm their age before processing.

Please feel free to tag me if you have any questions!

Happy Friday!!