How to add a Google Re-captcha code to your WordPress website

Today I will show you how to insert a Re-captcha Google code into your WordPress site.
It is annoying to receive all sorts of automatic e-mails with spam, as comments or messages via contact form.
Adding a tick box “I am not a robot” we can avoid all this unpleasant extra work with cleaning spam.

Introduction

Before starting, I wish to mention this tutorial is for screen reader users, and instructions are provided with keyboard navigation only in mind.
I have used Jaws for Windows 2020 screen reader and Google Chrome for demonstration.
I am looking to open a course soon called WordPress with Speech which will help blind people to go blogging with WordPress independently.

Resources

I have used for contact form builder a plugin called Jetpack which is available here.
I like it because it is packed with lots of features which are available on wordpress.com site. Actually, takes the power of wordpress.com into your selfhosted WP blog.
In order to insert Google Re-captcha code, I will use a plugin called Re-captcha Jetpack which can be downloaded or installed from this page.
If you wish to install it straight from your dashboard then go to your website dashboard, login, then click on Add new link under Plugins section.
In the search field for plugins type Re-captcha Jetpack and press enter.
A list of plugins will appear, each one having the title displayed as heading.

Installation and configuration

For easy navigation use H key to jump from result to result until Re-captcha Jetpack will come up.
Arrow down to install link and press enter.
When the plugin is installed do not forget to activate it.
We will go then, to Re-captcha Jetpack settings where two edit fields are important for us.

  1. Site key
  2. Secret site key

These 2 keys we need to obtain them from Google Re-captcha page.
There, we need to add the website where the Captcha code will be placed.
A link to Google Re-Captcha admin console is provided just below the edit field of the site key in the settings page of Re-Captcha Jetpack plugin.
If that link does not work properly for you, you can access just here Google Re-captcha admin console.
You need to have a Google account and a gmail address.
Type a label for your website, because the same console can be used to add multiple websites.
Then, you need to choose a type of captcha for your website.
I will recommend Re-captcha version 2.0 and I am not a robot tick box model. Also, under version 2.0 other 2 models are available: an invisible captcha and one for Android.
It is important to choose the right option here, then insert your website domain name, your gmail address in the e-mail field, then tick the box I agree terms and conditions.
Finally, press enter on submit button and wait for few seconds.
When the request is processed, a new window will appear mentioning your website name has been added.
Below that message is a line where your site key appears in clear, and few lines below the secret site key as well.
For each key it is a button which allows you to take it in clipboard.
Paste them into the right edit field, in your website dashboard, where the settings page for Re-captcha Jetpack plugin is, then press save changes button.
Pay attention to paste the right key in the right edit field. It is easy to mess them around, thing which will make the plugin to not work.
Once the correct information is saved you do not need to make other things to appear that Re-captcha code into your form. Just go to check your form in your front end of the website and amazingly see your little Re-captcha code there, just above submit button.

Conclusion

Things are not so complicated with all this process, but require attention.
It is possible to have similar results with other plugins, but I was interested in this particular one because I use Jetpack plugin to create forms. Also, it is free of charge.

What to do next?

If you wish to hear an audio demonstration with step by step instructions, please listen the podcast episode below.
If you are interested in learning more about WordPress with Speech, then contact me and let me know which are your biggest challenges with WP blogging.