How to Stop Divi Contact Form Sending Spam
You may not know that since the Divi update 4.0.7 it is possible to use Google reCaptcha v3 on the Divi contact form module. Enabling it will offer you a much higher level of security. In my case I was able to completely get rid of all spam messages that I’ve been receiving from the Divi contact forms (on several websites that I’m maintaining).
So now I will tell you what you need to do.
First of all, you will need to create a Google reCaptcha v3 profile for your website. To do it, go to https://www.google.com/recaptcha/admin/create and fill in the details like you can see on this screenshot:
When you fill it in, click on the blue “Submit” button. After that you will see your reCaptcha Site Key and Secret Key. Leave this open in one browser window, as you will need this later.
Now enable the Divi Builder on the page on which you have your contact form and go into the settings of your contact form module and choose the option “Spam Protection”.
Then simply tick the option “Use A Spam Protection Service”.
Click to add a new reCAPTCHA v3 Account and copy & paste your Google reCaptcha site key & secret key (that you created at the beginning of this tutorial) here. Then click Submit.
Finally, I recommend setting the “Minimum Score” option to the exact value of 0.7 (there was a discussion about this in a Divi Facebook group and more people recommended exactly this number). Then just save the changes.
And if you have other problem with your Divi contact form, e.g. it is not working, you might like to check out my other tutorial on how to solve the problem when the contact form is not sending emails.
Note: If you are setting this up in the Divi backend builder and it doesn’t work, try it in the Divi frontend builder.
Also, don’t forget to test your contact form now if it works. I hope you will no longer be receiving spam emails from your Divi contact form.
WordPress expert. Divi user since 2014. I blog about WordPress and Divi, my favorite WordPress theme. When I’m not working with WordPress or writing an article for this blog, I’m probably learning Italian. You can read more about me here.
Don't miss a post on my blog
Subscribe to my newsletter to keep up with all Divi theme and Elegant Themes news
What am I missing?
I followed your tutorial and got no error messages but now I do not see any captcha. I filled out the form and when I clicked on send it just passed without any control. Thanks
That is OK because reCaptcha v3 works automatically. You may notice a small reCaptcha icon in the lower right corner of your page on which you have you contact form. But it is no longer necessary to enter any captcha details manually.
Thank you! I just added a contact form to my site 2 days ago and got my first spam message. This was so easy – really appreciate the screen shots :)
Thanks so much, Andrej! Your post was super helpful and super easy. I dig that the reCAPTCHA symbol is in the bottom right corner of my site, visually adds another level of security for visitors. The Divi Contact Form has always been debatable and I’ve used other options for client sites in the past, but for my site, it’s simple, easy, and all that I need. Appreciate your resource! :)
Thanks so much! What a helpful blog post. Hope you’re enjoying your Italian language practices!
Thanks. Very helpful guide. Just installed – looking forward to not receiving any more spam :-)
Probably a stupid question, but I assume that where you put “divitheme.net,” I should enter my own domain? Thanks!
Yes, exactly. :)