Secure Your Forms: Google reCAPTCHA Integration Guide

Secure Your Forms: Google reCAPTCHA Integration Guide

By Michael Turner

January 1, 2025 at 05:13 PM

Adding Google reCAPTCHA helps prevent spam submissions in your forms, newsletters, promotional pop-ups, and product waitlists. This invisible security feature uses reCAPTCHA v3 for most implementations, while homepage forms use reCAPTCHA v2.

Enable reCAPTCHA for Different Form Types:

Form Blocks:

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

Newsletter Blocks (enabled by default):

  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. Toggle Enable Google reCAPTCHA on

Promotional Pop-ups:

  1. Open Promotional pop-up panel
  2. Click Action
  3. Select "Sign up for your newsletter"
  4. Click Verification
  5. Select Activate reCAPTCHA

Product Waitlists:

  • Automatically enabled, no action required

Setting up reCAPTCHA v2 for Homepage Forms:

  1. Open Developer Tools panel
  2. Click External API Keys
  3. Navigate to Google reCAPTCHA section
  4. Obtain API Keys through Google's console
  5. Select reCAPTCHA V2
  6. Add your domains without https://
  7. Accept Terms of Service
  8. Copy and paste site key and secret key
  9. Save settings

Troubleshooting Common Issues:

Invalid Domain Error:

  • Add all site domains, including integrated domain
  • Allow 30 minutes for updates to take effect

Invalid Key Type Error:

  • Ensure you're using reCAPTCHA V2 for homepages
  • Create new keys if needed

Form Submission Error:

  • Check for extra text in Secret Key field
  • Copy and paste exact key values

iOS Device Issue:

  • Page jumping when checking reCAPTCHA is a known iOS limitation

Remember to update reCAPTCHA settings when changing domains or adding new ones to ensure continued functionality.

Related Articles

Previous Articles