Setting up reCAPTCHA v2 requires creating a Site Key and Secret Key for your domain. These keys allow Google to verify human interactions on your forms.
Basic steps to set it up:
Go to the reCAPTCHA Admin Console: https://www.google.com/recaptcha/admin/create
Log in with your Google account.
Register a new site and select reCAPTCHA v2 as the type.
Add the domain(s) where your forms will be hosted (e.g., example.com, www.example.com).
Copy the generated Site Key for your frontend and Secret Key for your backend.
Integrate the Site Key into the CMS and configure your server to verify tokens using the Secret Key.
Once configured, reCAPTCHA v2 will require users to complete challenges, protecting your forms from bots while allowing legitimate visitors through.
🔹 1.1 Go to the reCAPTCHA Admin Console
Visit: https://www.google.com/recaptcha/admin/create
Log in with a Google account (personal or organization).
🔹 1.2 Register a new site
Fill out the form as follows:
| Field | Description |
|---|---|
| Label | A human-friendly name to recognize this site later (e.g., “Contact Form” or “Login Page”). |
| reCAPTCHA type | Select reCAPTCHA v2. You can choose between “Checkbox” or “Invisible” (for v2 invisible option). |
| Domains | Add all domains where reCAPTCHA will run (e.g., example.com, www.example.com). ⚠️ Do not include https:// or paths. |
| Owners | Pre-filled with your Google account. You can add coworkers’ emails if needed. |
| Alerts | Keep checked to receive notifications for suspicious activity. |
Click Submit/Register.
🔹 1.3 Copy your keys
Once registered, you will see:
Site Key — used in your frontend JavaScript (public).
Secret Key — used in your backend/server (private).
🔹 1.4 Integrate reCAPTCHA v2 with your CMS
Log in to the Showoff back office.
Navigate to Settings > Site Settings.
Find the Google reCAPTCHA section.
Paste your Site Key and Secret Key into the respective fields.
Save your changes.
After these steps, reCAPTCHA v2 will appear on your forms, helping to prevent spam and bot submissions while ensuring a smooth experience for legitimate users.
Further Reading: Google reCAPTCHA v2 Documentation
Comments
0 comments
Please sign in to leave a comment.