Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Age gate or region gate blocking visitors: how to find and fix it

CNV-119Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

An age gate is a popup or full-page screen that asks "Are you over 18?" or for a date of birth before showing content. A region gate asks for your country, or redirects you based on your location. Shops selling alcohol, vaping, supplements, gambling or adult products often need them.

Why it costs you leads or sales

A gate sits in front of every other step. If a visitor cannot get past it, they never see your form, product page or checkout. Ad clicks you paid for end on a dead screen.

Where a broken gate stops the funnel
  1. Ad clickVisitor lands on your page
  2. Age or region gateConfirm button fails or loops
  3. Product or form pageNever reached
  4. Checkout or leadNo conversion

The gate fails on the first step, so every later step is lost.

Visitors reaching the page behind the gateExample numbers
Visitors reaching the page behind the gate (example)Gate works: 92 visitors out of 100; Gate fails on mobile: 55 visitors out of 100; Gate loops on every page: 30 visitors out of 10003571925530Gate worksGate fails on mobileGate loops on every p…visitors out of 100

Example: illustrative numbers showing how a gate that fails on some devices cuts the visitors who get through.

How to check if your site has it

Test the gate like a first-time visitor
  1. Open a private window

    Use a fresh incognito or private window so no old cookie remembers your answer.

  2. Visit from each target market

    If you sell in several countries, test with a VPN or a colleague in each one. Check you land on the right country version.

  3. Confirm the gate and click through

    Answer the gate on desktop and on a real phone. Check the overlay closes and the page you wanted loads.

  4. Browse to a second page

    Click a product or link. If the gate returns, the answer is not being remembered.

  5. Check the landing URL

    Click an ad link with ?gclid=test&utm_source=test. After the gate, check the address bar still holds those parameters.

  6. Open the page source

    With the gate showing, view the page in a text-only way or with JavaScript off. If the content is not there at all, crawlers may see nothing.

The gate covers the whole page

The overlay sits on top of the page and its confirm button does not respond, so the visitor is stuck.

How to fix it

The fix has the same goals on every platform: the confirm button must work, the answer must be remembered, the visitor must land where they meant to go, and tracking parameters must survive.

Fix the gate on your platform
  1. Find the gate plugin

    Check Plugins for an age verification or geo plugin and open its settings. Look at the cookie duration and which pages it covers.

  2. Set a remembered answer

    Set the cookie to last days, not just the session, and turn on any option to exclude checkout or thank-you pages if your rules allow it.

  3. Test for conflicts

    Disable caching and optimisation plugins briefly. Page caching can serve the gate to everyone even after they confirm.

Simple age gate that remembers the answerjavascript
(function () {
  var gate = document.getElementById('age-gate');
  if (!gate) return;
  if (document.cookie.indexOf('age_ok=1') !== -1) {
    gate.style.display = 'none';
    return;
  }
  document.getElementById('age-confirm').addEventListener('click', function () {
    document.cookie = 'age_ok=1; max-age=2592000; path=/; SameSite=Lax';
    gate.style.display = 'none';
    document.body.style.overflow = '';
  });
})();

How to confirm it's fixed

Confirmation checks
  • A fresh private window shows the gate once and the confirm button works on desktop and mobile
  • After confirming, a second page loads with no gate
  • Each target country lands on the right version
  • The address bar still contains gclid and UTM parameters after the gate
  • The form, product page and checkout are reachable after the gate
  • Page content is present in the HTML source behind the gate
Gate before and after the fix

Before

  • Gate returns on every page
  • Confirm button fails on some phones
  • Redirect strips gclid and UTMs
  • Robots and crawlers stopped at the gate

After

  • Answer remembered for days
  • Button works on all tested devices
  • Parameters kept through the gate
  • Funnel steps reachable after one confirm

How to prevent it happening again

Gates break when someone updates a theme, a consent tool, a cache setting or a geo rule. Retest after any of those changes. Keep one owner for the gate, and write down which countries and pages it covers.

How FunnelGuard handles this

FunnelGuard detects this only partly. When a gate stops the robot, the journey is reported as a blocked step: the check fails at that step, a failure is re-checked from a second region, and you get one alert with a screenshot and a likely cause.

Questions people ask

Why is my age gate blocking real visitors?

Common causes are a confirm button that does not respond on some devices, a cookie that is not saved so the gate returns on every page, or page caching that serves the gate to everyone. Test in a private window on desktop and a real phone to see which one it is.

Why does my age verification popup keep reappearing?

The answer is not being remembered. The cookie may be missing, set for the session only, blocked by a caching layer, or set on a different domain or path. Set a first-party cookie with a duration of days and path=/.

Can an age gate hurt my Google Ads or SEO?

Yes, if it blocks the landing page, strips gclid and UTM parameters in a redirect, or hides content from crawlers. Layer the gate over content that is in the HTML, and keep the query string after the gate.

How do I test a region gate for another country?

Use a VPN set to that country or ask a colleague there, in a fresh private window. Check you land on the right version and that prices, currency and forms work.

Why does a monitoring robot get stopped by my age gate?

A robot starts with no cookie, so it sees the gate like a first-time visitor. If the gate cannot be confirmed by a normal click, or acts as bot protection, the journey stops at that step.

Does FunnelGuard bypass age gates or CAPTCHAs?

No. FunnelGuard never bypasses CAPTCHAs or bot protection. If a gate stops the robot, the step is reported as blocked and you get an alert with a screenshot.

How do I stop an age gate from stripping UTM parameters?

Change the gate or redirect so it keeps the full query string when it sends the visitor on. Then test with a link containing gclid and utm_source and check the address bar after confirming.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: reported as blocked step.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.