Skip to content

Add Google reCAPTCHA Spam Protection To Divi Contact Form

Block unwanted form submissions that spam your divi website.

The Divi Form Builder With Material Design plugin integrates Google reCAPTCHA v2 and v3 spam protection for your divi forms.

Automated spam bots can overwhelm your website with fake form submissions, wasting your time and cluttering your inbox. CAPTCHA technology acts as a security guard to solve this problem.

CAPTCHA

A CAPTCHA is simply a security test designed to distinguish between human visitors and automated bots. Because these tests require human reasoning, bots struggle to bypass them.

Google reCAPTCHA

Early versions of this technology forced users to squint at distorted text and type out numbers. This process frustrated visitors, slowed them down, and ultimately hurt form conversion rates.

Modern solutions like Google reCAPTCHA v2 and v3 eliminate this friction, keeping your site secure without annoying your potential clients.

How Google’s reCAPTCHA (v2 & v3) Work

  • reCAPTCHA v2 typically displays a simple “I’m not a robot” checkbox for users to click.
  • reCAPTCHA v3 works entirely in the background without requiring the user to click or solve anything.
  • If Google detects suspicious behavior, it may present an additional visual puzzle just to be safe.
  • When a user hits submit, Google instantly analyzes the interaction to seamlessly approve legitimate entries and block spam attempts.

In this article we’ll show you how to create a reCAPTCHA website profile on Google and how to integrate it with your Divi forms.

Add reCAPTCHA v2 “SITE KEY” and “SECRET KEY” to WordPress

Section titled “Add reCAPTCHA v2 “SITE KEY” and “SECRET KEY” to WordPress”
  1. You’ll receive a SITE KEY and SECRET KEY on profile registration.

  2. To save SITE KEY in WordPress

    • Copy the SITE KEY
    • Visit WordPress Admin > Divi Forms > Settings
    • Paste key in Google reCAPTCHA v2 section’s Site Key field
  3. To save SECRET KEY in WordPress

    • Copy the SECRET KEY
    • Visit WordPress Admin > Divi Forms > Settings
    • Paste key in Google reCAPTCHA v2 section’s Site Secret field

FREE DOWNLOAD

Start your FREE trial. No credit card required.

  1. Visit https://www.google.com/recaptcha/admin/create

  2. Enter a Label for your profile

  3. In reCAPTCHA Type select reCAPTCHA v3 radio field.

  4. Add one or more domain name in the Domains field

  5. Tick the Accept the reCAPTCHA Terms of Service once read.

  6. Tick/untick Send alerts to owners based on your needs.

  7. Click on the SUBMIT button.

FREE DOWNLOAD

Start your FREE trial. No credit card required.

Add Google reCAPTCHA v3 “SITE KEY” and “SECRET KEY” to WordPress

Section titled “Add Google reCAPTCHA v3 “SITE KEY” and “SECRET KEY” to WordPress”
  1. You’ll receive a SITE KEY and SECRET KEY on profile registration.

  2. To save SITE KEY in WordPress

    • Copy the SITE KEY
    • Visit WordPress Admin > Divi Forms > Settings
    • Paste key in Google reCAPTCHA v3 section’s Site Key field
  3. To save SECRET KEY in WordPress

    • Copy the SECRET KEY
    • Visit WordPress Admin > Divi Forms > Settings
    • Paste key in Google reCAPTCHA v3 section’s Site Secret field

FREE DOWNLOAD

Start your FREE trial. No credit card required.

  1. This step is a prerequisite.

  2. Enable form on a divi section. To do so,

    • Edit a page in divi’s visual builder.
    • Hover over a divi section and click the cog icon to bring up the Section Settings
    • On the Content tab click on the Form section toggle
    • Set the Enable Form toggle switch to ON.
    • Give the form an unique name via the Form Name setting

FREE DOWNLOAD

Start your FREE trial. No credit card required.

  1. Now that spam protection keys are setup, you can use reCAPTCHA spam on your divi form.

  2. To setup spam protection,

    • Open section settings in the visual builder.
    • In the Content tab, expand the Spam Protection section toggle
    • In the Service Provider drop down, select one of the following
      • Google reCAPTCHA v2 - Uses reCAPTCHA v2.
      • Google reCAPTCHA v3 - Uses reCAPTCHA v3.
        • Set the Minimum Score Threshold to an appropriate value of choice.
          • Google assigns a security score to each visitor, ranging from 0.0 to 1.0.
          • A score closer to 1.0 indicates a real, legitimate customer.
          • A score closer to 0.0 indicates a highly suspicious bot.
          • This setting allows you to define how strict the spam filter should be before blocking a submission.
    • Set the Error Message field text if you wish to set a custom error message.

FREE DOWNLOAD

Start your FREE trial. No credit card required.