# Add the script on Framer

Where to paste the line on Framer, and how to check it.

## Steps

1. **Copy your line** from Settings, then Script.
2. Open **Site settings**, then **General**, then **Custom code**.
3. Add the line to **Start of head**.
4. Set it to run on every page, then **publish**.
5. Press **Check my site** in the app.

```html title="Your line"
<script async src="https://YOUR-LINK-DOMAIN/t.js" data-key="mk_YOUR_KEY"></script>
```

## How to know it worked

The check says Found. Then open your page once, and the script status changes after we see the visit.

## Good to know

Framer changes pages without a full reload. The script watches for that.

## Common errors

| Problem | Fix |
|---|---|
| Not found | Publish the site and clear its cache |
| Found more than once | Remove the extra line |
| Links lose the `tm` code | Remove redirects that drop values after `?` |

> We wrote these steps from Framer's public settings. Menus change. We have not tested this guide on a live account.
