Nowadays most of the site is attacked by the bot through form in the website, Google recaptcha V2 will prevent the site get attacked by bot and keep away spamming our website. Lots of captcha is available free and they are difficult for the user to fill the form but the Google made it user friendly. The User fills the form and click/tap on the checkbox in Google reCAPTCHA v2 and done. Sometimes it will be difficult to pass google recaptcha because google make sure to stop bot bypasses and spam our website.

This post will clearly explained how to get google google captcha client and secret key.

Getting Key for Google reCaptchaV2.

Go to http://www.google.com/recaptcha/admin and signup. Once you signup, you will see Register a new website section as we mentioned in the image.

  • Fill the label with your website name
  • Just after label fill, there will be a labelled called domains, filled it with your name. You can also add more domain by one one domain per line. Avoid http(s):// in the domain name.
    • valid domain : domainname.com
    • invalid domains: domainname.com/xyz.php

If you want to use the Google reCAPTCHA in localost just enter the default host(127.0.0.1) in domain list. This will work on all project which are in the localhost.

At the left bottom, you will find a checkbox. You can check that if you (website owner) want Google to send you a report when Google finds something suspicious on your website.

itechsaas cms google recaptcha

Click the register button after you filled all the details, you will be redirected to the next page, there you can find the API key information.

Copy the Site key and secret key and update in our itechsaas cms settings page/admin/settings.

After you update API in the settings, you can enable the google captcha while creating form in our cms.

itechsaas cms i am not a robot

You will see the mentioned image in the enabled form above submit button, When the user clicks on the checkbox, it will either pass the user immediately with no CAPTCHA or challenge them to validate whether or not they are human.