Integrating Google reCAPTCHA is an effective way to protect widgets such as forms and spinning wheels from spam submissions.
This article will guide you through the steps to integrate reCAPTCHA with your widget:
- Within the Common Ninja editor, navigate to the "Integrations" tab. Within this tab, locate the "Security" category, and specifically choose the "reCAPTCHA" option.
- A new settings window will open, displaying three fields: "Version" (currently only v3 is available), "Site Key," and "Secret Key."
- To obtain the reCAPTCHA Site Key and Secret Key:
- Go to your reCAPTCHA admin panel and ensure you are in the v3 Admin Console. You may need to log in or sign up with your Google account first.
- In the admin console, click the plus sign (+) in the second header menu to register a new site.
- Fill in the label field to identify your site and reCAPTCHA keys. Set the reCAPTCHA type to Score based (v3) and enter the domain name of the website where you will use reCAPTCHA. Make sure to enter a valid domain as specified in the tooltip next to the "Domains" field.
- After filling in all the necessary details, click on the "Submit" button. This will navigate you to a page where you can view and copy your Site Key and Secret Key.
- Go to your reCAPTCHA admin panel and ensure you are in the v3 Admin Console. You may need to log in or sign up with your Google account first.
- Copy the keys, return to the Common Ninja editor, and paste them into the relevant fields.
- Click the "Connect Widget" button to initiate the integration process between your reCAPTCHA account and the widget.
Thats it! By following these steps, your widget will be protected against spam submissions using Recaptcha.
Comments
0 comments
Please sign in to leave a comment.