Skip to main content
All Collections
How to add reCAPTCHA to Your Website?
How to add reCAPTCHA to Your Website?

In this article, you will find out how to add reCAPTCHA to your site in Onepage

Alina avatar
Written by Alina
Updated this week

Protecting your website from spam and bots is crucial, and adding reCAPTCHA is a simple yet powerful way to do it. In this guide, we’ll show you how to integrate reCAPTCHA v2 (the “I’m not a robot” checkbox) into your website builder in just a few steps. This explanation is designed for users with no technical experience.


What is reCAPTCHA?

reCAPTCHA is a tool by Google that verifies whether your website visitors are human. If you’ve ever checked a box saying, “I’m not a robot,” you’ve already used it! For visitors, it’s simple and quick, while for you, it’s a reliable way to block unwanted bots.


Step 1: Get Your reCAPTCHA Keys

To connect reCAPTCHA to your website, you’ll need two keys:

  • Site Key: This key identifies your website to Google.

  • Secret Key: This key ensures communication between your website and Google’s reCAPTCHA service.

Here’s how to get them:

  1. Log in with your Google account.

  2. Register your website:

    • Label: Give your reCAPTCHA a name (e.g., "My Website").

    • Type: Select reCAPTCHA v2 and choose the option “I’m not a robot” Checkbox.

    • Domains: Enter your website’s domain (e.g., www.mywebsite.com).

  3. Agree to the terms and click Submit.

  4. Once registered, you’ll receive your Site Key and Secret Key. Save these keys in a secure location.

Please find more information directly here: https://cloud.google.com/recaptcha/docs/create-key-website


Step 2: Add the Keys to Your Website Builder

  1. Open Onepage and go to the ReCAPTCHA Settings.

  2. Copy your Site Key from Google and paste it into the "Site Key" field.

  3. Copy your Secret Key from Google and paste it into the "Secret Key" field.

  4. Click Submit to save your changes.


Step 3: Test reCAPTCHA on Your Website

Once everything is set up, it’s time to test.

  1. Go to your website.

  2. Check if the “I’m not a robot” checkbox appears on forms where you’ve enabled reCAPTCHA (e.g., contact or registration forms).

  3. Try completing the reCAPTCHA to ensure it works correctly.


Best Practices for reCAPTCHA

  • Focus on key forms: Add reCAPTCHA to pages where visitors submit information, like contact forms or sign-ups. Avoid using it on every page to maintain a seamless user experience.

  • Be user-friendly: If visitors struggle with reCAPTCHA (e.g., having to solve multiple challenges), remind them they can refresh the page or contact you.

  • Monitor activity: Use the reCAPTCHA admin panel to track how it’s performing on your site.


Frequently asked questions and solutions

What happens if reCAPTCHA doesn’t work?

Double-check that the Site Key and Secret Key match the ones provided by Google. If issues persist, you can contact our support team for assistance.

Can I use the same keys for multiple websites?

No, each domain requires its own unique set of keys. You’ll need to repeat the registration process for each website.

With just a few steps, you’ve added a robust layer of security to your website! By using reCAPTCHA, you’re protecting both your visitors and your site from spam and bots. If you need further help, feel free to reach out to our support team.

Now you’re ready to enjoy a safer and spam-free website! 🎉


💡Do you have any feedback concerning this article? Please let us know through our live chat or at support@onepage.io, so we may keep it up to date. Thank you! 🙂

Did this answer your question?