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 the reCAPTCHA type you want to use: 
    • reCAPTCHA v3 (invisible by default), or
    • reCAPTCHA v2 with the "I'm not a robot" Checkbox or Invisible reCAPTCHA badge
      💡 Good to know
      reCAPTCHA Android is not supported by Brevo.
  4. 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: 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.
  5. Accept the reCAPTCHA Terms of Service.
  6. 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.
    contacts_forms_recaptcha.png

Troubleshooting

❌ I get the error "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: 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.
❌ I can't see the CAPTCHA in my form

If you share your form using Simple HTML, the CAPTCHA won't be included. Simple HTML is a simplified version of your form's HTML that doesn't need JavaScript. However, since CAPTCHA requires JavaScript, it won't be included in forms shared via Simple HTML.

⏩ 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?

148 out of 230 found this helpful