How to add tracking code to WordPress
WordPress supports both the header snippet and a server-side install, so you can see AI crawlers as well as the people they send you.
Any SEO plugin, a snippets plugin, or wp_head() in your theme. WordPress is the least restricted platform here.
Step by step
- Sign in to WordPress and open the header-code setting shown above.
- Copy your tracking snippet from IndexerNow → AI Search → Install (each tracked site has its own).
- Paste the snippet into the header field and save.
- Publish or republish the site so the change goes live.
- Visit any page of your own site once, then check IndexerNow — the pageview should appear within a minute.
What each install level can see
Nothing to install
Available on WordPressWhether 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
Available on WordPressReal 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
Available on WordPressEverything 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 WordPress?
Any SEO plugin, a snippets plugin, or wp_head() in your theme. WordPress is the least restricted platform here.
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.