Are you sick of getting spam emails on your WordPress site and looking for some ways to prevent them from receiving? We all hate spam. It is annoying and hurts the site’s credibility. Filtering it manually is confusing and time-consuming. Adding Google reCAPTCHA to your WordPress site can help you get rid of these spam emails. In this tutorial, I will show you how to add reCAPTCHA to your WordPress site.

What is Google ReCAPTCHA?

reCAPTCHA is a free service from Google that helps protect websites from spam and abuse. It is a mechanism to tell humans and bots apart. CAPTCHA stands for “Completely Automated Public Turing test to tell Computers and Humans Apart“. reCAPTCHA displays a test where users are required to click a checkbox specifying they are not a robot. They will either pass right away or be introduced with a set of multiple images where they will need to click on the matching objects.

Google acquired the CAPTCHA in early 2009 and later rebranded it as reCAPTCHA and made it publicly available. Website owners can now use it on forms like contact, login, comment, etc. to reduce spam.

With that said, let’s see how to easily integrate reCAPTCHA to the WordPress comment form step-by-step.

Registering your Website to Get reCAPTCHA API keys

The first thing you need to do to implement reCAPTCHA on your site is register your domain to the Google reCAPTCHA website. Open the link to the admin console at the top. You’ll be asked to sign in with your Google account. If you don’t have a Google account, create one using Google’s signup form. Once you are logged in, Register a new site by clicking on the ‘+’ icon, and a site registration form will be provided to you. You need to fill-up the form details. Set the label field with your website domain name. Set reCAPTCHA type to reCAPTCHA v2. Add a domain by clicking the ‘+’ icon under the Domains label. Accept the reCAPTCHA Terms of Service and submit the form.

Google reCAPTCHA will now show you a success message along with the site key and secret key on this page. We will need these secret keys later when we set up the reCAPTCHA in the WPForms setting.

Installing a WordPress WPForms plugin

Now let’s install and activate the contact form by WPForms. To install the WPForms plugin login to the WordPress Dashboard and open the plugins page and click on Add New button. Then search for the “WPForms” keyword in the search field and install + activate the plugin from the search result.

Now go to the Settings page under the WPForms menu item and open the CAPTCHA tab. Select the reCAPTCHA option. Then select the captcha type from the Type option and set up the Site Key & Secret Key that we generated earlier from the google console. Once all is done, save the changes.

Next, we need to create a new contact form by clicking on Add New button under the WPForms menu item. You may create the form using either a built-in template or a blank template. For beginners, I would like to suggest using some built-in templates. Once done creating the form, edit the form. Here, You must see the option to add reCAPTCHA to your form. Add the reCAPTCHA and save the settings. That’s all, reCAPTCHA should be successfully enabled on the site. Check the form by adding embedding the WPForms on the page.

Increase Alexa Rank