AI Crawlers
ChatGPT, Claude and Perplexity read your site. Your analytics snippet cannot see any of it, and no amount of configuration will change that.
This page explains why, and what to install instead.
Why the snippet can't see them
sa.js runs in the browser. It records exactly what a browser executes: a
page loads, the script runs, it reports a page view.
An AI crawler executes nothing. GPTBot, ClaudeBot, PerplexityBot and CCBot make one HTTP request, read the bytes that come back, and leave. They never build a DOM, never run a script, and never fire a request to SnowAnalytics.
This is architectural, not a setting. A <script> tag in <head> can only run
if something runs it. A crawler that only fetches bytes will never record a
visit, in SnowAnalytics or in any other client-side analytics tool.
That traffic is invisible to browser-based analytics by default.
The fix: report from your server
Your server does see every one of those requests. So the crawler half of SnowAnalytics
installs there: a small piece of middleware reads the User-Agent and source IP
of each request and reports it to SnowAnalytics.
This is a second, separate install. It does not replace your tracking snippet, so keep that exactly as it is. The two halves measure different traffic and never overlap.
| What it sees | Where it installs | |
|---|---|---|
sa.js (tracking snippet) | Humans, and agentic browsers that run JavaScript (ChatGPT Atlas, Perplexity Comet) | <head> on every page |
| Crawler reporting | Crawlers that only fetch: GPTBot, ClaudeBot, PerplexityBot, CCBot | Your server, middleware or edge |
The three legs
Once both halves are installed, you can see all three legs of an AI-driven visit:
Crawl
An assistant's crawler fetches your page. Shown in Visitors → AI traffic.
Citation
The assistant uses your page to answer someone's question.
Visit
The person clicks through to your site. These visits arrive with the assistant as
their referrer (chatgpt.com, perplexity.ai, claude.ai, …), so they show up in your
traffic sources like any other referral. The Stats API
reports them next to the crawl counts as ai_referrals.
What counts as an AI crawler
SnowAnalytics reports AI crawlers specifically: more than 80 named crawlers from more than 30 operators, sorted by what they were fetching for:
| What it was for | In the dashboard | category in the Stats API |
|---|---|---|
| An assistant read the page to answer someone right now. | Answers | answer_fetch |
| Building the corpus assistants search before answering. | Search | search_index |
| Bulk fetches collecting pages as training data. | Training | training |
| AI crawlers with no stated purpose, like ad and preview bots. | Other AI | ai_crawler |
| Took a Markdown version without a crawler token, usually coding agents. | Read as text | markdown_client |
General bots are a different thing
SnowAnalytics filters ordinary bots out of your human analytics. Googlebot, Bingbot, uptime monitors, and other bots that announce themselves never appear as visitors, so your visitor counts stay honest. That filtering is automatic and needs no configuration.
Visitors → AI traffic is the other side of that coin: it reports the AI crawlers separately, as crawls rather than visits. It is deliberately not a general "all bots" report, so:
- Googlebot and Bingbot are excluded from it, even though they feed AI answers indirectly. A well-indexed site can show zero AI crawler activity, which means no AI crawler has visited, not that the install is broken.
- Uptime monitors, scrapers and vulnerability scanners are not reported here either. They don't appear as visitors and aren't counted as crawls.
Next steps
- Install it: Next.js, Astro, Express, Cloudflare, Hono, WordPress, plain PHP
- Verification: how SnowAnalytics tells a real GPTBot from something claiming to be one
- AI traffic in the dashboard: reading the report
- Crawler hits: the endpoint your server reports to, if you write your own reporter