I immediately tested it, and was so excited to share the findings with the rest of you on YouTube and on the blog. So here are the easy step-by-step directions!
Adding Google reCAPTCHA To Your Divi Website
After you register a website, you will get the site key and secret key for the site. It will look something like this:
Keep this page open and go back to your Divi Contact Form or your Divi Email Optin Module.
Step #1: Enable Spam Protection
Go to the “Spam Protection” toggle and turn on “Use A Spam Protection Service.” This brings up some new options and fields.
NOTE: The “Service Provider” is set to reCAPTCHA by default and cannot be changed.
Step #2: Choose reCAPTCHA Account
Next, click the gray button to add an account. (If you have already added an account in the past, you can select it from the list.) This will bring up another set of options called Account Name, Site Key, and Secret Key.
NOTE: The “Account name” is set to Default by default but can be changed. You can use the “Label” name that you set earlier in step #2 of the previous section.
Step #3: Add Site Key and Secret Key
Now you can simply copy and paste the Site Key and Secret Key from the Google reCAPTCHA website to your Divi Contact form or Email Optin.
NOTE: Google reCAPTCHA v3 is invisible. There may be a badge that appears on your website, but there is no checkbox on the forms. See below for how to properly and legally hide the badge.
To hide the Google reCAPTCHA badge, copy and paste the following code snippet into your Divi>Theme Options>Custom CSS box.