How to block countries in MetForm?

MetForm

MetForm does not have built-in country blocking. To block countries, you must use a third-party tool like OOPSpam or your firewall (Cloudflare). Blocking by country protects your forms from spam and unwanted regions. It also keeps your site fast, secure, and focused on real leads.

This guide shows the fastest way to do it, without breaking your website or hurting SEO.

Best Method: Block Countries Only on MetForm Forms

If your goal is to protect form submissions but keep your website public worldwide, use OOPSpam Anti-Spam  (that’s us 👋). It integrates directly with MetForm.

Why this method works best

This gives you precision control and avoids hurting real users.

How to Block Countries in MetForm Using OOPSpam

Follow these steps:

In WordPress dashboard, go to Plugins → Add New. Search OOPSpam Anti-Spam,install and activate.

OOPSpam Anti-Spam

Sign up at OOPSpam.com and get your API key.

OOPSpam Dashboard

Go to OOPSpam Anti-Spam → Settings and paste your API key.

OOPSpam Anti-Spam → Settings

Enable MetForm Spam Protection.

MetForm Spam Protection

Set Up Country Filtering

Under OOPSpam → Settings, find Country Filtering.

OOPSpam Country Filtering

You’ll see three options:

Select the countries you want to allow or block, then Save changes.

OOPSpam will now filter MetForm submissions using IP geolocation, spam signals, and behavior analysis.

Turn on these inside OOPSpam:

These features stop advanced bots and human-farm spam that bypass basic CAPTCHAs.

Also consider adding Cloudflare Turnstile for modern bot defense. It works with MetForm and gives better accuracy than traditional CAPTCHAs.

Option 2: Block Countries Across Your Entire Site

Use this only if you must block countries for legal, compliance, or high-volume attack reasons.

Block Countries Across Your Entire Site (Cloudflare)

Cloudflare steps

  1. Log in to Cloudflare
  2. Go to Security → WAF → Firewall Rules
  3. Click Create Rule
  4. Condition: Country → is in → [select countries]
  5. Action: Block
  6. Save

Hosting firewall alternative

Some hosts (like SiteGround) offer country blocking inside their security panel.

Warning: This blocks users and crawlers from entire regions. Use carefully to avoid hurting traffic and SEO.

When to Choose Each Method

Method Best For Notes
Form-level (OOPSpam) Lead quality, spam control, SEO safety Recommended
Cloudflare / Hosting Firewall Compliance or blocking entire regions May reduce global visibility

Final Thoughts

MetForm cannot block countries on its own. If your goal is clean leads and reduced spam without hurting SEO, choose OOPSpam form-level country rules. If your priority is compliance or blocking entire regions entirely, use Cloudflare WAF geo-blocking.

Spam Protection for WordPress, Zapier, Make and more.

Since our launch in 2017 we’ve been perfecting our API to be the trusted option for small businesses to enterprise— and continue to stick to our values of being the accessibility and privacy-friendly option. Give us a shot!

Try OOPSpam for free → Try our WordPress plugin for free →

✓ No credit card required ✓ Cancel anytime

Enjoy Reading This Article?

Here are some more articles you might like to read next: