# Squarespace Email Validation Integration

URL: https://email-validation.org/integrations/squarespace/
Updated: 2026-12-05

> Documentation index: https://email-validation.org/llms.txt

One snippet in your Squarespace site’s Code Injection checks the email field of your form blocks, newsletter blocks and lightbox forms when the visitor has finished typing, and stops the form only when the address cannot receive mail or is a throwaway inbox. Every other submission goes through to Squarespace as usual.

[Read the full setup guide](https://email-validation.org/docs/guides/squarespace/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- Code Injection snippet, checked in the browser

**Code Injection, Footer** Settings on the script tag

Settings

```text
data-key     'YOUR_BROWSER_KEY'
data-region  'eu'                 checks stay in the EU
data-stop    'invalid disposable' or 'invalid', 'none'
data-msg-*   your own wording
```

## At a glance.

- **Status**: **Setup guide.** Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- **For**: Squarespace site owners whose forms and newsletter blocks collect sign-ups, leads or bookings and who want a mistyped address caught while the visitor can still fix it.
- **You need**: A Squarespace site on a plan with code injection (Core, Plus, Advanced or some older plans), and a browser key made just for the site: your site’s addresses as allowed origins, and a [daily credit cap](https://email-validation.org/docs/authentication/#limits).
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/squarespace/)

## Typical uses.

- **Catch typos at sign-up**: A domain such as gmial.com gets a one-click fix, and an address that cannot receive mail stops the form with a short message next to the field.
- **Ask for a lasting address**: A throwaway inbox stops the form by default, so the visitor is asked for a permanent address instead. Choose the results that stop it on the script tag.
- **Keep real sign-ups flowing**: valid and unknown results always go through, and so does every submission when a check fails, no credits are left or no answer arrives in time.

## Set it up. 4 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/squarespace/), which stays the reference when a step does not match what you see.

1. **Create a browser key**: Under API keys, choose Create key and pick “On a public web page” (browser key) under “Where will you use this key?”: such a key can only validate addresses. Add your site’s addresses as allowed origins (plus your squarespace.com address if you test there), and a daily credit cap a little above a busy day’s sign-ups.
2. **Paste the snippet**: In the Pages panel, open Custom Code, then Code Injection (Website Tools on a version 7.0 site), paste the snippet from the guide into Footer and replace `YOUR_BROWSER_KEY` with your key. For one page only, paste its two script tags into that page’s Page Header Code Injection instead.
3. **Save**: Save. Code injection never runs on Squarespace’s checkout pages, and Squarespace may not run it while you are logged in: test the live site in a private window.
4. **Test it**: On the live site, `no_mailbox@sandbox.email-validation.org` shows the message and `likely_typo@sandbox.email-validation.org` a fix, at no cost. To see a form sent, use an address of yours that receives mail, never a test address: any email the form sends to it would bounce.

## Good to know.

- The key in the snippet is public: anyone can read it in your page’s source. Allowed origins stop other websites from using it in their visitors’ browsers, but the daily cap is what limits the cost.
- Each address is checked once while the page is open, and partial addresses are never sent.
- Squarespace shows some Email fields as plain text fields: the snippet’s second part hands those to the form guard too. To keep it off a page with a sign-in form, paste its script tags into the other pages’ headers instead of the site’s Footer.
- Add `data-region="eu"` if your account processes data in the EU only: the checks then go to `https://api-eu.email-validation.org`.

## Related

- [The full Squarespace setup guide](https://email-validation.org/docs/guides/squarespace/)
- [Your key on a public page: what its limits protect](https://email-validation.org/docs/guides/squarespace/#key)
- [The form guard: options and styling](https://email-validation.org/docs/form-guard/)
- [Test addresses that cost nothing](https://email-validation.org/docs/test-addresses/)
- [Webflow email validation integration](https://email-validation.org/integrations/webflow/)
- [Wix email validation integration](https://email-validation.org/integrations/wix/)
- [Framer email validation integration](https://email-validation.org/integrations/framer/)
- [All integrations](https://email-validation.org/integrations/)
