Add the script
Paste one line on your website so clicks can be joined to forms, bookings and sales.
About 5 minutesYou need: access to your website's head code
The line
Copy your own line from Settings, then Script. It looks like this:
Your script line
<script async src="https://YOUR-LINK-DOMAIN/t.js" data-key="mk_YOUR_KEY"></script>The mk_ key is not a secret. It only says which workspace the page belongs to.
Steps
- Copy the line from Settings, then Script.
- Paste it before
</head>on every page, and on your checkout and thank-you pages if you can edit them. - Publish your site.
- Press Check my site in the app.
Your website tool may have its own page under Site guides.
What the check can say
| Result | Meaning | Do this |
|---|---|---|
| Found | The line is there once | Open the page once so we see a real visit |
| Not found | The line isn't in the page | Paste it, save and publish |
| Found more than once | Two copies can count twice | Remove the extra one |
| Site blocked our check | Your site refused our visit, or was slow | Open the page and look at its source yourself |
What the script does
- Reads the one-use
tmcode from the address. - Asks our server to claim it.
- Saves a random visitor id, if consent allows.
- Takes
tmout of the visible address. - Sends a page view.
- Adds the visitor id to forms you mark, and to Calendly, Cal.com, Stripe, Typeform and Tally links.
It never reads passwords, card numbers, messages or hidden fields.
Common errors
| Problem | Fix |
|---|---|
A redirect drops the tm code | Keep address values when you redirect. See Address cleaned |
| A booking frame opens before the script | Put the line above the frame |
| Nothing is sent | Check that your site is on the allowed list, and that consent was given |
Was this useful?
Your answer stays in this browser.
Last checked: 2026-12-03Plain MarkdownSomething wrong? Tell us