Guides

Canary tokens for content: how to prove who copied your pages

Security teams have used canary tokens for years: harmless tripwires that reveal who touched something they shouldn't have. The same idea works for web content, if you're honest about what each tripwire can and can't prove.

Published · Last reviewed by the KanaryGate editorial team

The idea

In security, a canary token is a decoy that should never be touched in normal use: a fake document, a dummy credential, a link nobody legitimate would click. When it is touched, you learn something certain about whoever touched it. Free tools for this have been widely used by security teams for years[1].

Applied to a website, the question changes from "who broke in?" to "who took my content after being told not to, and where did it end up?" Three techniques answer different parts of that question. Together they're the "prove the rest" step in our guide to AI crawlers and your website.

Add a path to your robots.txt that every crawler is told to avoid, and put links to it on your pages that people can't see. Then:

  • People never see or click the link.
  • Honest crawlers read robots.txt, which is a published standard[2], and don't follow it.
  • Anything that arrives has ignored your rules. You get its address, network, claimed identity and timing.

This is the most reliable tripwire there is: very few false alarms, and results from day one. It also tells you whether a famous name was genuine or an imposter, when combined with identity checks. Industry measurements show why it's worth doing: a meaningful share of AI fetches reach pages they were told to avoid[3]. You can see live totals from this website's own trap links on our Scraper watch page. To add trap links to your own site, see the install guide.

A refinement: give each page view its own signed code inside the trap link. If the link is later fetched from a different machine than the one that loaded the page, you've learned the scraper shares lists of links across a network.

2. Per-visit markers: which visit took a copy

A marker is a small, unique detail added to the page each time it's served: a reference code in the small print, or a choice between equally accurate wordings ("£4.2m" or "£4.2 million"). Each visit gets its own combination, and you log which visit received which. If that combination later appears in a republished copy or an AI answer, it points to the visit that took it.

Two rules keep this honest. First, every variation must be equally true, so readers are never misled. Second, give verified search crawlers the plain version, so legitimate citations stay clean and any marker found in the wild came through some other route.

3. Page fingerprints: what you published, and when

Record a fingerprint (a cryptographic hash) and a copy of each version of each page when it's first published, with a timestamp. If your wording turns up elsewhere, you can show what you published and when. Fingerprints survive where markers don't: they work even if a copy has been tidied up, because you compare the text itself.

How sure can you be?

Each technique gives a different level of certainty, and evidence should say so plainly:

FindingWhat it showsConfidence
Trap link visitedThis visitor ignored your robots.txtVery high
Exact reference code found elsewhereThe copy came from that specific visitProof (coincidence is effectively impossible)
Rare wording copied word for word, after your publication dateYour content was reusedStrong
Same specific facts, different wordingPossible reuse; other sources may share the factsA lead to investigate, not proof

Paraphrase destroys markers, so most findings in AI answers will be "strong" or "likely" rather than proof. That's still useful, especially for spotting misquotes of your figures, but it should never be oversold.

Using the evidence

Evidence like this supports three things: blocking (rules aimed at the networks and disguises you've caught), licensing (showing an AI company or aggregator what they've been taking), and, where it comes to it, legal advice (see where UK law stands on AI and scraping). Publishers are increasingly pooling it: in 2026 NLA Media Access launched a free service analysing participating publishers' traffic to identify scrapers and support licensing or legal action[4]; we looked at what that shift means for smaller sites. Whatever route you take, keep evidence timestamped, unaltered and stored securely, and record how it was collected.

Frequently asked questions

What is a canary token?

A harmless decoy, such as a fake document, credential or link, that alerts you when someone uses it. The name comes from canaries once used in mines as an early warning. In content protection, the decoy is a link or marker that only a scraper would trigger or carry away.

Are hidden trap links bad for SEO?

Done properly, no. The trap path is disallowed in robots.txt so search crawlers never follow it, the links are marked nofollow and hidden from readers and screen readers, and they don't promote any content. They exist to catch visitors that ignore the rules.

Can a canary marker prove an AI was trained on my content?

Rarely on its own. Training doesn't usually reproduce exact markers. Markers are strongest when a scraped copy is republished or quoted in an AI answer that kept the marker. Trap links and page fingerprints are more reliable evidence of scraping itself.

Do markers change what my readers see?

They shouldn't change the meaning. Reference codes sit in small print, and any wording variations must be equally accurate versions of the same fact. Never publish false information as a trap on a real page.

Is this lawful in the UK?

Adding links and reference codes to your own pages and logging requests to your own server is normal website operation. Logs contain IP addresses, which can be personal data, so cover them in your privacy notice, keep them only as long as needed, and keep them secure.

Sources

  1. Canarytokens, Thinkst Applied Research. Accessed 4 December 2026.
  2. RFC 9309: Robots Exclusion Protocol, IETF. Accessed 4 December 2026.
  3. State of the Bots, TollBit. Accessed 4 December 2026.
  4. Free AI scraping detection service to help publishers sign or sue, Press Gazette. Accessed 4 December 2026.