reCAPTCHA is a common issue to use on the contact form for websites. Basically, It’s a CAPTCHA-like system designed to demonstrate that a computer user is human or normally in order to protect websites from bots. reCAPTCHA was originally developed by Luis von Ahn, Ben Maurer, Colin McMillen, David Abraham and Manuel Blum at Carnegie Mellon University’s main Pittsburgh campus and after that, it was acquired by Google in September 2009.
If you have a WordPress website and want to use reCAPTCHA on your contact page that is built using “Contact Form 7” plugin then this article is for you 🙂
Firstly, To get started with Google reCAPTCHA, you need a Google account and to register your website for an API key pair called “Site Key and Secret Key”.
- Go to Google’s reCAPTCHA admin page.
- Register your site.
- Get a site key and secret key.
Copy the key pair into the WordPress admin screen of the site you registered.
- Go to the admin menu Contact > Integration.
- Find reCAPTCHA panel and click Configure Keys.
- Copy the site key and secret key into the fields and save them.
Lastly, put a placeholder for a reCAPTCHA widget (
[recaptcha]) into your contact form content.
Learn more from official Contact form website Here.