New

New in Pro: per-country and per-state age rules for WooCommerce checkout. See how it works

Region rules and strict content gating

Apply a different check and age by country, US state or the EU, and withhold page content on the server until the visitor passes.

Updated · 2 min read

On this page

Region rules

Region rules let one store behave differently in each market — for example an ID check in the UK and a date of birth in Germany. They need geo-location switched on.

  1. Go to Age Verification → Verification & Rules and switch on Use region rules.
  2. Click + Add rule and enter a region:
    • A country code, e.g. GB
    • A state, e.g. US-TX
    • EU for all 27 EU countries
    • * for everyone else
  3. Set Check to Yes / No, Date of birth, ID upload, ID check with provider (Stripe Identity, Veriff, Yoti, AgeChecker.Net or an EU wallet) or No check.
  4. Minimum age is optional. Leave it empty to use the General or Geo-Location age.
  5. Click Save Changes, then test with Preview as a visitor from (for example US-TX).

The most specific match wins: state → country → EU → everyone else.

Example

Region Check Minimum age
GB ID check with provider 18 (default)
US-TX ID check with provider 21
DE Date of birth 18
* Yes / No —

Tip: The Compliance assistant at the top of the plugin screens can create per-country rules for you.

Pages that depend on region rules aren’t stored in page caches.

Strict content gating

By default the age gate is a popup over the page. Strict gating goes further: the server sends a gate page instead of the content, and the real page only loads once the check passes.

Mode Effect
Off (popup only) Default — no server-side gating
Every page where the popup shows All gated pages are strict
Only pages I mark Pages or posts with Strict selected in their Age verification box
  • Strictly gated pages are never cached.
  • Administrators are never gated.
  • To let search engines index gated pages, switch on SEO search crawler bypass on the General tab.