Age Gate: Add an Age Verification Popup to Your Squarespace Site$25Squarespell OriginalSquarespace
How to Add Age Verification to Squarespace (5 Ways, With an 18+ and 21+ Age Gate)
Squarespace has no age verification of its own. What its password and pop-up can and cannot do, and four ways to add a real age gate, with prices, setup steps and screenshots for each.

A note on how we make money. Squarespell makes Age Gate, the plugin in Method 5 of this guide, and Popup Pro, shown in the first shelf, so weigh that interest. Elfsight and Common Ninja are listed on Squarespell with affiliate links, and we may earn a commission if you sign up through those listings. SF.digital is not listed on Squarespell and we earn nothing from it. Details are in our affiliate disclosure.
Quick answer
If you want the short version:
- Squarespace has no age verification of its own. A site-wide password keeps everyone out, including search engines and buyers at checkout, and the promotional pop-up can be closed with its X, so neither works as an age gate.
- A widget service: Elfsight Age Verification (free for 200 views a month, then from $6 a month billed yearly) and Common Ninja Age Verification (free plan, then from $33.60 a year) both ask Yes or No, the birth date or the birth year, and you paste their code into Squarespace.
- A one-off Yes or No popup: SF.digital Age popup costs £20 (US$27) once for one site and asks a single Yes or No question with your site logo.
- A one-off age gate with more choices: Age Gate by Squarespell costs $25 for one site at a time or $45 for unlimited sites, asks Yes or No, the date of birth or the birth year, sets a different minimum age by country, and lets Google and Bing read the page behind it.
The honest caveat: every option in this guide asks visitors their age and trusts the answer. None of them checks an ID, and none is a regulated age verification method. If the law where you sell needs a checked age, you need an age verification service on top.
Last updated: 2 December 2026
Shops that sell wine, beer, spirits, vapes or CBD, and sites with content for adults only, often have to ask visitors their age before they see anything. On Squarespace that is harder than it sounds. The platform has a password lock and a promotional pop-up, but nothing that asks an age, and both of those have side effects that hurt a shop. This guide covers what Squarespace can and cannot do on its own, then four add-ons that put a real age question in front of every visitor, with prices, setup steps and screenshots for each.
We read the Squarespace Help Center articles and the Elfsight, Common Ninja and SF.digital pages cited here on 2 December 2026. The Age Gate steps and screenshots come from its installation guide (version 1.0.0), and the video below is the plugin’s own tutorial.
Age Gate is our own age verification plugin for Squarespace 7.1: one paste in Code Injection, one payment. Popup Pro is our pop-up plugin for newsletter, offer and exit pop-ups made from your own Squarespace sections, if you need those as well.
What’s in this guide
- What Squarespace can do on its own
- The five methods compared
- Method 1: A site-wide or page password
- Method 2: The promotional pop-up
- Method 3: Elfsight Age Verification
- Method 4: Common Ninja Age Verification
- Also worth knowing: SF.digital Age popup
- Method 5: Age Gate by Squarespell
- Age Gate setup, step by step (9 steps)
- Age gates and search engines
- What an age gate does and does not do legally
- Which one fits
- Launch checklist
- Troubleshooting
- What we couldn’t verify
- FAQ
- Where to start
What Squarespace can do on its own
Squarespace has no age verification feature. Two built-in tools come close, and both are documented in its Help Center (site-wide passwords, promotional pop-up), read on 2 December 2026:
| Built-in tool | What it does | Why it is not an age gate |
|---|---|---|
| Site-wide password | Everyone must type the same password to open the site | Customers can’t complete checkout while it is on, search engines stop indexing the site, and visitors must re-enter it after four hours |
| Page password | One password for one page | Same problems on that page, and you still have to hand the password out |
| Member Sites | Visitors sign up for an account to reach gated pages | Asks for an account, not an age; built for memberships |
| Promotional pop-up | A newsletter or button pop-up when a visitor lands | Visitors can close it with the X, it appears only on the first page they land on, and it does not take custom code |
From the Squarespace Help Center, read 2 December 2026.
So an age question has to come from code you add. Squarespace runs custom code through Code Injection, which its Help Center says is available on the Core, Plus and Advanced plans and some legacy plans (code injection article). Every add-on in this guide needs it.
The five methods compared
| Password | Promotional pop-up | Elfsight | Common Ninja | Age Gate | |
|---|---|---|---|---|---|
| Cost | Included | Included (Core or higher) | Free for 200 views a month; paid from $6 a month billed yearly | Free plan; paid from $33.60 a year per widget | $25 one site at a time, $45 unlimited sites, once |
| Asks an age | No | No | Yes or No, birth date, birth year | Buttons, birth year, birthday | Yes or No, date of birth, birth year |
| Visitor can skip it | No | Yes (X button) | No (full overlay option) | Not stated | No |
| Checkout still works | No | Yes | Yes | Yes | Yes |
| Search engines | Blocked | Can lower rankings (Squarespace) | Not stated | Not stated | Page covered, never redirected; Google and Bing crawlers can skip it |
| Different age by country | No | No | Not stated | Not stated | Yes, by the visitor’s time zone |
| Where the code runs | Squarespace | Squarespace | Loads from Elfsight | Loads from Common Ninja | Pasted into your site; never contacts squarespell.com |
Prices and features from each vendor’s own pages and the Squarespace Help Center, read 2 December 2026. “Not stated” means the page we read did not say.
Method 1: A site-wide or page password
The most locked-down option Squarespace has is a password on the whole site or on single pages. Visitors see a lock screen and type a shared password before anything loads. It is set in the Site Availability panel (Squarespace Help Center).
How to set it, from the Help Center:
- Open the Site Availability panel.
- Select Password Protected in the drop-down menu.
- Enter the password visitors will use, then click Save.
- Open the site in a private window to test the lock screen.
Why it rarely fits an alcohol or vape shop: Squarespace says customers can’t complete checkout while a site-wide password is on, that the site stops appearing in search results, and that a visitor’s session expires after four hours. A password also checks nothing about age; anyone with the password gets in.
Method 2: The promotional pop-up
Squarespace’s promotional pop-up appears when a visitor lands on a page, with a headline, text and up to two buttons. It is tempting to write “Are you 21 or older?” in it. The Help Center explains why that does not make an age gate (promotional pop-up article):
- On mobile the pop-up fills half the screen, and text is left-aligned “so the X icon stays visible”: visitors can close it without answering.
- It appears only on the first page a visitor lands on, even when you select several pages.
- It does not work with custom code, so it cannot remember an answer or send under-age visitors away.
- Squarespace says larger pop-up layouts can lower your ranking in search engines.
- It is available on the Core, Plus and Advanced plans.
It is fine for a polite notice. It is not a gate.
Method 3: Elfsight Age Verification
Elfsight is a widget company with a no-code editor. Its Age Verification widget, per its Squarespace page, offers three methods (full birth date, year of birth, or Yes and No buttons), remembers a visitor for any amount of time, shows a message or redirects under-age visitors, takes an uploaded image and shows extra text and links. Its FAQ says it evaluates the age in the browser and does not store personal identity data server-side, and that it can show as a full overlay that hides the page until a valid answer.
Free plan available
Free plan available
Age Verification by Elfsight and Age Verification by Common Ninja are listed on Squarespell; each card links to the vendor through our affiliate listing.
Elfsight pricing
| Plan | Price (billed yearly) | Views a month | Widgets |
|---|---|---|---|
| Free | $0 | 200 | 1, with Elfsight branding |
| Basic | $6 a month | 5,000 | 3 |
| Pro | $12 a month | 50,000 | 9 |
| Premium | $24 a month | 150,000 | 21 |
Regular prices from Elfsight’s pricing page, 2 December 2026; a 50% Black Friday offer was shown that day.
The view limit matters for a gate: the widget loads on every page a visitor opens, so a shop with steady traffic passes 200 views a month quickly.
How to add Elfsight to Squarespace
From Elfsight’s own Squarespace help article:
- Build the widget in Elfsight’s editor and copy your installation code.
- In Squarespace, click Website, then Pages.
- For every page: open Custom Code, Code Injection, paste the code into the Footer field and click Save. For one page: open the page’s gear icon, the Advanced tab, paste the code and save.
- Open the site in a private window to check it.
Elfsight says these methods need the Core, Plus or Advanced plan, and offers a separate guide for the Basic plan.
Method 4: Common Ninja Age Verification
Common Ninja is another widget company. Its Squarespace page lists three validation types (buttons, year input and birthday), display rules, a redirect for under-age visitors and several layouts.
Common Ninja pricing
Its pricing page lists these prices for one widget, billed yearly: Free ($0), Essentials ($33.60 a year), Pro ($45.60 a year) and Ultimate ($76.80 a year), excluding VAT. The free plan shown on the page includes 200 monthly pageviews and one widget instance and does not remove Common Ninja’s branding. The page defaults to five widgets, which is why the screenshot below shows higher prices.
How to add Common Ninja to Squarespace
From Common Ninja’s Squarespace guide:
- Open the Age Verification widget in Common Ninja’s editor, design it and click Save Changes (you need an account).
- Click Add To Website and copy the embed code.
- In the Squarespace editor, click Add Block where you want it and choose Embed.
- Click Edit on the block, paste the code and click outside the window to close it.
- Save the page. Common Ninja notes the widget shows only on your published site.
An Embed block sits on one page. To gate the whole site, you would add it to every page, or put the code in Code Injection as with Elfsight.
Also worth knowing: SF.digital Age popup
SF.digital sells a one-off Age popup for Squarespace for £20 (US$27) for one website. Its page says it asks a simple Yes or No question with wording you choose, can use your site logo automatically, appears on all pages or selected pages until the visitor answers, can send under-age visitors to a URL or back where they came from, and works with one language per site. It needs Code Injection, so not the Personal or Basic plans.
The page is unusually clear about its limits: it does not ask for a date of birth, it is not a regulated age verification method under the UK Online Safety Act 2023, the license is tied to one domain, it is not compatible with the Weglot Visual Editor, and digital products cannot be refunded once supplied unless they are faulty. We did not install it.
Method 5: Age Gate by Squarespell
Age Gate is our plugin. You set it up in a builder file in your browser and paste one block of code into Code Injection, Header. Because it runs in the page head, the gate is on screen before the page is painted. Per its listing and guide (version 1.0.0):
- Three ways to answer: Yes or No, the date of birth (day, month and year in the visitor’s usual order) or the birth year. The date is checked in the browser and never kept.
- Ages by country: one minimum age, plus a different age in countries you choose, such as 21 in the United States and 18 elsewhere. The country is a guess from the visitor’s time zone, not a check.
- After the answer: a yes is remembered for the days you set or for this visit only. Under-age visitors see your message or go to a link, and the gate stays closed for the visit, for a number of hours, or offers Try again.
- Where it shows: every page, only the pages you list, or every page except those; an address ending in * covers everything under it. It never shows inside the Squarespace editor.
- Your look: four looks to start from, your site’s logo, fonts and colours, a blurred page, a colour or a picture behind it, and small print with links.
- Languages: English, German, French, Spanish, Italian, Dutch, Portuguese and Swedish ready, every word editable, picked by the page language.
Price: $25 for a Single License (one website at a time, movable) or $45 for a Multi-Use License (unlimited websites). One payment, no visitor limits. You can try it first on the live demo.
Limits, from its listing: it is not a regulated age verification method and does not check an ID; the answer is kept in the visitor’s browser, so another browser or a private window asks again; a visitor with JavaScript turned off sees the page; it needs the Core plan or higher; it was tested in Chrome on a computer and at phone widths, not in Safari, Firefox or on real phones.
Age Gate setup, step by step (9 steps)
These steps follow the installation guide that comes with the plugin.
1. Activate your license
Open the builder file from your download. Enter the license key from your order email and your website address, then click Activate. Your site’s built-in squarespace.com address always works, so you can install before your domain is connected.
2. Start from a look
Pick Light card, Dark card, Full screen or Minimal. The preview shows the gate on a sample shop, and you can change anything after.
3. Set the question and the ages
Under The question, choose Yes or No, Date of birth or Birth year, set the minimum age, and add a country with a different age under A different age in some countries. Use Visitor in above the preview to see what a visitor from that country sees.
4. Choose what happens after the answer
Set how long a yes is remembered, whether under-age visitors see a message or go to a link, and whether the gate stays closed for this visit, for a number of hours, or offers Try again.
5. Choose where it shows
Under Where it shows, choose Every page, Only these or All except these, and list page addresses one per line. Leave Let search engines read the page on unless you have a reason to turn it off.
6. Set the words and languages
Change any word under Words, and add a language for translated pages. The preview can show each page language.
7. Check the preview and copy the code
Check the gate as a desktop and phone visitor, from different countries and pages, then click Copy code.
8. Open Code Injection
In Squarespace open Pages, scroll to Custom Code and click Code Injection. In older menus it is under Settings, Advanced.
9. Paste into Header and save
Click into the Header box, go to the end of anything already there, start a new line, paste and click Save. Then open your site in a private window: the gate should appear before the page. To see it again after you answered, add ?agegate=reset to the page address.
Age gates and search engines
Google’s page on intrusive interstitials and dialogs treats age verification as a legally required interstitial rather than an intrusive one. It recommends that such a dialog covers the page rather than redirecting to a separate page, so Google can still index the content, and for content behind an adult age gate it suggests letting Googlebot crawl without the gate. In practice:
- Avoid a password: it removes the site from search results.
- Prefer an overlay to a redirect to a separate “age check” page.
- If your tool can let search crawlers through, as Age Gate’s Let search engines read the page switch does, keep it on.
What an age gate does and does not do legally
An age gate is a notice. It asks, the visitor answers, and nothing checks the answer. SF.digital says plainly its popup is not a regulated age verification method under the UK Online Safety Act 2023, and Age Gate’s listing says the same of itself. Some widget pages describe their tools as helping you meet legal rules; that depends on the law where you sell, not on the tool. If you sell online in a place that requires a checked age (an ID check, or an age check at delivery), an age gate on the website is not enough on its own. This is not legal advice: check the rules for your products and countries.
Which one fits
| If you | Choose |
|---|---|
| Only need to hide a site that is not live yet | A site-wide password (it blocks checkout and search, so not for a live shop) |
| Want a free gate on a small site with little traffic | The free plans of Elfsight or Common Ninja (about 200 views or pageviews a month) |
| Want a simple Yes or No popup and pay once | SF.digital Age popup, £20 once, one site |
| Sell in the US and elsewhere and need 21 and 18 | Age Gate (age by country) or check Elfsight and Common Ninja for this |
| Want date of birth, your site’s look and no visitor limits | Age Gate, $25 once |
| Build sites for several wineries or shops | Age Gate Multi-Use, $45 for unlimited sites, or a widget agency plan |
Our summary of the sections above, 2 December 2026.
Launch checklist
- The gate appears in a private window on the home page, a product page and a blog post.
- Yes opens the site and the next page does not ask again.
- No shows your message or sends visitors where you chose.
- Checkout still works from start to finish.
- The gate looks right on a phone, with buttons large enough to tap.
- Your site logo, fonts and colours look right on the gate.
- Your privacy policy says what the gate stores in the visitor’s browser.
- Your page still shows in Google’s URL Inspection after a few days.
Troubleshooting
| Problem | What to check |
|---|---|
| The gate does not appear | The code is saved in Code Injection; you are looking at the live site in a private window, not the editor; your plan includes Code Injection |
| It appears on every visit | A private window forgets answers by design; for Age Gate, check the Remember a yes for setting |
| It appears on the wrong pages | The page addresses in your page rules; an address ending in * covers everything under it |
| Checkout stopped working | A site-wide or page password is still on |
| A visitor abroad got the wrong age (Age Gate) | The country comes from the time zone set on their device |
| Works on the squarespace.com address but not your domain (Age Gate) | Activate your domain in the builder and paste the new code over the old block |
| The widget shows a vendor badge | Free widget plans keep the vendor’s branding; a paid plan removes it |
From the Squarespace Help Center, the vendors’ pages and the Age Gate installation guide (version 1.0.0), read 2 December 2026.
What we couldn’t verify
We did not install Elfsight, Common Ninja or SF.digital for this article. Their features, prices and steps come from their own pages, read on 2 December 2026; Elfsight showed a 50% Black Friday offer that day, and Common Ninja’s prices exclude VAT. Neither widget page says whether it can set a different age by country, and Common Ninja’s Squarespace page does not say whether visitors can close its popup without answering. The Age Gate steps and screenshots come from its installation guide (version 1.0.0), which says it was tested in Chrome on a computer and at phone widths. Squarespace and Google facts come from the pages linked above. We checked every fact, price, caption and alt text in this article against those sources by hand.
FAQ
Does Squarespace have age verification? No. Squarespace has site and page passwords, Member Sites and a promotional pop-up, but no feature that asks a visitor’s age. You add one with code in Code Injection or an Embed block.
Can I use the Squarespace promotional pop-up as an age gate? Not reliably. Visitors can close it with the X, it shows only on the first page they land on, and it does not take custom code to remember an answer or send under-age visitors away.
Which Squarespace plan do I need for an age gate? Code Injection, which Elfsight, SF.digital and Age Gate use, needs the Core, Plus or Advanced plan or some legacy plans. Elfsight has a separate guide for the Basic plan.
Can I ask for a date of birth instead of Yes or No? Yes with Elfsight, Common Ninja and Age Gate, which all offer a birth date or birth year option. SF.digital asks Yes or No only.
Can the age be 21 in the United States and 18 elsewhere? Age Gate sets a different minimum age by country, found from the visitor’s time zone. Elfsight and Common Ninja’s pages do not say whether they can.
Will an age gate hurt my SEO? An overlay that covers the page is the approach Google recommends for legally required age checks; a password removes the site from search, and Squarespace warns that large pop-ups can lower rankings.
Is a website age gate enough to sell alcohol online? It depends on where you sell. An age gate asks and trusts the answer; it does not check an ID. Where the law requires a checked age, you need an age verification service or a check at delivery as well.
Does an age gate store the visitor’s birth date? Elfsight says it evaluates the age in the browser and stores no identity data on its servers. Age Gate checks the date in the browser, never keeps it, and stores only “passed until” in the visitor’s browser.
Where to start
If your site is still being built, a password is fine for now. Before you open a shop that sells alcohol, vapes or CBD, put a real age question in front of it: try the Age Gate demo and click No to see what an under-age visitor sees, then compare it with the free widget plans above.
Reviewed and last updated 2 December 2026. All prices checked on that date.
- Quick answer
- What’s in this guide
- What Squarespace can do on its own
- The five methods compared
- Method 1: A site-wide or page password
- Method 2: The promotional pop-up
- Method 3: Elfsight Age Verification
- Method 4: Common Ninja Age Verification
- Also worth knowing: SF.digital Age popup
- Method 5: Age Gate by Squarespell
- Age Gate setup, step by step (9 steps)
- Age gates and search engines
- What an age gate does and does not do legally
- Which one fits
- Launch checklist
- Troubleshooting
- What we couldn’t verify
- FAQ
- Where to start










