How to Enable Google reCAPTCHA to Protect Your Forms from Malware & Spam

How to Enable Google reCAPTCHA to Protect Your Forms from Malware & Spam

By Michael Chen

January 1, 2025 at 06:14 PM

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

Default reCAPTCHA Implementation

reCAPTCHA v3 is automatically enabled for:

  • Form blocks
  • Newsletter blocks
  • Product waitlists

Enabling reCAPTCHA for Form Blocks

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

Adding reCAPTCHA to Newsletter Blocks

  1. Click Edit on the page
  2. Click the pencil icon in the form block
  3. Go to Storage tab
  4. Click Squarespace and connect if needed
  5. Enable Google reCAPTCHA option

Enabling reCAPTCHA for Promotional Pop-ups

  1. Open Promotional Pop-ups panel
  2. Click Action
  3. Choose "Subscribe to a newsletter"
  4. Click Verify
  5. Select Activate reCAPTCHA

Cover Page Forms (Version 7.0)

For cover pages, follow these steps to enable reCAPTCHA v2:

  1. Open Developer Tools panel
  2. Click External API keys
  3. Navigate to Google reCAPTCHA
  4. Get API keys through Google's v3 Admin Console
  5. Select reCAPTCHA V2
  6. Add your domains (format: yoursite.squarespace.com)
  7. Copy Site Key and Secret Key
  8. Paste keys in Squarespace's External API Keys panel
  9. Save changes

Troubleshooting Common Issues

Invalid Domain Error:

  • Add all site domains during registration
  • Include integrated domain
  • Allow 30 minutes for updates to take effect

Invalid Key Type Error:

  • Use reCAPTCHA V2 for cover pages
  • Create new keys if needed
  • Update in External API Keys panel

Form Submission Error:

  • Ensure clean copy of Secret Key
  • Remove any additional text
  • Verify proper key placement

Note: On iOS devices, selecting the reCAPTCHA checkbox may scroll to the bottom of the page due to iOS-Google compatibility issues.

Related Articles

Previous Articles