Setting Up Google Captcha for forms

Modified on: Sun, 17 Jun, 2018 at 4:33 PM

Step 1: Sign Up

First, you'll need to sign up for an API key pair for your site.The key pair consists of a site key and secret. Thesecretauthorizes communication between your application backend and the reCAPTCHA server toverify the user's response. Thesecretneeds to be kept safe for security purposes.

The API key pair is unique to the domains and first-level subdomains that you specify. Specifying more than one domain could come in handy if you serve your website from multiple top level domains.

For example, if you specify the API key pair to yoursite.com, the following table shows whether or not reCAPTCHA will work for the domain and its subdomain variations. If you specify other domain names or TLDs (for example: anothersite.com, yoursite.net), the same reCAPTCHA conditions apply.