botbar
Migrate

From reCAPTCHA

A script-tag swap and a new verify URL.

  1. Create a site and copy its keys.
  2. Replace Google's script with ours in compatibility mode. Your grecaptcha calls and .g-recaptcha elements keep working, and the token arrives in g-recaptcha-response as before:
<script src="https://api.example.com/v1/api.js?compat=recaptcha" async defer></script>
  1. On the server, change the verify URL to https://api.example.com/recaptcha/api/siteverify and the secret to yours.

reCAPTCHA v3's grecaptcha.execute(sitekey, { action }) returns a token as before, and score means the same thing (1.0 is human).