How to Enable and Configure Google reCAPTCHA for Spam Prevention

How to Enable and Configure Google reCAPTCHA for Spam Prevention

By Michael Thompson

January 1, 2025 at 04:11 PM

Google reCAPTCHA helps prevent spam submissions on your forms by adding an invisible security layer. Here's how to implement it effectively:

Default Implementation

  • Automatically enabled for:
    • Newsletter blocks
    • Form blocks
    • Product waitlists
  • Uses reCAPTCHA v3 (invisible, no user interaction needed)
  • Cover pages use reCAPTCHA v2 (requires checkbox verification)

Enabling reCAPTCHA

Form Blocks:

  1. Click Edit on page
  2. Click pencil icon on form block
  3. Navigate to Storage tab
  4. Click Google reCAPTCHA
  5. Enable the toggle

Newsletter Blocks:

  1. Edit page and click pencil icon
  2. Go to Storage tab
  3. Connect Squarespace storage
  4. Enable Google reCAPTCHA toggle

Promotional Pop-ups:

  1. Open Promotional pop-up panel
  2. Select Action > Sign up for newsletter
  3. Click Verification
  4. Check "Turn on reCAPTCHA"

Cover Page Forms Setup (Version 7.0):

  1. Open Developer tools > External API Keys
  2. Get Google reCAPTCHA API Keys
  3. Configure settings:
    • Choose reCAPTCHA V2
    • Select "I'm not a robot" Checkbox
    • Add all domains (built-in and custom)
    • Accept terms of service
  4. Copy and paste Site Key and Secret Key

reCAPTCHA checkbox verification interface

reCAPTCHA checkbox verification interface

Blank website CAPTCHA field

Blank website CAPTCHA field

Google reCAPTCHA verification interface

Google reCAPTCHA verification interface

Troubleshooting

Common Issues:

  • Invalid domain error: Add all domains in Google reCAPTCHA settings
  • Invalid key type: Use reCAPTCHA V2 for cover pages
  • Submission errors: Check for correct Secret Key format
  • iOS scrolling issue: Known limitation between iOS and Google

Domain Updates:

  1. Access Developer tools > External API Keys
  2. Update domains in Google reCAPTCHA settings
  3. Allow 30 minutes for changes to take effect

Related Articles

Previous Articles