Integration guide · SpamKill WordPress plugin

Protect your Gravity Forms form from spam bots

In short: To stop spam on a Gravity Forms form, install the SpamKill WordPress plugin, add your license key and tick Gravity Forms on its Integrations tab. SpamKill then checks every Gravity Forms submission without a CAPTCHA, and real entries still land in Gravity Forms. It takes about 10 minutes.

Bots are filling your Gravity Forms with fake entries. The SpamKill WordPress plugin checks every submission before Gravity Forms receives it. Your fields, entries, notifications and confirmations keep working as they do now. It takes about 10 minutes.

  • 6 steps
  • About 10 min
  • No code needed

Last verified on Gravity Forms 2.8.18, SpamKill plugin 3.0.2, WordPress 7.2

What changes, and what doesn't

Stays the same
  • Your Gravity Forms forms, fields and design
  • Entries, notifications and confirmations
  • Where each form sits on your pages
What's added
  • Every submission is checked before it reaches Gravity Forms
  • No CAPTCHA for your visitors
  • Undo it anytime by unticking one box
“SpamKill is our go-to for protection! The implementation is simple and clear, and the results are instant.”
Afton Toler, Canada, reviewed on Trustpilot More customer stories

Before you start

Have these ready so nothing stops you halfway.

  • A paid SpamKill planForm protection comes with every paid plan. No account yet? Start a free trial.
  • Admin access to WordPressYou need to install plugins and change their settings.
  • Gravity Forms, with your form on a pageOn a multi-page form, the email field must be on the first page.

Quick setup

For returning users. Each line links to its full step.

  1. In WordPress, open Plugins › Add Plugin, search for SpamKill, then click Install Now and Activate. Step 1
  2. Copy your WordPress plugin API key from the SpamKill Console, paste it into SpamKill › Configuration › License key and click Save Settings. Step 2
  3. On the Integrations tab, tick Gravity Forms and click Save Settings. Step 3
  4. If your form has a CAPTCHA field, delete it and click Save Form. Step 4
  5. The Gravity Forms block and the [gravityform id="…"] shortcode are protected now. View the page while logged in to check. Step 5
  6. Clear your page cache. Submit [email protected] and expect SpamKill's error, then submit a real message. Step 6
Step 1 of 6 · In WordPress

Install the SpamKill plugin

Where: WordPressPluginsAdd Plugin

In your WordPress admin, go to Plugins › Add Plugin. Search for SpamKill. Click Install Now on the SpamKill plugin, then click Activate.

You should see: A SpamKill item in your admin menu.

The listing only mentions comments and reviews?

That's the free part. It's the same plugin: your license key in the next step unlocks Gravity Forms and the other form plugins.

Finished step 1?
0 of 6 steps done
Next: Add your license key ↓
Step 2 of 6 · In SpamKill and WordPress

Add your license key

Where: WordPressSpamKillConfiguration

Sign in to the SpamKill Console. On the home page, click COPY next to your WordPress plugin API key. In WordPress, open SpamKill in the admin menu. On the Configuration tab, paste the key into License key (1). Click Save Settings (2).

The SpamKill plugin's License section with a license key pasted, Pro mode active in green, and the Save Settings button
1License key2Save Settings

You should see: Pro mode active in green under the key.

Can't find a license key in SpamKill?

The Console calls it your WordPress plugin API key. It's on the home page and under Configuration › API key. One key covers all your sites.

Finished step 2?
0 of 6 steps done
Next: Turn on Gravity Forms in SpamKill ↓
Step 3 of 6 · In WordPress

Turn on Gravity Forms in SpamKill

Where: WordPressSpamKillIntegrations

Still in SpamKill, open the Integrations tab (1). Tick Gravity Forms (2). Scroll down and click Save Settings.

The SpamKill plugin's Integrations tab with Gravity Forms, Fluent Forms and Everest Forms ticked
1Integrations2Gravity Forms

You should see: Gravity Forms still ticked after the page reloads.

Is the Gravity Forms box greyed out?

SpamKill only unlocks the box once Gravity Forms is active and Pro mode active shows on the Configuration tab. Activate Gravity Forms under Plugins, or save your license key again.

