Age Gate Squarespace Updated -
Set the pop-up to show "On Timing" (immediately) and ensure it shows on "Any Page."
If you have a developer (or a bit of coding knowledge), you can create a custom modal using HTML/CSS and JavaScript. This allows for a "Lightroom" effect where the background is blurred until the user confirms their age. age gate squarespace
Do not rely solely on a front-end Age Gate for strict legal compliance. Squarespace is not designed for age-restricted sales. Set the pop-up to show "On Timing" (immediately)
Set the secondary button to say and link it to an external site like Google. !-- Put this in Settings >
<!-- Put this in Settings > Advanced > Code Injection > Footer --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> $(document).ready(function() // Check if user has already verified if (sessionStorage.getItem('ageVerified')) $('#age-gate').remove();
Set the pop-up to show "On Timing" (immediately) and ensure it shows on "Any Page."
If you have a developer (or a bit of coding knowledge), you can create a custom modal using HTML/CSS and JavaScript. This allows for a "Lightroom" effect where the background is blurred until the user confirms their age.
Do not rely solely on a front-end Age Gate for strict legal compliance. Squarespace is not designed for age-restricted sales.
Set the secondary button to say and link it to an external site like Google.
<!-- Put this in Settings > Advanced > Code Injection > Footer --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script> $(document).ready(function() // Check if user has already verified if (sessionStorage.getItem('ageVerified')) $('#age-gate').remove();