# Squarespace

> Add the Taggor snippet to a Squarespace site with Code Injection.

> Esta página ainda não tem tradução para o português; este é o texto em inglês. (This page is not translated yet: the English text follows.)

## Install the snippet once

1. Open **Settings**, **Advanced**, **Code Injection**.
2. Paste the tag in **Header** (injected in `<head>` on every page) or **Footer** (just before `</body>`):

```html title="index.html"
<script async src="https://cdn.taggorcdn.com/s/<site-key>.js"></script>
```

(Using code injection, `https://support.squarespace.com/hc/en-us/articles/205815908-Using-code-injection`, read 2026-11-10.)

## Place the component

Add a **Code** block where the component should appear and write its tag in it, with HTML as the language:

```html title="index.html"
<contact-form heading="Get in touch"></contact-form>
```

The article we read does not cover Code blocks, so this step follows Squarespace's block names and is not
confirmed on a site.

## Limits

- Code Injection is available on the Core, Plus and Advanced plans and on some legacy plans (same page, 2026-11-10).
- Checkout pages do not take custom code; order confirmation and status pages do, but they run after checkout.
- Code Injection does not appear on Index landing pages (same page).
- Squarespace's support does not help with custom code (research of 2026-11-09, `docs/research/landing-linguagem-e-integracoes.md`).

## Common problems

- **The component is missing on the checkout.** Expected: Squarespace does not take custom code there.
- **The component is missing on an Index page.** Same limit: Code Injection does not run on Index landing pages.
- **It works with the Footer and not the Header, or the other way round.** Either should work: the loader is
  `async` and upgrades tags already on the page whether it comes first or last (both tested in the fixtures).

## How we checked

Footer and header placement run in the compatibility fixtures in Chromium, Firefox and WebKit. Not checked: no
Squarespace site was used; plans and checkout limits come from the page cited above, read on 2026-11-10.
