Tutorials
Webflow
Integrations

Using reCAPTCHA in Webflow Forms

Using reCAPTCHA in Webflow Forms
Author
Max Frings
Published
25.9.2024
Table of Contents
Gastautor
Webflow Cloneable
100% free to use
Customizable in Webflow
Clients First CSS ready
Relume Library ready
Empower your inhouse team to use Webflow
Eine Vorschau auf den Webflow Kurs für interne Teams von Virtual Entity
6h video material
Webflow SEO
Editor and Designer
Webflow Pagespeed
Incl. Checklists

Webflow Forms are a really easy and quick way to add forms to your own website. However, the problem is often spam bots, which exploit them and overwhelm them with spam messages.

In the worst case scenario, at some point, you can no longer distinguish real inquiries from fake ones and lose valuable leads as a result of the mass of messages.

A reCAPTCHA can help here. reCAPTCHA is a Google service that provides forms with an additional function that can filter out spam very effectively. And most people know this function: the small checkbox with the statement: “I am not a robot.”

How can I add a reCAPTCHA to my Webflow forms?

Integration is super easy. Simply follow the steps below.

1st page Register and generate API keys

To use reCAPTCHA, you must register your website on the Google Cloud platform for free.

  1. Go to the Recpachta page from Google
  2. For ReCaptcha type, select “Task (v2)”
  3. Check the “I'm not a robot.” boxes option
  4. Add the domain to your site
  5. Click “Send.”
When registering for free, a few details are required.
It may take a few minutes to register the domain, but then you should have both the Web site key, as well as the Secret keys be displayed.
After successful registration, the API keys are displayed.

2. Activate reCAPTCHA for your Webflow forms

Before you take action and activate reCAPTCHA in Webflow: as soon as you activate reCAPTCHA in your site settings, validation becomes mandatory for all forms. This means that no further form data can be transferred until you have completed the setup.

  1. Open the Site Settings of your Webflow website
  2. Navigate to the “Forms” tab and find “reCAPTCHA Validation”
  3. Paste the website key into the first “reCAPTCHA v2 site key” field
  4. Paste the secret key into the second field “reCAPTCHA v2 secret key”
  5. Activate the checkbox under “Enable reCAPTCHA”
Insert the API keys here and activate the checkbox.

3. Include reCAPTCHA in all forms

The technical setup is now complete. Now open the designer and integrate the reCAPTCHA element into all your forms. It is extremely important that you really equip all forms with the element. Otherwise, forms without reCAPTCHA will no longer be sent. Unfortunately, there is no option to only equip selective forms with reCAPTCHA.

Once all forms are ready, press Publish again and test all forms so that no errors occur.

Use the reCAPTCHA element in all Webflow forms.