On this page
What this issue is
Many countries restrict who can buy alcohol, vapes, tobacco and adult content. Selling them online means you must take steps to stop under-age buyers. This issue means those steps are missing, broken or too weak.
There are three common levels of check:
| Level | What it is | Strength |
|---|---|---|
| Age gate | A pop-up asking you to confirm you are over a set age or enter a date of birth | Weak: easy to click through |
| Checkout confirmation | A required tick box or date of birth field before paying | Weak to medium |
| Verified check | ID check, third-party age verification service or ID check on delivery | Strong |
Why it costs you leads or sales
The main cost is risk, not conversion. Missing checks can bring regulator fines, licence problems and complaints. Payment providers and ad platforms also restrict these products, and can pause your account or reject your ads if your site does not show proper controls.
There is a sales side too. A gate that is badly built can block real adults, cover the page on mobile or stop the checkout button working. Then good customers leave and you never see why.
- Landing pageNo age gate shown
- Product pageRestricted item visible to all
- CheckoutNo date of birth or tick box
- DeliveryNo ID check by courier
With no check, nothing stops the order from the first page to the delivery.
Example: illustrative scores only, not real data. They show that compliance risk is high while conversion effect is small.
How to check if your site has it
Open a private window
Use a fresh incognito or private window with no cookies, so no earlier age confirmation is remembered.
Visit from a direct link
Open a product page directly, not only the home page. Many gates only show on the home page.
Try to buy
Add a restricted item to the cart and go to checkout. Note whether you are asked for a date of birth, a confirmation or an ID check.
Test on mobile
Repeat on a phone. Check that the gate fits the screen and that its buttons can be tapped.
Test the other routes
Try express checkout buttons, ad landing pages, and any quick buy links. These often skip the gate.
Try saying no
Click the under-age option or enter a young date of birth. You should be blocked from the site or the order.
How to fix it
Layer the checks. Use a gate on entry, a required confirmation at checkout, and a verified check where the law or your payment provider demands one. Keep the exact steps below as a starting point, since menu names depend on your theme and apps.
Pick an age verification app
Search the Shopify App Store for age verification or age gate apps. Check that they support checkout checks and the countries you sell to.
Add a checkout confirmation
Checkout options depend on your plan and checkout setup. Use the app's checkout feature or a required field if your plan supports it.
Test with the theme preview
Preview before publishing and check product pages, collections and the cart.
Install an age verification plugin
In Plugins > Add New, search for age verification. Choose one that is maintained and works with WooCommerce if you use it.
Set the minimum age and scope
Apply the gate to the whole site or to restricted categories only, and set the age for each country if the plugin allows.
Add a checkout field
Add a required date of birth or confirmation field at checkout with a checkout field plugin or a snippet, and block orders under the age.
Build a gate as a modal
Create a full-page overlay with Confirm and Exit buttons and add interactions to show it on load.
Remember the answer
Use a small custom code embed to store the choice in a cookie or local storage so it does not appear on every page.
Use a verified service for checkout
Webflow Ecommerce has no built-in age check, so add an external service or checkout confirmation that suits your region.
Use the Wix App Market
Search for age verification or age gate apps and check the reviews and supported regions.
Add a checkout confirmation
Use the checkout settings to add a required custom field or tick box, where available on your plan.
Add a gate with code injection
Use Settings > Advanced > Code Injection (plan dependent) to add an age gate script, or use a pop-up block.
Add a checkout note or field
Use product additional fields or a required checkbox where available, and review each order before shipping.
Check on the server
Do not rely on front-end scripts alone. Store the verified status in a server-side session and reject checkout for unverified sessions.
Use a verification provider
For strict rules, integrate a third-party age or ID verification service through its documented API.
Here is a simple front-end gate. It is only a basic layer and is easy to bypass, so pair it with a server-side or checkout check.
<div id="age-gate" style="position:fixed;inset:0;background:#fff;z-index:9999;display:none;align-items:center;justify-content:center;flex-direction:column">
<p>Are you 18 or older?</p>
<div>
<button id="age-yes">Yes, I am</button>
<button id="age-no">No</button>
</div>
</div>
<script>
(function () {
var gate = document.getElementById('age-gate');
if (localStorage.getItem('age_ok') !== '1') { gate.style.display = 'flex'; }
document.getElementById('age-yes').onclick = function () {
localStorage.setItem('age_ok', '1');
gate.style.display = 'none';
};
document.getElementById('age-no').onclick = function () {
window.location.href = 'https://www.google.com';
};
})();
</script>Before
- No gate on entry
- No age field at checkout
- Express checkout skips all checks
- Courier not told to check ID
After
- Gate shown on every entry page
- Required date of birth or verified check at checkout
- Express checkout also covered
- Delivery notes request ID where required
How to confirm it's fixed
- The gate shows in a fresh private window on the home page and on a direct product link
- The gate works and can be tapped on a phone
- Choosing under-age blocks the visit or the order
- Checkout asks for the required confirmation or verification
- Express checkout and ad landing pages are covered
- A genuine adult can still complete the order without errors
- Your payment provider and ad platform policies are met
How to prevent it happening again
Age checks often break after theme updates, app changes, new landing pages or new checkout options. Treat them as part of your release routine.
- Retest the gate and checkout in a private window after every theme, plugin or app update
- Add the age check to your launch checklist for new landing pages and campaigns
- Review rules for each country you ship to at least once a year
- Keep a record of your checks and settings in case a regulator asks
- Check that cookie banners and pop-ups do not hide or break the gate
How FunnelGuard handles this
FunnelGuard does not check this yet. Whether an age gate is shown and whether it is strong enough is a possible future check, not something it does today.
What FunnelGuard does do nearby: a robot visitor runs your real customer journeys on a schedule, such as a lead form or checkout, from the EU or the US. It checks each step and the tracking hits sent to platforms like GA4, Google Ads and Meta. A failure is re-checked from a second region before one alert is sent with a screenshot and a likely cause. So if a badly built age gate stops the journey from completing, that broken step can show up as a failed journey. It will not tell you that a gate is missing or too weak.
Questions people ask
Do I need age verification to sell alcohol online?
In most countries, yes. You usually need a licence and must take reasonable steps to stop sales to under-age buyers, which often includes an age check at checkout and at delivery. Rules differ by country and state, so confirm them with your regulator or a lawyer.
Is a pop-up asking 'Are you over 18?' enough?
Often not. A click-through gate is easy to bypass, so it is only a weak first layer. Many regimes expect a stronger check at checkout, a verified ID check or an ID check on delivery, especially for adult content.
How do I add an age gate to my Shopify store?
Install an age verification app from the Shopify App Store and set the minimum age and the pages it covers. Then add a checkout confirmation if your plan allows it. Test in a private window on desktop and mobile before you publish.
Why is my age gate not showing?
Common causes are a cached page, a script blocked by a cookie banner, a theme update that removed the code, or a gate that only loads on the home page. Test in a private window from a direct product link and check the browser console for errors.
Can an age gate hurt my conversion rate?
It can if it is badly built, such as covering buttons on mobile or looping after confirmation. A well-built gate that remembers the answer adds only one click for adults. Test it on real devices.
Will my ads or payment account be affected without age checks?
They can be. Ad platforms and payment providers restrict alcohol, vape and adult products and may reject ads or pause accounts if your site lacks required controls. Check each provider's current policy for your product.
Does FunnelGuard check for age verification?
No, not yet. It is a possible future check. FunnelGuard does run your real customer journeys on a schedule, so a gate that blocks a journey from completing can show as a failed step, but it will not tell you a gate is missing.
Related issues
- OPS-364Restricted products sold to blocked regionsFix guide
- OPS-356Terms and conditions missing or not linked at checkoutFix guide
- OPS-360Business identity/address missing (EU e-commerce directive)Fix guide
- OPS-354Refund/returns policy missingFix guide
- OPS-355Shipping info and costs missing before checkoutFix guide
- OPS-349Hidden fees added at checkout (drip pricing)Fix guide