Documentation v1.0.11

Preview 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
Documentation
From guides and how-tos, to live demos and code examples to get started right away.
Plugins & Components
Check out our 300+ in-house components and customized 3rd-party plugins.
Layout Builder
Build your layout, preview it and export the HTML for server side integration.
What's New
Latest features and improvements added with our users feedback in mind.
Buy now