Documentation v8.1.5

Preview Downloads Purchase

Overview

Google reCAPTCHA v3  is a free service that protects your site from spam and abuse. It uses advanced risk analysis techniques to tell humans and bots apart. For more info please check the plugin's documentation.

Usage

Google reCAPTCHA v3  requires to include below Google Recaptcha API Javascript file on your page:
<script src="https://www.google.com/recaptcha/api.js"></script>

Basic Example

Below example shows how to include Google reCAPTCHA v3  and perform a basic validation.
To learn more about Google reCaptcha please visit http://www.google.com/recaptcha
grecaptcha.ready(function () {
    if (grecaptcha.getResponse() === "") {
        alert("Please validate the Google reCaptcha.");
    } else {
        alert("Successful validation! Now you can submit this form to your server side processing.");
    }
});
<form action="?" method="POST">
  <div class="g-recaptcha" data-sitekey="your_site_key"></div>
  <br/>
  <input type="submit" value="Submit">
  <script src="https://www.google.com/recaptcha/api.js"></script>
</form>
Learn & Get Inspired

Support at devs.keenthemes.com

Join our developers community to find answer to your question and help others. FAQs
Get Support
Video Tutorials
From guides and how-tos, to live demos and code examples to get started right away.
Metronic Downloads
Download your prefered framework and demo with one click.
What's New ?
Latest features and improvements added with our users feedback in mind.
Buy now