Skip to main content

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
On this page

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

  1. Copy the line from Settings, then Script.
  2. Paste it before </head> on every page, and on your checkout and thank-you pages if you can edit them.
  3. Publish your site.
  4. Press Check my site in the app.

Your website tool may have its own page under Site guides.

What the check can say

ResultMeaningDo this
FoundThe line is there onceOpen the page once so we see a real visit
Not foundThe line isn't in the pagePaste it, save and publish
Found more than onceTwo copies can count twiceRemove the extra one
Site blocked our checkYour site refused our visit, or was slowOpen the page and look at its source yourself

What the script does

  1. Reads the one-use tm code from the address.
  2. Asks our server to claim it.
  3. Saves a random visitor id, if consent allows.
  4. Takes tm out of the visible address.
  5. Sends a page view.
  6. 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

ProblemFix
A redirect drops the tm codeKeep address values when you redirect. See Address cleaned
A booking frame opens before the scriptPut the line above the frame
Nothing is sentCheck that your site is on the allowed list, and that consent was given
Was this useful?

Your answer stays in this browser.