How to add tracking code to Notion
Notion does not allow custom header code, so crawler and click tracking can't be installed. Citation checks still work — they only need your domain.
Notiondoesn't give you anywhere to put custom header code, so there is no snippet to install and no honest way to measure your traffic from AI apps here. What still works is the citation check — it only needs your domain, and it tells you whether AI search names you at all.
Run a free citation checkWhat each install level can see
Nothing to install
Available on NotionWhether ChatGPT, Claude and Perplexity name your business when asked for one like yours, and whether your pages are retrievable at all.
Enter your domain. No code, no account, no plugin.
Can't see: Traffic. It tells you whether AI would recommend you, not whether anyone arrived because it did.
One snippet in your header
Not available on NotionReal humans landing on your site from ChatGPT, Perplexity, Copilot and other AI apps — which page they hit and which app sent them.
Paste a single <script> tag into your site's header/custom-code field and save. No developer, no deploy.
Can't see: AI crawlers. Bots fetch your HTML without running JavaScript, so no browser snippet can see them. That needs Tier 3.
Server or edge install
Not available on NotionEverything in Tier 2, plus every AI bot that crawls you — GPTBot, ClaudeBot, PerplexityBot, Google-Extended — and exactly which pages they fetch.
Add a request hook (edge middleware, CDN worker, or server middleware). Paste our prompt into an AI coding assistant and it writes the integration for your stack.
Questions
Where do I put custom code in Notion?
Notion does not expose a custom header-code field, so there is nowhere to paste a tracking snippet. You can still run a citation check, which needs only your domain.
Will this slow my site down?
No. The snippet is a few hundred bytes, sets no cookies, blocks nothing, and fires once per pageview using sendBeacon, which the browser sends in the background after the page has already rendered.
Does it track AI crawlers like GPTBot?
No — and no header snippet can. AI crawlers fetch your HTML without ever running JavaScript, so a browser snippet is invisible to them. Seeing bot-level crawls needs a server or edge install, which hosted builders don't allow. The snippet shows you the humans those crawlers send you.
Do I need an account?
For the snippet, yes — each tracked site gets its own ingestion token. The citation check that tells you whether AI search names your business needs no account at all.