How to Add Google reCAPTCHA to Protect Your Forms from Spam and Malware

How to Add Google reCAPTCHA to Protect Your Forms from Spam and Malware

By Michael Thompson

January 1, 2025 at 05:14 PM

Google reCAPTCHA protects your forms from spam by automatically verifying if submissions are from real humans. It works with Form blocks, Newsletter blocks, promotional pop-ups, and product waitlists.

Most sites use reCAPTCHA v3, which runs invisibly without requiring user interaction. Cover pages use reCAPTCHA v2, which needs a Google account and checkbox verification.

Enabling reCAPTCHA

Form Blocks:

  1. Edit page and click the Form block's pencil icon
  2. Go to Storage tab
  3. Click Google reCAPTCHA
  4. Enable the option

Newsletter Blocks:

  1. Edit page and click the block's pencil icon
  2. Go to Storage tab
  3. Connect Squarespace storage if needed
  4. Enable Google reCAPTCHA

Promotional Pop-ups:

  1. Open pop-up panel and click Action
  2. Choose "Subscribe to a newsletter"
  3. Enable reCAPTCHA under Verification

Product waitlists have reCAPTCHA enabled by default.

Cover Page Setup (Version 7.0)

  1. Access Development tools
  2. Go to External API keys
  3. Get Google reCAPTCHA API keys
  4. Choose reCAPTCHA V2
  5. Add all your domains (default and custom)

Checkbox "I'm not a robot"

Checkbox "I'm not a robot"

Site key

Site key

reCAPTCHA API keys page

reCAPTCHA API keys page

Troubleshooting

Common errors:

  • Invalid domain: Add all domain names
  • Invalid key type: Use reCAPTCHA V2 for cover pages
  • Unable to submit: Check for extra characters in Secret key
  • iOS redirect: Known limitation when checking reCAPTCHA box

Remember to update reCAPTCHA settings when changing domains. Changes may take up to 30 minutes to take effect.

Related Articles

Previous Articles