How to add reCAPTCHA to your Squarespace forms
This article was first published in 2019, however as the Google reCAPTCHA feature in Squarespace hasn’t changed in that time, we thought we would resurrect this helpful guide from the archives. Here’s how you can add Google reCAPTCHA to Squarespace in 2022.
reCAPTCHA is a free service that protects your Squarespace website from spam and abuse.
If you’re like me, and periodically traverse the internet, then you would be well experienced with Google reCAPTCHA - the gatekeeper between you and your content.
For those that lack reCAPTCHA experience, it is a free service from Google that helps protect websites from spam and abuse. It’s a “Turing test” to tell humans from bots (malicious software); by adding it to your site, you can block bots from spamming and abusing your forms.
Step 1 - Enable Google reCAPTCHA
Before we can add reCAPTCHA to your Squarespace Form blocks, we need to enable it in the Advanced Settings.
Under the main site Settings, click on Advanced, and then External API Keys.
Navigate to the GOOGLE RECAPTCHA section.
Click on the Google reCAPTCHA API Keys link that is directly underneath the GOOGLE RECAPTCHA heading.
A new tab will open, taking you to the Google reCAPTCHA homepage. Click on the Admin console button in the top right corner.
Select reCAPTCHA V2, as Squarespace doesn’t support reCAPTCHA V3.
Select the “I’m not a robot” checkbox.
Type in your built-in domain and click on the + icon. The format of which should yoursite.squarespace.com, excluding the https:// from the beginning.
Type in your custom domain and click on the + icon. Repeat this step for any other custom domains that are connected to your site, excluding the https:// from the beginning.
Click Submit.
Make a note of the Site Key, and the Secret Key.
Navigate back to Squarespace, and under the GOOGLE RECAPTCHA section in External API Keys page, enter the corresponding API Keys.
Click Save.
Step 2 - Add google recaptcha to a form
Navigate to a form block on your webpage.
In the form block editor, click on Captcha, then check the Add Google reCAPTCHA option.
Click on Apply.
Repeat these steps for all of the forms on your aite where you want a reCAPTCHA.
I hope you found this useful, Will :)
Need a little extra? You could give Jotform a try…
For those looking for an alternative solution to embed forms in Squarespace, I recommend using Jotform’s Squarespace forms. It is a useful tool with many different features, customisation options, and app integrations that let you create the form that exactly fits your needs. Jotform enables you to embed forms on your Squarespace website without any coding. Also, you can easily add CAPTCHA, hCAPTCHA, and reCAPTCHA to your Squarespace forms.