The Google ReCAPTCHA plugin integrates with Google’s reCAPTCHA service that blocks automated software from submitting forms to your website. The Google ReCAPTCHA plugin applies to Brightspot contact, custom, or user-generated upload forms. You can also add reCAPTCHA validation by adding it as a form field.
The following example shows reCAPTCHA validation added to a contact form.
The Google ReCaptcha plugin supports reCAPTCHA V2 and V3. It does not support reCAPTCHA Android.
To configure Google reCAPTCHA:
- Select Click > Admin > Sites & Settings.
- Under Sites, select the site for which you want to configure the reCAPTCHA service. The Edit Site widget appears.
- Under Front-End, expand Form CAPTCHA.
- Click to open the content picker.
- Click New Google ReCaptcha.
- In the content edit form, set the Client Key and Secret Key fields to the values generated when you registered your site from your Google account.
- In the content edit form, click Save.
- Click Back to Select Provider. You return to the content picker.
- Click the Google ReCAPTCHA item you just created. You return to the Edit Site or Edit Global widget, and the reCAPTCHA service you created appears in the Provider field.
- Click Save.
You can now add reCAPTCHA validation to forms on the sites that you registered for reCAPTCHA integration.
When you test a page with a reCAPTCHA module, you may see the error
ERROR for site owner: Invalid key type. This error may also occur when a visitor is attempting to log in to your site.
There are several possible causes for this error:
- Your site’s domain is not registered with your reCAPTCHA account. For example, if you created a new site
flavors.kombucha.com, be sure you register the site in your reCAPTCHA admin console.
- Your site is not yet launched. reCAPTCHA works only on launched sites.
The Google ReCaptcha plugin applies to Brightspot contact, custom, or user-generated upload forms. You can also add reCAPTCHA validation by adding it as a form field.
To add Google ReCaptcha to a form:
- In the header, click .
- Click Module.
- Under Type, click one of the following:
- Contact Form—A common vehicle for enabling visitors to leave contact information, often for a sales, consultant, or technical support representative to initiate further discussion with the visitor.
- Custom Form—Similar to a contact form, a customized form that uses a variety of fields and messages.
- Third-Party Form—A form that leverages a third-party service.
- Under Items, select Captcha Field.
- Enter a label.
- Enter a description.
- Complete your site’s workflow and publish the form.
Google has many methods of verifying that a site visitor is not a bot. One such way is Invisible ReCAPTCHA. Unlike other ReCAPTCHA options, Invisible ReCAPTCHA does not require that the visitor click on a checkbox; instead, the visitor may click on any button on your site to trigger the challenge.
To enable Invisible ReCAPTCHA on theme settings:
- Select > Admin > Themes > Desired theme > Overrides .
- Toggle on Uses Invisible Captcha.