How to Add recaptcha to Contact Form 7 (2021)

Table of Contents

Table of Contents

How to Add recaptcha to Contact Form 7 (2023)

Contact forms may be used for a variety of reasons, such as contacting customer service representatives for technical support or asking general questions about the company. Consider how you’d feel if a BOT came to your website and constantly filled out the contact form. It would be very inconvenient and time-consuming for you. As a result, you should allow ReCaptcha on your contact form to protect your website from spam and harassment.
I’ll show you How to Add Recaptcha to Contact Form 7 in this article.
So that you can keep the bot off from your website. First, let’s answer a few of the questions raised in our previous post.

What is Captcha?

Captcha means Completely Automated Public Turing test. In easy word, Captcha is a computer test that ensures a response comes from a real person, not a bot. Google says the word captchas comes from the phrase “capture your attention.” A CAPTCHA is a program that protects websites from spam and abuse. For setting up captcha people are using reCAPTCHA on their website.reCAPTCHA is a free service from Google.

How does reCAPTCHA work?

The reCAPTCHA system was created by Google in 2009 to identify human users on the internet. It through a challenge-response test used in computing to ensure that the response comes from an actual human being. You will see a checkbox labeled “I am not a robot” on several websites. You proved that you are not a robot by checking the box. It’s often required to verify by selecting the appropriate image. This is how reCAPTCHA works. It ensures that the answer is given by a real person.

How to Add recaptcha to Contact Form 7

Contact form 7 comes with built-in functionality to integrate with reCAPTCHA.For activating reCAPTCHA on your site, you need also a google account for the site key and security key. Follow my step-by-step instruction to activate reCAPTCHA.

Step #1. Get the reCaptcha public and secret keys

Go to the Google reCAPTCHA page Fill the form with your information as I have added. Then hit Submit now.

a BoomDevs

This page will be displayed after you submit your details. Copy the Site Key and Secret Key and save them somewhere secure.

Screenshot 1 1 BoomDevs

Step #2. Integrate reCAPTCHA with Contact Form 7

Now go to Contact Form 7 > Integration
Click on the Setup Integration for reCAPTCHA

Screenshot 2 1 BoomDevs

Paste the Site Key and Secret Key and hit on the save button.

Screenshot 3 1 BoomDevs

Your reCAPTCHA has been fully enabled on your website. However, you’ll need to change the contact form a little to include the captcha option in your contact form. Don’t worry, I’ll help you out.

Step #3. Make changes to the default contact form.

Go to the existing contact form. Hit on the edit.
Now you have to paste a sort code above the submit text like me.

Screenshot 4 2 BoomDevs
[recaptcha]

Paste this and hit the save button. Now everything is done. You can preview your contact page and you will find reCAPTCHA logo on the button. As you can see, reCAPTCHA is working to keep bots off your website.

Screenshot 5 1 BoomDevs

But if you have to use a checkbox like this then you have to use reCAPTCHA v2 and need this plugin also.

Screenshot 7 1 BoomDevs

For using reCAPTCHA v2 you have to install this plugin then go to contact form 7 > reCaptcha version > select reCaptcha v2

Screenshot 9 1 BoomDevs

For v2, you’ll need to create a new Site Key and Secret Key.
You can take a look at this image. You must complete these two steps in order to use reCAPTCHA v2. Others, though, are the same as I previously said.
Please feel free to ask any questions in the comments section.

aa BoomDevs

Related Post

How to Duplicate a Page in WordPress (2021)

How To Hide Featured Image In WordPress Post (2021)

Like what you see? Share with a friend.
Shamiul Bishal
BoomDevs’ Head of Content & SEO Analyst. Enjoys writing about the things I’ve experienced. Skilled in SEO, WordPress, HTML, Social Media Optimization, and Content Writing.
BoomDevs

We deliver exceptional custom software development solutions to empower small and medium-sized enterprises with tailored digital solutions.

How to Add recaptcha to Contact Form 7 (2021)

Table of Contents

Table of Contents

How to Add recaptcha to Contact Form 7 (2023)

Like what you see? Share with a friend.
Shamiul Bishal
BoomDevs’ Head of Content & SEO Analyst. Enjoys writing about the things I’ve experienced. Skilled in SEO, WordPress, HTML, Social Media Optimization, and Content Writing.
BoomDevs

We deliver exceptional custom software development solutions to empower small and medium-sized enterprises with tailored digital solutions.

We're here to help you with your next project with our experience, & expertise.

Why We Best

Developing Success Over a Decade
0 +
A Strong Team for Superior Solutions
0 +
Partnering for Cutting Edge Innovation
0 +
Proven Success with Projects Delivered
0 +
Lets Talk Now

Transforming Visions Success Stories

We believe in a transparent and collaborative approach to every project we work on. Here’s a peek at our tried-and-tested process for website design

Your Vision, Our Expertise

Get a tailored proposal for your project within 24 hours by filling out this quick form. Share your vision, budget, and contact details to start turning your ideas into reality. Our transparent process ensures collaboration and results you can trust.

Write us a few words about your project and we'll prepare a proposal for you within 24 hours.


Success Message Icon

Thank You

It's great to hear from you. Thanks for taking
part. Your feedback is greatly appreciated.

Let's Craft Success Together

Are you looking for the best development agency for your development project?

Unlock Your Project's Potential with a Free Consultation.