Google reCAPTCHA
Google reCAPTCHA tells people and robots apart. JoomForms has two plugins for it: System - JoomForms reCAPTCHA v2 (the "I'm not a robot" box, or an invisible check) and System - JoomForms reCAPTCHA v3 (a score worked out in the background, with nothing to click).
What you need
- A Google account. Create keys in the reCAPTCHA admin console at google.com/recaptcha. Choose the same type (v2 or v3) as the plugin you use, and add your domain.
- The plugin enabled in Extensions > Plugins.
reCAPTCHA v2
Plugin settings
| Setting | What to enter |
|---|---|
| Site key, Secret key | The keys of your reCAPTCHA v2 site. |
| Language | Auto (Detected by Google) or Site (Joomla! language). |
| Fallback for users without Javascript | Not read in 2.1.2. |
| Use async & defer | Loads Google's script without slowing the page. |
The field
Add the reCAPTCHA v2 field from the Security group of the field list. Its settings are the Theme, the Type (image or audio), the Size (Normal, Compact or Invisible) and, for invisible, where the badge sits.
If the check fails, the field shows Google's error, for example that the response is missing.
reCAPTCHA v3
Plugin settings
| Setting | What to enter |
|---|---|
| Site key, Secret key | The keys of your reCAPTCHA v3 site. |
| Load On All Pages | Yes (default) loads Google's script on every page, which gives Google more data for the score. No loads it only with the form. |
| Allowable Threshold | The lowest score that passes, from 0 to 1. Default 0.5. Raise it if spam gets through, lower it if real visitors are refused. |
The field
Add the reCAPTCHA V3 field from the Security group. It is not visible. reCAPTCHA Action names the action for your Google statistics, default contactform.
A submission below the threshold is refused with a message. The score of each accepted submission is saved as the field's value, so you can see it in the submissions list.
Privacy
reCAPTCHA sends data about the visitor to Google. Mention it in your privacy policy.