How to block countries in Avada Forms?

Avada Forms

Avada Forms doesn’t include built-in country blocking. To stop spam and unwanted submissions, you can use OOPSpam for form-level country filtering and intelligent spam control or use Cloudflare WAF for site-level blocking. The best practice is to combine both: OOPSpam for precision and Cloudflare for broad protection.

Why You Might Need Country Blocking

Blocking certain countries can reduce spam, fake leads, or automated submissions. Avada Forms usually sends data through /wp-admin/admin-ajax.php or a custom submission path. Because it lacks a built-in geo filter, you’ll need an external tool to restrict submissions by country.

You can either:

Method 1: Use OOPSpam for Form-Level Country Filtering 

OOPSpam integrates seamlessly with Avada Forms. It uses machine learning and reputation checks to identify spam and lets you block or allow countries directly from WordPress. This gives you accurate, invisible protection without disrupting real users.

How to Set It Up

Install and activate OOPSpam Anti-Spam. Get it from the WordPress Plugin Directory. 

Create an OOPSpam account at OOPSpam.com and generate your API key.

OOPSpam Anti-Spam

In WordPress, go to Settings → OOPSpam Anti-Spam → General, and paste your API key.

 OOPSpam Anti-Spam General Settings

Activate spam protection so OOPSpam checks Avada Forms submissions automatically.

Activate spam protection on Avada Forms

Set up Country Filtering under the General Settings tab:

Country Filtering settings

Trusted Countries (always bypasses spam checks) 

Submissions from these countries skip all spam checks. Use this only for your core market or internal users.

Country Allowlist (only accept from these countries) 

Only allows submissions from selected countries. Everyone else is blocked. Leave empty if you don’t want a strict region rule.

Country Blocklist (reject submissions from these countries) 

Rejects submissions from listed countries. Trusted countries always override the blocklist.

Turn on extra filters:

After setting up your filters, test and monitor your Avada Form by submitting it in Incognito mode. Then, check the Spam & Ham logs in WordPress to confirm that unwanted submissions are being blocked. 

Spam & Ham logs in WordPress

You can also review the OOPSpam Dashboard to see which submissions were filtered, along with the reasons and traffic patterns.

OOPSpam Dashboard logs

Benefits of OOPSpam for Avada Forms

Method 2: Use Cloudflare WAF to Block Countries at the Edge

Cloudflare’s Web Application Firewall (WAF) lets you block or challenge requests by country before they reach WordPress. This is best for region-limited sites or when you’re facing high-volume spam attacks.

How to Set It Up

Cloudflare WAF to Block Countries

  1. Log in to your Cloudflare Dashboard.
  2. Go to Security → WAF → Firewall Rules.
  3. Click Create a new rule and name it “Block Countries.”
  4. Set the field to Country, choose the operator “is in,” and select the countries you want to block.
  5. Choose Block as the action and click Save to apply the rule.

Best Practice: Combine Cloudflare’s edge filtering with OOPSpam’s form-level detection for maximum protection.

Keep Core Avada Protections Active

Avada Forms includes essential anti-spam tools that should stay on:

Don’t stack multiple CAPTCHA types. Use one verification field plus OOPSpam for server-side defense.

Final Takeaway

The best way to block countries in Avada Forms is to use OOPSpam for precision and Cloudflare WAF for extra perimeter security. 

Together, they create a layered defense, your Avada Forms stay clean, your site stays visible, and only legitimate users can submit.

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: