How to Stop Spam in Contact Form 7 with Akismet

Contact Form 7 is one of the most popular WordPress plugins in the world, with over 5 million users. In this tutorial I will show you how to filter spam form submissions with the help of Akismet.

After you have installed and activated both plugins, open the Contact Forms page and then Edit your contact form.

You will have to make a minor change to your contact form markup.

Screenshot of a Contact Form 7 Edit Form page

There are 3 options that you can use, one for author name, email and URL.


Add these options to their corresponding fields.

If you don’t have any form fields for an URL, then you can skip this option.

If you have multiple forms, you will have to repeat this process for all.

And that’s all it takes. Now every form submission will go through Akismet spam filtering. For that to happen, some data will be sent to Akismet servers for processing. This happens almost instantly, but you should be aware of this data transfer.

If you are worried about GDPR compliance, you can read about Akismet and the GDPR on the official Akismet website.

Akismet and the GDPR

Like after any change to your contact forms, I recommend that you make a few test submissions to make sure that everything works correctly.

I also have a tutorial on How to Save Contact Form 7 Submissions to the Database.

Previous Post

Reusable Blocks will change the way you create WordPress websites

Next Post

How to Save to Database Contact Form 7 Submissions

Be the first to comment

Leave a Reply or Comment

Your email address will not be published. Required fields are marked *