Skip to main content
The age verifier is a fullscreen splash gate that loads in front of the storefront and asks the visitor for their date of birth. If the visitor is at least the minimum age you’ve set, the gate dismisses and they enter the site. If they decline or fail the check, they see a polite block message. The verified state persists in sessionStorage for the duration of the visit, so the gate appears once per session, not on every page load. The feature is off by default. Enable it from Theme Settings only if your products require an age check (alcoholic beverages, age-restricted skincare ingredients, certain wellness products, etc.).

When it appears

The gate renders inside layout/theme.liquid and overlays every template — homepage, PDP, collection, cart, account, search, everything. It’s the very first thing a new visitor sees.
After a successful verification, a sessionStorage flag is set:
On subsequent page loads in the same session, the gate stays hidden. Closing the tab clears the flag and the gate returns on the next visit.

Theme settings

Theme Customizer → Theme settings → Age verifier.

Common configurations

Spirits & wine merchants (US)

  • Minimum age: 21
  • Body copy: <p>By entering this site you confirm that you are of legal drinking age in your country of residence. This site contains content related to alcohol.</p>

Spirits & wine merchants (EU)

  • Minimum age: 18
  • Body copy: <p>By entering this site you confirm that you are of legal drinking age. This site contains content related to alcohol.</p>

Adult skincare

  • Minimum age: 18
  • Headline: Are you 18 or over?
  • Body copy: <p>Some of our products contain ingredients intended for adult use.</p>

Compliance note

The age verifier is a self-reported age check. It does not perform any verification against ID documents or external databases. It is the merchant’s responsibility to comply with all applicable laws and regulations in the jurisdictions where they sell. The verifier is a UX tool, not a legal substitute for actual age-verification compliance.

Implementation notes

The gate markup lives in snippets/age-verifier.liquid. The visibility logic and DOB validation live in an IIFE in assets/theme.js. The IIFE reads window.voyagerAgeVerifier (emitted from layout/theme.liquid based on theme settings) and only runs when the enable flag is true. The minimum age is checked by computing a precise age from the entered date of birth — accounting for month and day so a visitor whose 21st birthday is tomorrow still gets blocked today. Styling lives at the end of assets/premium.css under the .age-verifier__* namespace.