Skip to main content
6NN6C SEO & GEO research
WordPress plugin Free

Inquiry Guard

Anti-spam plugin for Elementor forms

An anti-spam form plugin built up over years of running export websites: six lay…

Needs
WordPress 6.0+, PHP 7.4+, Elementor Pro
You get
Upload and activate in admin; every block is logged

Why I built this plugin

Sooner or later the contact form on an export website runs into three things: the inbox fills up with SEO pitches and gambling links, burying real inquiries; bots skip the page and post straight to the server (the Page URL in the inquiry is empty — the script never opened your site); and once you add a strict CAPTCHA, the bots are stopped, but so are real buyers who can’t be bothered.

This plugin is what I built up over years of maintaining my own export websites. Its core position is just one thing: anti-spam shouldn’t cost you inquiries. Zero friction for real people (no CAPTCHA, no slider), zero tolerance for wrongful blocks (better to hold a submission than lose you a customer).

Six layers of protection

Validation runs twice, in front-end JavaScript and back-end PHP; the back end scans every submitted field automatically (including fields forged by bots), so you don’t need to specify field IDs one by one.

  1. Keyword filtering on all fields — any banned keyword blocks the submission, with whole-word matching (seo won’t wrongly hit "houseowner"). Keeping http:// is recommended to block every inquiry that contains a link.
  2. Email validation and blacklist — format check plus a blacklist that accepts whole domains (@spam.com) or address prefixes (test@).
  3. Honeypot — injects a hidden field real people can’t see; bots that fill in forms automatically give themselves away. It’s hidden by moving it off-screen, which scripts detect less easily than display:none. No false positives.
  4. Submission speed check — no person fills in a form in 3 seconds. The timestamp travels through both a hidden field and a cookie, so it works with page caching.
  5. Source check — validates Elementor’s Page URL metadata directly, so bots can’t get past it by forging the referer header; a relaxed mode recognizes real people coming from ad landing pages to avoid wrongful blocks.
  6. Full block log — time, reason, full content, IP and source are logged for each block, filterable by reason, with manual tagging and automatic flagging of "likely real ad visitors" for review.

The order of checks is deliberate: first the "definitely spam, no false positives" checks (honeypot → keywords → email), then the behaviour checks that could catch a real person (source → speed). The statistics are more accurate and real people are safer.

Wrongful blocks don’t lose orders

Any anti-spam system can catch the wrong thing, so every blocked submission can be recovered:

  • One-click resend — spot a real inquiry in the block log, click "Resend" and it goes to your inbox in the same format as Elementor’s native notification, with the customer’s email set as the reply-to address.
  • Manual tagging loop — mark each record as "real inquiry" or "spam" to keep tuning your keywords and blacklist.
  • Likely real ad visitors — blocks whose source carries ad parameters such as gclid or utm_ are grouped separately, so sites running Google Ads can review them and not waste ad spend.
  • Automatic cleanup — records are cleaned up by retention days, with a cap of 3000 records in total, so the database doesn’t slow down.

Block reason codes

Every block has a clear reason code, shown after the error message the visitor sees and in the block log:

Code Meaning Category
KEYWORD The submission contains a banned keyword Keywords
EMAIL-FORMAT Invalid email format Email
EMAIL-BLACKLIST The email is on the blacklist Email
HP The honeypot field was filled in (bot form-filling) Bot
PAGEURL-MISSING Page URL is empty (a script posted directly, skipping the page) Bot
PAGEURL-FOREIGN Page URL domain is not this site Bot
REF-MISSING No HTTP referer header (strict mode only) Bot
REF-FOREIGN HTTP referer is not this site (strict mode only) Bot
TS-FAST Submitted faster than the threshold (default 3 seconds) Bot
TS-INVALID Invalid timestamp (forged or expired) Bot
TS-MISSING No timestamp at all (this switch is off by default) Bot

Installation and quick start

  1. Upload and activate the plugin — in the admin go to "Plugins → Add New → Upload Plugin", upload the zip downloaded from this page and activate it. Elementor Pro must be installed (forms are a Pro feature).
  2. Open the "Inquiry Guard" menu — once activated, a menu with a shield icon appears in the left sidebar; all settings are on one page.
  3. Fill in keywords and the email blacklist — one per line. Keeping http:// and https:// is recommended to block inquiries with links; the honeypot, speed check and source check are on by default.
  4. Set the error message and forwarding email — the error message can use the sample text in one click (replace the placeholder email in the sample with your own); leave "Forward to" empty to send to the site admin email.

Basis and limits

  • Blocking happens in Elementor Pro’s form validation hook, so a blocked submission never triggers Elementor’s email; the visitor sees your custom error message (with the block code, for troubleshooting)
  • It only protects Elementor Pro forms — Contact Form 7, WPForms and other form plugins are not covered
  • Keyword filtering is exact or whole-word matching with no semantic judgement; for content spam (sales pitches written as normal sentences), keep tuning the blacklist
  • Blocked content includes the visitor’s original submission and IP, which is your own site’s data — it’s a good idea to mention this in your privacy policy

Related reading

Frequently asked questions

What if a real customer's inquiry gets blocked?

Open "Block log", find the record (you can filter by reason) and click "Resend" to send the full content to your inbox, so no order is lost. Then adjust the related setting based on the block code — for example, if the reason was KEYWORD, check whether your keyword list is too broad.

Does it affect the form experience for normal visitors?

No. All protection is invisible to real people: no CAPTCHA, no slider, no extra steps. Live front-end validation can even point out problems like an invalid email format while the visitor is typing.

Which version of Elementor is required?

Elementor Pro (any recent version). The form widget is a Pro feature, and the plugin uses Pro's form validation hook to block on the server.

Does uninstalling leave junk data behind?

No. "Delete plugin" in the admin removes the block log table and all settings automatically; if you only deactivate it, the data stays and everything is as before when you reactivate.