Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Country block rejecting foreign leads: how to find and fix it

DLV-206Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Geo-blocking means your site looks up the country of a visitor's IP address and refuses the request if the country is on a block list (or not on an allow list). The rule can live in several places: a CDN or firewall such as Cloudflare, a host-level firewall, a WordPress security plugin, a web server config, or the form tool itself.

Why it costs you leads or sales

Blocked visitors rarely tell you. They just leave. Because the block happens before your page or form handler runs, nothing reaches your inbox, CRM or analytics, so the loss is invisible. Everything looks normal from your own country.

Where a foreign lead is lost
  1. Visitor abroadReal customer, IP in a blocked country
  2. Firewall / geo ruleReturns 403 or a block page
  3. Form submitNever reached
  4. Email and CRMNo lead arrives

The block sits in front of the form, so later steps never happen and nothing is logged in your CRM.

Leads by visitor locationExample numbers
Leads by visitor location (example)Home country: 120 leads per month; Allowed abroad: 18 leads per month; Blocked countries: 0 leads per month04692120180Home countryAllowed abroadBlocked countriesleads per month

Example: a site that blocks two countries loses every enquiry from them, while the home market looks healthy.

How to check if your site has it

Look in every layer that can block by country, then test from outside your own country.

Places to look for a country rule
  • Cloudflare: Security > WAF > Custom rules, searching for ip.geoip.country or ip.src.country
  • Your host's firewall or control panel (look for Geo blocking, Country blocking or IP deny)
  • WordPress security plugins such as Wordfence (Firewall > Blocking > Country blocking) or similar
  • Server config: nginx geo or GeoIP modules, Apache or .htaccess rules
  • Your form tool or CAPTCHA settings for allowed regions
  • Server or firewall logs showing 403 responses for the form URL
What a geo block usually looks like to the visitor
Where it blocksWhat the visitor seesWhat you see
CDN or WAFBlock page or 403Event in firewall log only
Security pluginAccess denied pageBlocked entry in plugin log
Web server403 Forbidden403 lines in access log
Form toolSubmit fails or is droppedNothing, or a silent rejection

How to fix it

Remove the lost leads without reopening the spam door
  1. Find the exact rule

    Use the checklist above. Note which countries it covers, which URLs it applies to and who added it and why.

  2. Decide who really needs blocking

    Check your spam and lead data. If spam comes from a few countries and you have no customers there, a narrow block can stay. If you serve abroad, do not block whole regions.

  3. Prefer a challenge over a hard block

    Change the action from Block to a managed challenge or CAPTCHA for the countries you distrust, so real people can still pass.

  4. Limit the rule to what it protects

    Apply it to the form endpoint, not the whole site, so people can still read pages and call or email you.

  5. Add other spam controls

    Use a honeypot, rate limiting or a CAPTCHA so you rely less on location.

  6. Retest from other countries

    Submit a test lead from at least one allowed and one previously blocked region.

Where to change the rule
  1. Open your security plugin

    In Wordfence go to Firewall > Blocking and remove or edit the country block. Other plugins have a similar Geo or Country setting.

  2. Check the host too

    Some hosts add their own firewall. Look in the hosting control panel for geo rules.

Example Cloudflare rule expression (challenge, form path only)text
(ip.src.country in {"XX" "YY"} and http.request.uri.path contains "/contact")

How to confirm it's fixed

Confirmation checks
  • The page loads and the form submits from a previously blocked country
  • The test lead arrives in the inbox and the CRM
  • The firewall log no longer shows blocks or 403s for real form submissions
  • Spam volume has not jumped over the next few days
Hard block vs scoped challenge

Before

  • Whole countries get a 403
  • Rule applies to every page
  • Lost leads are never logged

After

  • Real people can pass a challenge
  • Rule only covers the form endpoint
  • Spam is controlled by several layers

How to prevent it happening again

Habits that keep geo rules safe
  • Write down why every country rule exists and when to review it
  • Review rules after each spam wave, as temporary blocks tend to stay
  • Use challenges instead of hard blocks where possible
  • Re-test the form from outside your home country after any firewall or plugin change
  • Compare lead counts by country over time to spot a sudden drop

How FunnelGuard handles this

FunnelGuard detects this only partly. It runs your journeys in multiple regions (the EU and the US), so if a country or region block stops the robot visitor in one region but not the other, you see a failed step and an alert with a screenshot and a likely cause. A failure is re-checked from a second region first.

Questions people ask

Why is my contact form not working for people in other countries?

A country or geo-blocking rule is a common cause. It may sit in your CDN, firewall, security plugin or server config and return a 403 or block page to visitors from certain countries. Check those layers and test from the affected country.

How do I check if my website blocks certain countries?

Look for country rules in your CDN or WAF (for example Cloudflare custom rules), your security plugin, your host's firewall and your server config. Then load the site and submit the form from another country using a VPN or a colleague abroad.

Should I block countries to stop form spam?

Only as a narrow measure. If you have no customers in a country that sends heavy spam, a scoped block can help, but a challenge, honeypot or rate limit is safer because it does not turn away real people who are travelling or on a VPN.

How do I stop blocking real customers who travel or use a VPN?

Change hard blocks to a managed challenge or CAPTCHA, limit the rule to the form endpoint, and rely on other spam controls. That way real people can still get through.

How do I unblock a country in Cloudflare?

Open Security > WAF > Custom rules, find the rule that uses the country field, and either delete it, remove the country from the list, or change its action from Block to Managed Challenge.

Can FunnelGuard detect a country block?

Partly. It runs journeys from the EU and the US, so it can catch a block that affects one of those regions. It cannot test every other country, so you need to check those by hand.

Will a country block show up in my analytics?

Usually not. The request is rejected before your page or tags load, so the lost visitor leaves no trace in analytics or your CRM. Firewall and server logs are the best place to see it.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: Multi-region runs.

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.