Strata

Age verifier

Ask visitors to confirm that they meet the store’s age requirement before entering.

Age verifier places an age-confirmation screen in front of the storefront. Use it only when the products, markets, or store policy genuinely require age-gated access.

An age verification window centered over the home page, asking Are you of legal age? with Yes, enter and No, leave buttons.

Age verifier on desktop. The page behind is blurred until the visitor answers.

The age verification window on mobile with the two buttons stacked.

Age verifier on mobile.

Add Age verifier

A new Strata install already includes Age verifier in the Overlay group, hidden. In Shopify’s Theme Editor, select it in the Overlay group and choose Show section (the eye icon) to turn it on. If it was removed, select Add section in the Overlay group and choose Age verifier. Only one Age verifier can be added.

Content

Age verifier Content settings in the Theme Editor: Eyebrow, Heading, Text, Confirm button, Decline button.

The Content group in the Theme Editor. The values shown are examples, not defaults.

SettingWhat it controls
EyebrowShort context line above the confirmation question.
HeadingMain age-confirmation question.
TextExplanation of the requirement. Use wording that accurately reflects the store’s products and markets.
Confirm buttonAction that lets an eligible visitor enter.
Decline buttonAction for a visitor who cannot or does not want to confirm.

Keep both actions explicit. Do not use vague labels that could make a decline look like consent.

Declined message

Age verifier Declined message settings in the Theme Editor: Eyebrow, Heading, Text, Exit link, Exit button, Return button.

The Declined message group in the Theme Editor.

After a visitor declines, Age verifier shows a restricted-access message.

SettingWhat it controls
EyebrowShort context line for the restricted state.
HeadingMain declined message.
TextExplanation of why access remains restricted.
Exit linkOptional destination for leaving the storefront. When blank, the exit button is hidden and access remains restricted.
Exit buttonLabel for the exit-link action.
Return buttonReturns to the confirmation question so the visitor can reconsider the choice.

Returning to the question does not change eligibility. Keep the denied message respectful and give visitors a useful exit destination when appropriate.

The declined state with the message Sorry, you cannot enter and a Go back button.

After No, leave: the Declined message with its Return button.

Layout

Age verifier Layout settings in the Theme Editor: Content alignment.

The Layout group in the Theme Editor.

Content alignment

Choose Left or Center for the verifier content. Review long policy text on desktop and mobile before publishing.

Features

Age verifier Features settings in the Theme Editor: Remember confirmed visitors, Remember for.

The Features group in the Theme Editor.

Remember confirmed visitors

When enabled, a visitor who confirms can return without answering again during the selected period. The confirmation is remembered only in that browser; it is not identity verification, a customer-account record, or proof of legal age.

Remember for

Sets the remembered period from 1–90 days in 1-day steps. The default is 30 days. This control is available when Remember confirmed visitors is enabled.

With remembering off, the confirmation is not stored at all, so the question appears again on every page the visitor opens. Turn it off only when the store's policy requires that. Otherwise, choose a period that matches the store’s policy and avoid interrupting returning visitors more often than necessary.

Behavior to review

Visitor stateWhat happens
First visit with no remembered confirmationThe confirmation question appears before storefront access.
Visitor confirmsThe storefront opens. The choice is remembered when Remember confirmed visitors is enabled.
Visitor declinesThe declined message appears and storefront access remains restricted.
Exit link is blankThe exit button is hidden; the visitor can return to the question but cannot enter without confirming.
Remembering is offThe question appears again on every page load, including moving between pages of the store.

Test confirm, decline, return, and exit actions with keyboard and touch input. Also review the experience in a private browser window and after the remembered period has expired.

Policy and accessibility

  • Confirm that the age policy and wording are appropriate for every market where the store operates.
  • Treat Age verifier as a visitor confirmation, not as legal identity verification.
  • Keep the question and both choices understandable without relying on color or motion.
  • Do not place essential policy information only in an image.
  • Check focus order, visible focus, screen-reader labels, and reduced-motion behavior before publishing.

Search documentation

Search across the Strata guide