Finished step 3?
0 of 6 steps done
Next: Remove Gravity's CAPTCHA field ↓
Step 4 of 6 · In Gravity Forms

Remove Gravity's CAPTCHA field

Where: WordPressFormsYour form

Go to Forms and click your form's name to open the form editor. If the form has a CAPTCHA field, select it and delete it. Click Save Form. No CAPTCHA field? Nothing to change.

You should see: Your form without a CAPTCHA field, saved.

Why remove the CAPTCHA?

SpamKill already checks every submission, so your visitors don't need to solve a puzzle. The keys under Forms › Settings › reCAPTCHA are only used by that field.

Finished step 4?
0 of 6 steps done
Next: Check how your form is placed ↓
Step 5 of 6 · In your page editor

Check how your form is placed

Where: WordPressPagesYour page

Open the page with your form in the WordPress editor. A form added with the Gravity Forms block is protected now. A form added with the [gravityform id="…"] shortcode is protected now too. If that shortcode says ajax="true", change it to ajax="false": SpamKill sends the form through its own check instead. Then view the page while you're logged in (1).

A Gravity Forms Submit button with SpamKill's admin notice under it saying the form is protected
1Protected by SpamKill

You should see: Under your form, a notice only logged-in admins see: Admin Notice: This form is protected by Spamkill.

Want SpamKill on one form only?

Leave the Gravity Forms box in SpamKill unticked and wrap that form's shortcode in [spamkill], like this: [spamkill][gravityform id="1" title="false" ajax="false"][/spamkill]. Replace 1 with the Form ID shown under Embed in the form editor.

Finished step 5?
0 of 6 steps done
Next: Clear your cache and test ↓
Step 6 of 6 · On your live form

Clear your cache and test

If your site uses a caching plugin, clear its cache so visitors get the protected form. Open your page in a private window. Submit the form with [email protected] (1). Then go back and submit it with your own details.

SpamKill's That email address doesn't look right page with a Go back to the form button
1Blocked by SpamKill
The form's Entries list in Gravity Forms, with the test entry on top
2Entries3Your test entry
On your page

The first try shows That email address doesn't look right.

In Gravity Forms

The second try under your form's Entries (2), at the top of the list (3).

In your inbox

Gravity Forms' notification email for the second try, if your form sends one.

You should see: Your form's confirmation message, or your thank-you page, after the second try.

See "Did you mean …?" under the email?

That's SpamKill's typo hint. It doesn't stop the form: click the submit button anyway.

Finished step 6?
0 of 6 steps done

Your Gravity Forms form is protected

  • Bots are stopped before they reach Gravity Forms.
  • Real leads arrive exactly as before, with no extra steps for them.
  • Every block is logged in your SpamKill dashboard.
Open your dashboard

Something not working?

Find what you're seeing.

My multi-page form has no SpamKill notice

SpamKill protects a multi-page form only when its email field is on the first page. Move the email field to page 1 and click Save Form.

My form still shows a CAPTCHA

Delete the CAPTCHA field in the form editor and click Save Form. Then clear your page cache.

A notice says "This form is NOT protected by SpamKill"

Only logged-in admins see it. Open SpamKill › Integrations, tick Gravity Forms and click Save Settings. Or wrap that one form's shortcode in [spamkill].

My form still shows the old fields

SpamKill keeps a protected copy of each form. In WordPress, open SpamKill and, on the Configuration tab, click Delete Cache under SpamKill: Cache. Then clear your page cache.

A notice says the key was not accepted

The key was mistyped or your plan has ended. Copy the WordPress plugin API key from the SpamKill Console again, paste it into License key and click Save Settings.

A real visitor was told their email doesn't look right

SpamKill checks for missing @ symbols, extra spaces and common typos. The visitor can click Go back to the form, fix the address and send again.

Changed your mind? Undo in under a minute

  1. In WordPress, open SpamKill and go to the Integrations tab.
  2. Untick Gravity Forms and click Save Settings. Gravity Forms handles your forms on its own again.
  3. If you wrapped a shortcode in [spamkill], delete the wrap.
  4. Optional: add your CAPTCHA field back.
Did this guide work for you?

Stuck? We'll set it up with you.

Free setup help for every plan. Send us a message and we'll walk through your Gravity Forms form with you.

Get setup help