Jump to content

Promotional Pop Up Custom Frequency

Go to solution Solved by paul2009,

Recommended Posts

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

Link to comment
  • Replies 3
  • Views 424
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
8 hours ago, Izzy2222 said:

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.

The code (shared earlier here) will cause the promotional pop-up to continuously appear. Every time the user returns to the page (for example from the cart page) it will appear again, which is likely to discourage potential customers.

There are a number of other issues with using the promotional pop-up as an age-gate solution, aside from the obvious issue that you'll no longer be able to use it for promotions! 

The popup can also be dismissed easily by clicking just about anything, including the X (close) button or anywhere outside the popup. This means that underage users are not clicking a specific element to consent, they are simply clicking anywhere to reach the age-restricted content. Nothing will return them to "safety" either. As you've noted, if you don't add code it also won't reappear until the next day - something that can be an issue in some territories.

If you're looking for a low-cost solution (one-off payment) that doesn't have these issues, take a look at our Age Verification Popup. You'll find more information on the product page but if you'd like more information you can get in touch and we'll be happy to answer your questions.

age-verification-extension-tile.thumb.png.61e94bf2aed35c362f1a33ef48ba2f4c.png

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment
  • 4 weeks later...

Yes, our age verification popup can be used on a single page if required. 

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.