# Add the script on ClickFunnels

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

## Steps

1. **Copy your line** from Settings, then Script.
2. Open the funnel, then **Settings**.
3. Paste the line in **Head tracking code**.
4. Save and publish each step.
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

Order pages may be on another domain. Add the line there too, so the id can travel to checkout.

## 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 ClickFunnels's public settings. Menus change. We have not tested this guide on a live account.
