Hi there,
I am creating a wine sales website and I need a pop up to come up every time a user clicks on the wines sales page. I have created an age restricting pop up using the promotional pop up in squarespace but the problem is the frequency. Once a user has clicked it once, then it doesn't come back again. I have found this code:
<script>
window.localStorage.setItem('test', '0');
window.localStorage.setItem('squarespace-popup-overlay', '0');
</script>
from another forum but when I insert the code - the pop up doesn't go away after the agree button is selected.
Could someone please help solve this?
Cheers,
Izzy