Skip to main content

Add a CAPTCHA to your subscription form

We strongly recommend using a CAPTCHA confirmation in your forms to prevent spambots from adding fake data to your lists. With Brevo, you can choose between Google reCAPTCHA or Cloudflare Turnstile CAPTCHA.

🛠️ Step 1: Create your CAPTCHA

Create your reCAPTCHA on Google Create your CAPTCHA on Cloudflare
  1. Go to https://www.google.com/recaptcha/admin/create and log into your Google account.
  2. Add a Label. This name is for internal use only to help you identify your reCAPTCHA on your Google account.
  3. Select reCAPTCHA v2.
    ❗️ Important
    reCAPTCHA v3 is not supported in Brevo.
  4. Choose the type of reCAPTCHA you need. 
    reCAPTCHA-type_EN-US.png
  5. Fill in the Domains field according to how you will share your form:

    • If you want to share your form using Quick Share or Iframe: add the domain sibforms.com. It is the domain Brevo uses to host the form.
    • If you want to integrate your form with HTML or Simple HTML: add the domain of the website where you will display the form. For instance, if you want to add the form on http://www.thegreenyoga.com, add thegreenyoga.com in this field.
      💡 Good to know
      If you're not sure how you will share the form, you can add both of the above domains.
  6. Accept the reCAPTCHA Terms of Service.
  7. Click Submit.

Your reCAPTCHA is created. You will now see a page displaying the Site Key and Secret Key. You will use these keys in the following step to configure reCAPTCHA within your form.

💡 Good to know
The site key and secret key can be used across multiple forms. 

📄 Step 2: Add the CAPTCHA to your Brevo form

  1. Go to Contacts > Forms.
  2. Create a new form or open a form you already created.
  3. At the Design step, drag and drop the Captcha block in your form.
  4. In the Captcha Type dropdown, select Google or Cloudflare.
  5. Copy and paste the Site Key and Secret Key from the previous procedure in their respective fields.
  6. Select Label to add a label above your CAPTCHA.
  7. Select Help Text to add a caption below your CAPTCHA.
  8. (Optional) If you are using a Google reCAPTCHA and have chosen the "Invisible reCAPTCHA badge" option when creating it, select Invisible Captcha.

Troubleshooting

You may receive these error messages once you share the form :

Error_messages_captcha.png

❌ Invalid domain for site key

Check the domain field in Google or Cloudflare:

  • If you want to share your form using Quick Share or Iframe: add the domain sibforms.com. It is the domain Brevo uses to host the form.
  • If you want to integrate your form with HTML or Simple HTML: add the domain of the website where you will display the form. For instance, if you want to add the form on http://www.thegreenyoga.com, add thegreenyoga.com in this field.
    💡 Good to know
    If you're not sure how you will share the form, you can add both of the above domains.
❌ Invalid key type

If you select reCAPTCHA v3 in Google, you may receive this error message on your form. Only reCAPTCHA v2 is supported.

⏩ What's next?

🤔 Have a question?

If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.

💬 Was this article helpful?

54 out of 81 found this helpful