Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.landerlab.io/llms.txt

Use this file to discover all available pages before exploring further.

Add Google reCAPTCHA v2 to your landing pages in LanderLab to protect your forms from bots and spam submissions using a visible “I’m not a robot” checkbox challenge.

What is reCAPTCHA v2?

Google reCAPTCHA v2 adds a visible checkbox to your form that asks visitors to confirm they are human by clicking “I’m not a robot.” When a visitor looks suspicious, Google may also display an image recognition challenge (such as selecting traffic lights or crosswalks) before allowing the form to be submitted. Unlike reCAPTCHA v3, which runs entirely in the background, v2 requires a visible interaction. This makes it a good fit for forms where you want users to be explicitly aware that bot protection is in place. LanderLab handles the reCAPTCHA v2 script installation for you. Once the integration is added with your Site Key, the checkbox widget is automatically added to your landing page forms.
Once you add a reCAPTCHA v2 integration, it is saved globally in your account. You can reuse it across multiple landing pages without entering the details again.

Before You Start

Before adding reCAPTCHA v2 in LanderLab, you need to register your site in the Google reCAPTCHA Admin Console and get your Site Key. This takes about 2 minutes.
1

Go to the reCAPTCHA Admin Console

Open the Google reCAPTCHA Admin Console and sign in with your Google account.
2

Register a new site

Click the + button (or Create) to register a new site. Fill in the following:
FieldWhat to enter
LabelA name to identify this key (e.g. “LanderLab - reCAPTCHA v2”).
reCAPTCHA typeSelect Challenge (v2), then choose “I’m not a robot” Checkbox.
DomainsEnter your landing page domain (e.g. yourdomain.com, without https:// or www).
3

Accept and submit

Accept the reCAPTCHA Terms of Service and click Submit.
4

Copy your Site Key

After submitting, Google will display your Site Key and Secret Key. Copy the Site Key (it looks like 6LcX...). You only need the Site Key for LanderLab.
Keep your Secret Key private. LanderLab only requires the Site Key to display the reCAPTCHA widget on your page.

How to Add reCAPTCHA v2 in LanderLab

1

Go to your landing page

Navigate to Landing Pages and click the name of the landing page where you want to enable reCAPTCHA v2 protection.
2

Open the Integrations tab

Click Add Integration to open the integrations panel.
3

Select reCAPTCHA v2

From the list of available integrations, find reCAPTCHA v2 (labeled as “Protect your forms from bots with reCAPTCHA v2”) and click on it. A configuration form will appear.
4

Fill in the required fields

Enter the following details:
FieldDescription
NameA label to identify this integration (e.g. “reCAPTCHA v2”). Helps you recognize it when reusing across pages.
Site KeyThe Site Key from your Google reCAPTCHA registration (e.g. 6LcX...).
SizeChoose how the checkbox widget appears on your form: Normal (standard size) or Compact (smaller, better for tight layouts).
5

Click Add reCAPTCHA v2

Click the Add reCAPTCHA v2 button to save the integration. LanderLab stores this globally, so you can connect it to other landing pages later without re-entering the details.
6

Publish your landing page

Click Publish or Republish your landing page to activate reCAPTCHA v2 on your forms. The checkbox widget will appear automatically on your form once the page is live.
Recaptcha V2

Connect reCAPTCHA v2 to Another Landing Page

Since reCAPTCHA v2 integrations are saved globally, you do not need to create a new one for every landing page.
1

Open a different landing page

Go to Landing Pages and click the name of the landing page where you want to use the same reCAPTCHA v2 integration.
2

Add Integration

Click Add Integration. You will see your previously saved reCAPTCHA v2 configurations listed. Select the one you want to connect.
3

Select variants (if applicable)

If your landing page has multiple A/B test variants, a modal will appear asking you to choose which variants should use this integration. Select the variants you want and confirm.
The variant selection modal only appears when your landing page has more than one active variant. If there is only one variant, the integration is applied automatically.
4

Save and publish

Click Save, then Publish or Republish your landing page to activate reCAPTCHA v2 on the selected variants.

Normal vs. Compact Size

The Size option controls how the reCAPTCHA checkbox widget is displayed on your form.
  • Normal - The standard widget size. This is the default and works well for most landing page layouts.
  • Compact - A smaller version of the widget. Use this if your form has limited horizontal space or if the normal widget feels too large for your design.
Both sizes provide the same level of bot protection. The choice is purely based on your layout preference.

Tips for reCAPTCHA v2

  • Make sure your domain matches - The domain you entered in the Google Admin Console must match the domain your landing page is published on. If they do not match, the widget will not load.
  • reCAPTCHA v2 vs. v3 - reCAPTCHA v2 shows a visible checkbox that visitors must interact with. If you prefer a fully invisible experience where real visitors never see a challenge, consider using reCAPTCHA v3 instead.
  • Test after publishing - After publishing your landing page, open it in a browser and confirm the reCAPTCHA checkbox appears on your form before going live with traffic.