Using Google reCAPTCHA , System Can Differentiate Between Bot & Real Users Which Enables Strong Security Against DDos Attack.
Why To Add Google reCaptcha In Website
As Google reCAPTCHA can differentiate between bots & real user , then due to this
- We can block specific access to bots like form submission or action on clicking submit button
- which saves our web hosting processing memory
- which will result in fast website loading speed.
To add Google reCAPTCHA , visit https://www.google.com/recaptcha/admin/ and login with your google account. Then enter label , domain and captcha type and click on submit.
In the above code , enter your site key in data-sitekey value.
Frequently Asked Questions
Can We Use Google reCAPTCHA On LocalHost
No , you cannot use reCAPTCHA on localhost as it require a domain during Google reCAPTCHA site creation.
Can We Use Other Site Key On Our Site
No , you have to use same site key for your site which is provided by Google reCAPTCHA during creation time.