Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Country blocked by geo-IP: how to find and fix store lockouts

CNV-345High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Geo-IP blocking means your site looks up the country of a visitor's IP address and refuses the request if that country is on a deny list (or not on an allow list). The block can sit in several places: a CDN or web application firewall (WAF) such as Cloudflare, a security plugin, your hosting panel, server config, or an app on your store.

Every blocked visitor is a lost lead or order, and you will not see it in your analytics because the page never loaded and no tags fired. Blocks are often added for a good reason, such as stopping spam from a country, and then stay in place long after. They also cause false positives: VPN users, travellers, expats, and visitors on mobile networks whose IP is mapped to the wrong country.

Where a geo-IP block breaks the journey
  1. Ad or search clickVisitor from a blocked country clicks through
  2. Geo-IP ruleCDN or firewall denies the country
  3. Product pageNever loads
  4. Checkout or formNever reached
  5. Purchase trackingNo tags fire

The request is refused before any page, form or checkout loads.

Orders by visitor countryExample numbers
Orders by visitor country (example)Country A: 120 orders per week; Country B: 85 orders per week; Country C (blocked): 0 orders per week; Country D: 60 orders per week0469212085060Country ACountry BCountry C (blocked)Country Dorders per week

Example: a store that accidentally blocks one country sees that country drop to zero while the others stay steady.

How to check if your site has it

You cannot spot this from your own browser. Check the rules, then test from the affected countries.

Find out whether a country is blocked
  1. List every layer that can block by country

    Check your CDN or WAF (for example Cloudflare), your host's firewall, security plugins, server config and any store apps. Blocks can exist in more than one place.

  2. Look for country rules

    Search each layer for country lists, allow lists, 'geo' or 'region' settings and firewall rules that use a country field.

  3. Check your firewall or access logs

    Filter for 403 responses or blocked events and group them by country. A country with many blocks and few successes is a sign.

  4. Compare analytics by country

    In GA4 or your store reports, look for a country that used to send traffic or orders and dropped to zero. Ad platforms may still show clicks from it with no sessions.

  5. Test from the country itself

    Ask someone there to open your site on mobile data, or use a reputable geo-testing tool or VPN where its terms allow. Check the home page, a product page and the checkout.

How to fix it

Decide which countries you genuinely cannot serve (for legal, shipping or fraud reasons). Remove every other country from the block list. Where you can, prefer rules that act only on risky actions rather than the whole site.

Remove or narrow the country block
  1. Open your security or geo plugin

    Check plugins such as firewall, security or geo-blocking plugins for a country blocking or 'Block countries' setting.

  2. Remove wrongly blocked countries

    Delete countries you do serve from the block list, or switch from blocking the whole site to blocking only the login page or checkout form if you are fighting spam.

  3. Clear caches

    Purge your cache plugin and CDN cache so old block responses are not served.

Cloudflare: example rule to review (Security > WAF > Custom rules)text
Expression: (ip.geoip.country in {"XX" "YY"})
Action: Block

Fix: remove the countries you serve from the list,
or change the action to Managed Challenge, or disable the rule.

How to confirm it's fixed

Confirmation checks
  • The block rule is removed or limited to countries you cannot serve
  • Caches (CDN, plugin, host) are purged
  • Home page, a product page and checkout load from each affected country
  • No 403 or block page appears on mobile data
  • GA4 shows sessions from the country again
  • A test order or form submission completes from there

How to prevent it happening again

Prevention habits
  • Keep a written list of countries you block and why
  • Review firewall and CDN rules every quarter
  • Prefer challenges over blocks for spam and bot traffic
  • Check country-level traffic and orders after any security change
  • Test from at least one non-home country after changing firewall rules
  • Record who added each rule and when
Blanket block vs targeted rule

Blanket block

  • Whole country gets a 403
  • Travellers and VPN users locked out
  • Lost sales are invisible in analytics

Targeted rule

  • Only countries you cannot serve are denied
  • Risky actions get a challenge
  • Country traffic is monitored

How FunnelGuard handles this

FunnelGuard detects this issue only partly. Its robot visitor runs your journeys from the EU or the US. If a geo-IP rule blocks the EU or US location, the journey fails at the first step, the failure is re-checked from a second region, and you get one alert with a screenshot and a likely cause.

Questions people ask

Why can't customers in some countries open my website?

A geo-IP rule in your CDN, firewall, security plugin, host or store app may be denying their country. They usually see a 403 or 'Access denied' page. Check each layer for country rules, then test from the affected country.

How do I check if my website is blocked in a country?

Ask someone there to open it on mobile data, or use a reputable geo-testing tool or VPN where its terms allow. Also check firewall logs for 403s grouped by country, and look for countries whose GA4 sessions dropped to zero.

How do I unblock a country in Cloudflare?

Go to Security > WAF > Custom rules and find any rule using the country field (ip.geoip.country). Remove the country from the list, switch the action to Managed Challenge, or disable the rule, then test again.

Will geo-blocking hurt my ad campaigns?

Yes, if you target countries that are blocked. You pay for clicks, but visitors hit a block page and no tags fire. You see clicks in the ad platform with few or no sessions in analytics.

Why do some visitors get blocked when their country is allowed?

IP location databases are imperfect. Mobile networks, VPNs, corporate proxies and new IP ranges can be mapped to the wrong country. Use challenges instead of hard blocks where you can, to let real people through.

Can FunnelGuard tell me which countries are blocked?

Not fully. It runs journeys from the EU and the US, so it catches a block that affects those regions. It does not test other countries, so check those by hand with firewall rules, country analytics and local tests.

Is it ever right to block a country?

Yes, for legal, sanctions, shipping or fraud reasons. Keep those blocks, but document them and review them regularly, and make sure no other country is caught by accident.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: run from eu/us.

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.