Add the script on WordPress
Where to paste the line on WordPress, and how to check it.
About 5 minutesYou need: an admin login
Steps
- Copy your line from Settings, then Script.
- Install a plugin that adds code to the header, or use one you have.
- Paste the line in the header box.
- Save and clear your cache plugin.
- Press Check my site in the app.
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
Caching and speed plugins can delay or join scripts. If the check says Not found, leave our line out of delay and combine settings.
Themes can also load the line with code:
functions.php of a child theme
add_action('wp_head', function () {
echo '<script async src="https://YOUR-LINK-DOMAIN/t.js" data-key="mk_YOUR_KEY"></script>';
});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 ? |
Note:
We wrote these steps from WordPress's public settings. Menus change. We have not tested this guide on a live account.
Names and marks belong to their owners. Showing one does not mean they endorse us.
Was this useful?
Your answer stays in this browser.
Last checked: 2026-12-03Plain MarkdownSomething wrong? Tell us