How to Enable Google reCAPTCHA to Prevent Form Spam

How to Enable Google reCAPTCHA to Prevent Form Spam

By Michael Turner

January 1, 2025 at 06:14 PM

Protect your forms from spam using Google reCAPTCHA, an invisible security feature that prevents bot submissions. Here's how to implement it across different form types:

Default reCAPTCHA Implementation

  • Automatically enabled for newsletter blocks and product waiting lists
  • Uses reCAPTCHA v3 (invisible, no user interaction required)
  • Cover pages use reCAPTCHA v2 (requires Google account)

Enabling reCAPTCHA for Form Blocks:

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

Enabling reCAPTCHA for Newsletter Blocks:

  1. Click Edit on the page
  2. Click the pencil icon on form block
  3. Go to Storage tab
  4. Click Squarespace (must be connected)
  5. Toggle Enable Google reCAPTCHA on

Enabling reCAPTCHA for Promotional Pop-ups:

  1. Open Promotional pop-up panel
  2. Click Actions
  3. Select Sign up for newsletter
  4. Click Validation
  5. Check "Turn on reCAPTCHA"

Setting up reCAPTCHA v2 for Cover Pages:

  1. Open Developer Tools panel
  2. Click External API Keys
  3. Navigate to Google reCAPTCHA
  4. Obtain API key through Google
  5. Configure settings:
    • Select reCAPTCHA V2
    • Choose "I am not a robot" checkbox
    • Add all domain URLs (format: yoursite.squarespace.com)

Two options for reCAPTCHA

Two options for reCAPTCHA

reCAPTCHA settings screen

reCAPTCHA settings screen

Display of reCAPTCHA site key

Display of reCAPTCHA site key

Troubleshooting Common Issues:

  • Invalid domain error: Add all site domains in reCAPTCHA settings
  • Invalid key type: Ensure using reCAPTCHA V2 for cover pages
  • Submission errors: Verify correct secret key implementation
  • iOS scrolling issue: Known limitation between iOS and Google

Remember to update reCAPTCHA settings when changing domains, allowing up to 30 minutes for changes to take effect.

Related Articles

Previous Articles