Integrate Google No reCAPTCHA into Website Form


Spamming is big issue for website owner because it takes lots of time to remove every spam comment and emails. We try to do any possible way to stop this there are many ways to do but most successful way is to give challenge user how post comment or contact you, That will decide who is real and who is automatic bot robot.

Google recently launches it’s NO reCAPTCHA which is different from old recaptcha where user have to enter different type of words now you can just click on I’m Not a Robot and Google NO reCaptcha will decide based on IP and their system.

You need to follow there below steps to successful use of this.

Register You Website for Google NO reCAPTCHA

To register you website open website here then click on Get reCaptcha you will get a form like below and fill the details and click on Register button

Regidter for google no recaptcha

Integrate Google no reCAPTCHA Get Site Key and Secrete Key

After register your website you will get a Site Key and Secrete Key these are unique for every website you need to generate for you like shown in below image.

site key and secreate key


Adding Google No reCAPTCHA scripts and code into website

No you just need to add script into you website header or footer wherever you prefer and save it also the second line start from DIV paste within <form> tag where you want to show the Google no reCAPTCHA challange shown in picture below


Google provide you a script link code to put into <head> tag you can also choose a language you prefer like en  for English or without language as well.

<script src=''></script>

Code with language preference:

<script src=''></script>

Here is form code that will show where you need put copy below code and save it into index.php or anyname you want to give it:

	<title>Form for website with No reCAPTCHA by</title>
		<script src=''></script>

	<div id="page-wrap">
		<p>By <a href=""></a></p>
		<div id="contact-area">
	<form method="post">
						<td class="left"><label for="Name">Name:</label></td>
						<td><input type="text" name="Name" /></td>
						<td class="left"><label for="City">City:</label></td>
						<td><input type="text" name="City" /></td>
						<td class="left"><label for="Email">Email:</label></td>
						<td><input type="text" name="Email" /></td>
						<td class="left"><label for="Message">Message:</label></td>
						<td><textarea name="Message" rows="20" cols="20"></textarea></td>
				<div class="g-recaptcha" data-sitekey="6LffiRATAAAAAK8vzuxxxxxxFkbo7dax4dYg_uEP"></div>
				<input type="submit" name="submit" value="Submit" class="submit-button" />


This is how you can add these code some times Google not sure that you are human then a second attempt will appear which show a code to enter so don’t worry about span any more.

Leave a Reply

Your email address will not be published. Required fields are marked *

WooCommerce Hide Quantity Input Field From Product Page

Get More Likes for Your Facebook Page