Enhancing the security of your website forms is crucial to prevent spam and ensure genuine interactions. Google reCAPTCHA provides an effective solution by distinguishing between human and automated access.
This article will guide you through the steps to integrate Google reCAPTCHA with your Contact Form and Email optimization Modules.
Create a Google reCaptcha Key
Log in to your Google reCaptcha account
Click the Admin Console button
Click the plus icon located in the blue bar at the top right of the page
Give your Key a Label - it should be a text easily recognized
Under reCaptcha type, select the reCaptcha v3 option
Under Domains, add your website domain
Click on the Submit button
Take note of the Site Key and Secret Key values
Add the Google reCaptcha to the Email Optin module
Open the Email Optin module's settings by clicking on the Gear icon
In the Content tab, expand the Spam Protection group
Enable the Use A Spam Protection Service
Under Service Provider, choose reCaptcha
Click on the Add button
Set the Account Name to be anything you want (use only English alphabet letters, no spaces or special characters)
Paste in the Site Key value from Step 8
Paste in the Secret Key value from Step 8
Click on the Submit button
Add the Google reCaptcha to the Contact Form module
Open the Contact Form module's settings by clicking on the Gear icon
In the Content tab, expand the Spam Protection group
Enable the Use A Spam Protection Service
Under Service Provider, choose reCaptcha
Click on the Add button
Set the Account Name to be anything you want (use only English alphabet letters, no spaces or special characters)
Paste in the Site Key value from Step 8
Paste in the Secret Key value from Step 8
Click on the Submit button.