Documentation
Handbook
For: whoever looks after the site — an owner tuning it, or an agency running it across a portfolio. Assumes: you are comfortable in wp-admin. It does not assume you write PHP.
If you have just installed Gatekeep, read Getting started first.
Contents
- How a decision is made
- The two screens
- Protection profiles
- Every setting
- Choosing a challenge
- Forms and page builders
- Reading the activity log
- Site health
- Tuning: false positives and misses
- Multisite and agencies
- Licences
- Troubleshooting
1. How a decision is made
Every submission collects signals. Each carries a risk weight from 0 to 100. The table below is the complete list, with the weights the plugin actually uses.
Signals fall into two families, and the difference matters more than any individual weight. Most of them measure how a form was submitted — speed, hidden fields, tokens, request headers. A person typing at human speed passes every one. The content signals read what was actually sent, and those are what catch a human spammer rather than a script.
How the form was submitted
| Signal | Risk | What it means |
|---|---|---|
| Honeypot filled | 100 | A hidden field only a robot would fill was filled. The field’s name is unique to your site and changes every fortnight, so a name scraped once stops working. |
| On your blocklist | 100 | The address is on the list you set. |
| Sender domain blocked | 95 | The email domain is on your block list. Subdomains count, so blocking example.com also blocks mail.example.com. |
| Blocked term | 85 | Contains a word from your list. Each field is checked separately, so a phrase cannot match across the gap between two fields. |
| Same token reused | 50 → 85 | The same form token submitted repeatedly. The first retry is free, because a real person correcting a validation error resubmits the same form. Three uses scores 50; five or more scores 85. |
| Rate limited | 80 | Too many submissions from one visitor. |
| Disposable email | 75 / 50 | Throwaway address. 75 when the domain is on the hand-vetted bundled list, 50 when it appears only in the licensed live feed — broad aggregates include stale and since-legitimised domains, so a feed-only hit is weighed more cautiously. |
| Malformed payload | 70 | Hundreds of fields, or nesting far deeper than any real form. Both are shapes used to push the real message past the scanner. |
| Field set does not match | 65 | The submitted fields differ from the form that was served. |
| Token issued for another form | 60 | A token minted on one form used on a different one. |
| No mail server | 60 | The email domain cannot receive mail. |
| Token from the API | 55 | A token minted through the public endpoint arriving at an ordinary form — somebody posted to a page they never loaded. |
| Submitted too fast | 70 / 25 | Faster than a person can fill the form. Reduced to 25 on login and checkout, where password managers legitimately submit in under a second. |
| Token missing or invalid | 45 | Not conclusive on its own — caching or a partial integration can cause it. |
| Subnet flooding | 45 | Many submissions from neighbouring addresses. |
| Scripted client | 35 | No user agent, or one belonging to a script. |
| Role address | 25 | info@, admin@, sales@ and similar. |
| Missing Accept header | 20 | Real browsers always send one. |
| Stale form | 20 | The page had been open a very long time. |
What was actually sent
| Signal | Risk | What it means |
|---|---|---|
| Sender domain imitates this site | 70 | Mail from search-yoursite.com when you are yoursite.com. Nobody legitimate writes to you from a domain built out of yours. |
| Imitating domain in the message | 65 | The same check applied to the message body, so leaving the email field blank does not switch it off. |
| Disguised web address | 60 | “example dot com”, “example[.]org”, “hxxps://”. Written that way to slip past filters — and scored precisely because honest correspondents never do it. |
| Repeated message | 50 → 80 | The same message received again and again, recognised even when names, numbers, links, greetings and punctuation are varied between sends. Only applies to messages over about twenty words. |
| Mostly links | 35 / 55 | A short message carrying several URLs. Deliberately capped below the block threshold: this is evidence, not a verdict. |
Turning risks into one score
Risks are not added together. They are combined probabilistically, so three weak signals cannot stack into a false block, while one conclusive signal still dominates. A single 70 produces a score of 70; a 70 and a 35 together produce 81, not 105.
The score is then compared with two thresholds. Below the challenge threshold the submission is allowed. Between the two it is challenged, if you have chosen a provider. At or above the block threshold it is blocked.
2. The two screens
The simple screen is what you get by default: status, four numbers, a chart, and two questions. Most sites never need more.
The full settings are one click away via Show all the settings, and everything on them still works. Switching between the two changes nothing about how the plugin behaves.
If you hand-edit settings, the simple screen stops claiming you are on a named profile and says so.
3. Protection profiles
A profile is a named set of ordinary settings. Choosing one writes those values; nothing is hidden and everything stays adjustable.
| Profile | Suited to | What it does |
|---|---|---|
| Standard | Most sites | Balanced across every form |
| Strict | Under active attack | Lower thresholds, a visible challenge, enforcement on |
| eCommerce | WooCommerce and shops | Nothing visible at checkout, high rate ceiling, tolerates instant submission |
| Membership & LMS | Communities, courses | Weighted towards registration and login |
| Developer | Staging | Everything recorded, nothing enforced |
Why eCommerce tolerates instant submission: password managers autofill and submit checkout in well under a second. Treating that as suspicious would block paying customers.
Editing any setting by hand marks the configuration custom, rather than continuing to claim a preset that no longer describes the site.
4. Every setting
Protection
| Setting | Default | Notes |
|---|---|---|
| Monitor Mode | On | Records borderline cases instead of blocking. Conclusive attacks are still stopped |
| Honeypot field | On | Free, invisible, no JavaScript. The field name is unique to your site |
| Submission timing | On | Flags impossibly fast submissions |
| Minimum fill time | 2s | Only a weak signal on login and checkout |
| Rate limiting | On | Skipped at WooCommerce checkout |
| Submissions / window | 10 / 300s | Per visitor |
| Block disposable email | On | Starter list built in; Pro adds ~75,000 refreshed daily |
| Flag role addresses | Off | info@, admin@ treated as slightly higher risk |
| Require deliverable domain | Off | Adds a DNS lookup on first sight of each domain |
| Skip logged-in users | On | Recommended — your own members are not the threat |
Thresholds
| Setting | Default | Notes |
|---|---|---|
| Challenge above | 40 | |
| Block above | 70 | |
| Certain threshold | 90 | Acted on even while monitoring. Clamped so it can never drop below the block line |
Address and word rules
| Setting | Notes |
|---|---|
| Allowlist | One per line. Supports IPv4 ranges (10.0.0.0/8). Overrides every other signal |
| Blocklist | Same format. Scores 100 |
| Blocked terms | Matched on word boundaries, so "cialis" does not flag "specialist". Minimum three characters |
Advanced
| Setting | Default | Notes |
|---|---|---|
| Safe mode | Off | Makes the plugin inert without deactivating it |
| Activity logging | On | |
| Security event log | On | Switching it on takes effect immediately, and the change itself is the first entry recorded. Old entries are still pruned to the retention setting while the log is off. |
| Public API endpoints | On | |
| Shortcode | On | Registers [gatekeep] |
| Universal form guard | Off | Protects forms with no adapter |
| Fail open | On | Keep this on — an outage at a captcha provider should never take your forms offline |
| Log retention | 30 days | |
| Event retention | 90 days |
Reading the message itself
| Setting | Default | What it does |
|---|---|---|
| Sender domains imitating this site | On | Scores a submission whose email address, or whose message, uses a domain built out of your own. Almost never troubles a real visitor. |
| Link density and disguised addresses | On | Scores short messages that are mostly links, and addresses written to evade filtering. Turn off if your visitors routinely paste several links into a short enquiry. |
| Repeated messages | On | Remembers the shape of each message and scores the same one arriving repeatedly. Ignores anything under about twenty words, so short questions two people happen to ask are never affected. |
Who is exempt
| Setting | Default | What it does |
|---|---|---|
| Skip trusted users | On | Contributors and above are not scored. Subscribers and customers still are. On a site where anyone can register, an account costs a bot one submission — so skipping everybody with a session would hand it a permanent bypass of every check. |
| Skip every logged-in user | Off | Restores the older behaviour where any account bypasses everything. Only safe when you control who gets an account. |
Logging
| Setting | Default | What it does |
|---|---|---|
| Activity logging | On | Records each verdict and the signals behind it. |
| Record clean submissions too | On | Worth leaving on. Spam that gets past Gatekeep is by definition spam that scored nothing — with this off, the submissions you most need to see are the ones missing from the log. It also gives every total a denominator: “12 blocked” means little without “of 4,310 submissions”. Clean rows store no signal detail and are pruned on the usual schedule. |
| Keep entries for | 30 days | Activity log retention. |
| Record security events | On | Logins, failed logins, password resets, changed email addresses, plugins activated or deleted. Separate from the activity log, which records form verdicts. |
| Keep events for | 90 days | Longer by default, because these are the records you go looking for after something has already gone wrong. |
Address and word rules
| Setting | Default | What it does |
|---|---|---|
| Always block / Never block | Empty | Single addresses, wildcards such as 185.220.*.*, or CIDR ranges. Your office address belongs on the never-block list — it is checked before every other rule. |
| Block these sender domains | Empty | One per line, the part after the @. Subdomains are covered. This is the list to reach for after reading a piece of spam you never want to see again. |
| Word filter | Off | A word list catches the campaign you have already seen and nothing else, and will eventually stop a real customer who happens to use one of the words. Use it for a specific nuisance, not as your main defence. |
WordPress hardening
| Setting | Default | What it does |
|---|---|---|
| Disable XML-RPC | Off | An old remote-publishing interface and a favourite target for password guessing. Most sites never use it — but the Jetpack mobile app and some publishing tools do, so check first. |
| Hide the user list from the REST API | Off | By default WordPress hands anyone a list of your usernames at /wp-json/wp/v2/users. That is half of every login attempt already solved. |
| Public API endpoints | Off | These let something outside WordPress request a challenge and verify it. Your forms do not use them. Leave off unless you are building against them. |
| Conclusive signal score | 90 | In Monitor Mode nothing is normally blocked, but a signal scoring at or above this is enforced anyway — filling a hidden field is not a mistake a visitor can make, so holding it back would leave the site unguarded during the very period it is being watched. Set to 101 to make Monitor Mode absolute. |
5. Choosing a challenge
| Mode | Keys | Visible | JavaScript |
|---|---|---|---|
| None | — | No | None |
| Proof of work | None | No | ~8 ms |
| Maths question | None | Yes | None |
| Image | None | Yes | None |
| Checkbox | None | Yes | None |
| reCAPTCHA v2/v3, hCaptcha, Turnstile | Yes | Varies | Yes |
Challenges are HMAC-signed and stateless — no session, no database row — so they survive full-page caching and can only be solved once.
Accessibility: the maths question is the recommended visible option because it works with screen readers and needs no JavaScript. Image challenges always carry a maths alternative.
6. Forms and page builders
Each integration binds to that plugin's own render and validation hooks, so a rejected submission shows its normal error rather than a blank page.
Form plugins: Contact Form 7, Gravity Forms, WPForms, Fluent Forms, Formidable, Ninja Forms, MetForm, WooCommerce, bbPress, BuddyPress, MemberDash, Academy LMS, Bloom, SeedProd, plus WordPress login, registration, lost password and comments.
Builders: Divi 4 and 5, Elementor Pro, Bricks, Avada, Thrive Architect, WPBakery, Oxygen, Beaver Builder.
Under Forms, each shows two states: Detected (installed) and Active (actually attached on this page load). Detected-but-not-active is the state worth investigating.
When an update breaks an integration
Major versions move hooks — Divi 5 changed its submission format entirely. Gatekeep watches real submissions: if a form arrives carrying a plugin's fingerprint but no adapter ran, that is a miss. After five, the adapter is marked degraded, generic protection switches on automatically, and you are emailed. One successful submission later clears it.
7. Reading the activity log
Every row shows the form, the verdict, the score, and the signals behind it. (monitored) means recorded but not enforced.
What to look for:
- A real person in the blocked list. Note which signal caught them and relax that setting.
- The same signal on everything. Usually means a setting is too tight.
- Nothing at all. On a quiet site this is normal, not a fault.
IP addresses are stored hashed. You cannot recover the original, and neither can anyone who steals your database.
8. Site health
A score out of 100, made of two halves: how much of your site is covered, and how well the site is configured.
It lists the specific things that would raise it, each with the points it is worth. Nothing is changed automatically — auto-fixers are how sites break at 2am.
9. Tuning: false positives and misses
A real customer was blocked
- Find the entry in Activity and read the signal.
too_fast→ raise Minimum fill time, or switch to Relaxed.rate_limited→ raise the ceiling. Common on shared office IPs.disposable_email→ the domain is on the list; allowlist their address.- Urgent → add their IP to the allowlist. It overrides everything.
Spam is getting through
- Check Monitor Mode is off — while on, borderline cases are only recorded.
- Move to Strict.
- Turn on a visible challenge — the maths question first.
- Add repeat offender domains to blocked terms.
- If it is the same address repeatedly, blocklist it.
Both at once
This usually means one signal is doing all the work. Read the most common reasons on the dashboard: if a single signal accounts for nearly everything, it is miscalibrated for your traffic.
10. Multisite and agencies
Network activation sets up every site on the network, and sites created later are configured automatically. Settings, logs and events are per-site.
On a network, six extra security events are recorded: registration policy, new-user policy, site-admin changes, super admin granted and revoked, and sites added or removed.
Moving a configuration between sites: Advanced → Export settings produces a JSON file. Licence keys, provider secrets, alert addresses and IP lists are deliberately left out — export files get emailed. Safe mode is never imported, so a file cannot switch protection off on arrival.
11. Licences
Gatekeep Pro is a separate plugin you download from your account and install next to the free one. A licence key or the email address you bought with activates it.
What each plan adds. Every paid plan: the daily spam-domain feed, country rules, individual form rules (Forms → Individual forms: each Contact Form 7 form can have its own challenge and block scores, be watched without blocking, and switch the sales-pitch check on or off), rule preview (Protection → Rule preview: how different scores would have sorted your latest 500 submissions, without changing anything), the weekly summary email (Settings → Weekly email, with a Send a test now button) and activity alerts (Settings → Activity alerts: an email when blocked activity spikes, at most one every 12 hours). Professional adds the Fortify hardening pack, WooCommerce card-testing protection, stored submissions and signed webhooks. Agency adds change history (Settings → Change history: the last 20 configuration changes with one-click restore; credentials are never recorded).
- Free updates for the life of the subscription.
- If the licence server is unreachable, Pro keeps working for seven days.
- When a subscription lapses, Pro features switch off. No form stops working.
- Only your key or email, your site URL, and the plugin version are ever sent.
12. Troubleshooting
Start here: Diagnostics runs thirty checks covering tokens, rendering, storage, cron and whether each form plugin is genuinely attached. Each failure says what to do.
| Symptom | Likely cause |
|---|---|
| Everything is blocked | Salts changed in wp-config.php; forms already open have stale tokens. Ask people to reload |
| Nothing is in the log | Clean submissions with no signals are not recorded. This is normal |
| A form is not protected | Forms screen: detected but not active means the adapter did not attach |
| Blocked submissions show a blank page | The universal guard rejected it rather than a native adapter |
| Image challenge never appears | The server has no GD extension. Diagnostics says so |
| Divi, Avada or Bricks fatal on activation | All three call WooCommerce functions without guarding them. Their bug, not Gatekeep's |
| Locked out of wp-admin | define( 'GATEKEEP_DISABLE_LOGIN', true ); in wp-config.php |
Honest limitations
Things Gatekeep does not do, said plainly, because finding out later is worse.
The challenge does not appear
Three causes, in the order worth checking. Each alone produces exactly the same symptom, which is why fixing one often changes nothing.
- You are signed in. Trusted users are skipped, so the owner testing their own site sees nothing whatever the settings say. Open the page in a private window.
- Something is serving a stored copy of the page. A page cache — in a plugin, your host, a CDN, or your theme — can hand out HTML captured before you changed the setting. The tell is a challenge that never changes: the maths question is issued fresh per request, so an unchanging sum means the page is not being generated. Gatekeep marks pages carrying a challenge as uncacheable, but a cache that ignores that convention will still store them.
- The provider has no visible part. Proof-of-Work and reCAPTCHA v3 both work in the background. “Always show the challenge” cannot show something that does not exist — choose one of the visible providers instead.
What no anti-spam plugin can stop
A stealth browser driven from rotating residential addresses, sending copy written fresh for each site, defeats every per-submission signal here — not because the checks are weak, but because the submission genuinely is a browser, genuinely is a first-time visitor, and genuinely is unique text. There is nothing left to detect.
The repeated-message check is the last defence that survives, and only because a campaign, by definition, repeats. The honest goal is not invulnerability; it is making each message cost more to send than it returns. Anyone selling you “unbypassable” is selling you something else.
Other limits worth knowing
- Country rules are a filter, not a lock. The visitor’s country comes from a header your CDN sets. If your site is not behind one, that header can be sent by hand. Fine against bulk spam, useless against somebody targeting you specifically.
- Gatekeep is not a firewall or a malware scanner. It protects submissions. It does not scan files, patch vulnerabilities or block requests before WordPress loads. Run it alongside a security plugin rather than instead of one.
- The log stores verdicts, not submissions. Hashed addresses, the email domain only, never the message. Keeping the content of blocked submissions is a Pro feature and a deliberate separate choice.
- No shared threat network. Every site learns on its own, which is the price of nothing leaving your server. A cloud filter sees a campaign on one site and protects the rest within minutes; Gatekeep cannot, and does not claim to.