Using Google reCAPTCHA
Posted: 08 Mar 2017, 03:07
I want to use the Google "I am not a robot" reCAPTCHA. A lot of my user are older, and its difficult for them to use the normal reCAPTCHA (hell, its even difficult for me to use). Plus, spam still gets posted to my guestbook, and I"m guessing that the spam bots know how to beat the current reCAPTHA.
The documentation says to put a snippet of code into the HTML template, and the other into the form where I want the reCAPTCHA to be displayed.
Where should I insert this code?
Thank you.
Daryl
The documentation says to put a snippet of code into the HTML template, and the other into the form where I want the reCAPTCHA to be displayed.
Paste this snippet before the closing </head> tag on your HTML template:
<script src='https://www.google.com/recaptcha/api.js'></script>
The problem is; I don't know where these go.Paste this snippet at the end of the <form> where you want the reCAPTCHA widget to appear:
<div class="g-recaptcha" data-sitekey="super secret code"></div>
Where should I insert this code?
Thank you.
Daryl