Documentation v8.0.37

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>

Explore

Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single SaaS app with paying users
$ 939
Custom License
Reach us for custom license offers.
Buy Now
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 & Videos
From guides and video tutorials, to live demos and code examples to get started.
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.
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