How to Add Google reCAPTCHA in WordPress?

Table of Contents

Adding Google reCAPTCHA to a WordPress website can improve the website security. Google reCAPTCHA, a free service provided by Google, is an advanced security tool that helps prevent automated bots from accessing your website and submitting spam or malicious content.

With the Nexter Extension (free) plugin, you can easily add Google reCAPTCHA to your WordPress website.

Why Add Google reCAPTCHA?

As a website grows, the risk of security threats from spammers and hackers increases. As a website owner, it is crucial to protect your website and its users from such threats. 

This is where Google reCAPTCHA comes into play. This helps to distinguish between human and automated traffic, significantly reducing the risk of spam and fraud.

How to Generate Google reCAPTCHA Site Key and Secret?

Make sure you are logged into your Google account, and then go to this link.

create google recaptcha

Then, on the page, you can add a label in the Label field. You can use your domain name for easy identification.

In the reCAPTCHA type, select the appropriate reCAPTCHA type.

Then, you have to add your domain name in the Domains field. Make sure to add the domain name without http or https

You can add multiple domain names.

Then click the Submit button.

On the next page, you’ll get your Google reCAPTCHA Site Key and Secret Key.

google recaptcha key

Difference Between Google reCAPTCHA V2, reCAPTCHA V2 Invisible and reCAPTCHA V3

FeaturereCAPTCHA V2reCAPTCHA V2 InvisiblereCAPTCHA V3
CAPTCHA TypeTraditional CheckboxInvisible (No user interaction required)Invisible (No user interaction required)
VerificationCheckbox click followed by human challengeNo user action requiredScore system (0.0 to 1.0) based, no user action required
Security EnhancementModerateModerateHigher (scored system 0.0 to 1.0)

We suggest going with Google reCAPTCHA V3, as it’s much more advanced and has better detection.

How to Add Google reCAPTCHA with the Nexter Extension? 

To add Google reCAPTCHA using the Nexter Extension, from the WordPress dashboard and go to Appearance > Nexter Settings > Extra Options.

Then go to the Google reCAPTCHA section and click the Enable button.

google recaptcha settings

On clicking the Enable button, it will show a Gear icon (⚙) click on that.

It will open the GOOGLE reCAPTCHA popup; here, you’ll find some options.

google recaptcha settings popup

In the reCAPTCHA Version section, you have to select the reCAPTCHA version.

Then, in the Site Key and Secret Key fields, you have to add your Google reCAPTCHA Site Key and Secret Key, respectively.

Finally, in the Enable reCAPTCHA for section, you can select where to enable Google reCAPTCHA on the site. You can add Google reCAPTCHA on the Login Form, Registration Form, Reset Password Form and Comments Form.

Then click on the Save button to enable Google reCAPTCHA on your selected location.

This is how easily you can add Google reCAPTCHA security on your WordPress website.