leadthepack Posted April 6, 2013 Share Posted April 6, 2013 I’m creating a website for a local brewery and need to figure out how to add an age verification request that pops up when visitors come to the site for the first time. Just needs to be basic and ask “Are you 21?” If “Yes,” let them into the site, if “No,” send somewhere else. I searched and found a bunch of JavaScript options, but I can’t figure out how to implement it, since Squarespace 6 file modification & storage is limited. Thanks in advance! Link to comment
leadthepack Posted April 21, 2013 Author Share Posted April 21, 2013 Thanks, @raptor2skooled. I was able to make a code hodgepodge that seems to work okay (even though I think the cookie expires much sooner than it should. Link to comment
Guest Posted June 26, 2013 Share Posted June 26, 2013 @leadthepack do you have the code you can pass along? Link to comment
Guest Posted February 22, 2014 Share Posted February 22, 2014 I just faced this problem myself (although I needed a verification page, not a pop-up). I couldn't find a solution that satisfied my requirements. I now this post is more than 6 months old, buy I'm leaving my answer in case anyone else needs it. You can get my code at https://github.com/cotupha/octli It has the javascript necessary, as well as other files that serve as example demonstraiting how to use the javascript. It is explained how to do it without activating developer mode (which was a requirement of my client). Link to comment
lunnson Posted July 22, 2014 Share Posted July 22, 2014 Would it be possible to explain how this can be done? Link to comment
Guest Posted February 9, 2015 Share Posted February 9, 2015 @cotupha thank for sharing, I'm having difficulties implementing your code on squarespace platform, is it possible for you to explain the steps in to implement. Any help greatly appreciated! Link to comment
neeklamy Posted April 20, 2015 Share Posted April 20, 2015 cotupha has placed the instructions in the GitHub repository: Squarespace Installation The name is an Anglicised form of the Greek Korvetti — I like to think there’s a little bit of the ancient Hellenic drive in me. Link to comment
Guest Posted June 22, 2015 Share Posted June 22, 2015 @cotupha (or anyone else) Would you be able to help me get this set up? I'm a bit confused on a couple of the steps. I'd be willing to pay you for your time. Link to comment
Guest Posted September 9, 2015 Share Posted September 9, 2015 "... It is explained how to do it without activating developer mode (which was a requirement of my client)..." For those confused, it took me a minute of confusion as well, but according to Cotupha's instructions you would still have to set up the age verification code outside of squarespace. The first two steps wouldn't be possible with squarespace hosting as-is (non developer mode). As it stands – I don't see any solution on the boards for an age verification that isn't just a cover page. Link to comment
spedup Posted April 13, 2017 Share Posted April 13, 2017 what i found to be the best solution for our site was this app: https://agechecker.co/squarespace-age-verificationtheyre pretty helpful and did some nice customization for us I build brands. Link to comment
paul2009 Posted January 24, 2019 Share Posted January 24, 2019 I built a simple age-gate solution for Squarespace. It's available here: https://sf.digital/squarespace-age-popup There's a small one-off charge to use it on your site. If you need a more advanced or customised solution, we can build these too. -Paul Squarespace Expert & Professional Developer Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide 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. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.