For twenty years, web analytics sorted visitors into two piles: people, and bots to throw away. That split no longer works.
Today a growing part of your traffic is a third kind of visitor: an AI assistant reading your page because a person asked it to. It isn’t your visitor, and it isn’t a crawler either. If you throw it away with the bots, you lose sight of how AI talks about you. If you count it as a person, your conversion rates quietly drift.
Three Kinds of Visitor, Not Two
- People. Someone in a browser, scrolling, typing and clicking.
- AI agents. An assistant acting for one person, right now.
ChatGPT-User,Claude-UserandPerplexity-Userfetch a page when someone asks a question. Browser assistants such as Claude in Chrome go further: they open your site in a real browser and click through it for someone. - Bots. Automation with nobody waiting on the answer: search crawlers like Googlebot, AI crawlers like
GPTBotandClaudeBot, link previews, uptime monitors, scrapers and scripted browsers.
The difference between an agent and a bot matters. A bot works for its operator. An agent works for a person who might become your customer.
Why Your Analytics Can’t Tell Them Apart
Most analytics tools were built to hide bots, not to explain them.
- GA4 excludes known bots using the IAB list and Google’s own research. You can’t switch it off or see what it removed (Google).
- Fetchers that don’t run JavaScript never appear in a tag-based tool at all. Most crawlers and AI fetchers only download the HTML.
- Scripted browsers do run JavaScript. A headless Chrome driven by Playwright fires your tags like a person would, and often lands in your reports as one more visitor who bounced.
- User agents can lie. Anyone can send a request that says
Googlebot. A name proves nothing until you check where the request came from.
So the question isn’t “bot or not”. It’s “who is this, how sure are we, and why”.
What to Do With Each
You have three options for any automated visitor: keep it out, trap it, or let it in. Pick per client, not for “bots” as a whole.
Lock Out What You Don’t Want
Start with robots.txt. The big AI operators document how their crawlers respond to it:
- OpenAI: disallowing
GPTBotsignals your content shouldn’t be used to train its models, and it recommends allowingOAI-SearchBotif you want to appear in ChatGPT search (OpenAI). - Anthropic says its bots honour
robots.txt, and shows how to blockClaudeBot(Anthropic). - Google’s
Google-Extendedtoken controls whether Gemini can train on or ground answers in your content, without affecting Google Search (Google).
robots.txt is a request, not a lock. For scrapers that ignore it, use rate limits and rules in your CDN or firewall. Before you block anything that claims a famous name, verify it: Google documents how to check Googlebot by reverse DNS or against its published IP ranges (Google). Blocking a real Googlebot by mistake costs you search traffic.
Set a Honeypot for the Ones That Ignore the Rules
A honeypot is a page no well-behaved client should ever request:
- Create a URL nobody links to visibly, for example
/internal/do-not-crawl/. - Disallow it in
robots.txt. - Add one hidden link to it in your footer, marked
rel="nofollow"and hidden from screen readers witharia-hidden="true", so people never see it. - Anything that requests that page read your page source, followed a hidden link and ignored your
robots.txt. Log it, and feed those addresses and user agents into your firewall rules.
Keep it boring. Don’t serve fake content that could end up in an AI answer about you, and never put the trap where a keyboard or screen-reader user can reach it.
Let the Agents In, and Serve Them Well
Here’s our opinion: unless you have a concrete reason to keep them out, let AI agents and AI search through.
When ChatGPT-User or Claude in Chrome opens your pricing page, a person asked about you. Blocking it doesn’t stop the question. It just means the answer is written without your page. OpenAI notes that robots.txt may not apply to these user-initiated fetches anyway, and Perplexity says the same of Perplexity-User (OpenAI, Perplexity).
Good reasons to say no do exist: paid or licensed content, heavy load on a small server, or a policy that forbids it. Without one, make the visit count. That’s the practical side of generative engine optimization (GEO):
- Serve your key content in the HTML, not only after JavaScript runs.
- Keep facts that answer real questions on the page: prices, plans, limits, contact details.
- Use clear headings and structured data, and keep pages fast.
- Publish an
llms.txtthat points agents to the pages that matter.
Measure Before You Decide
Every one of these choices is easier with data. Which pages do AI crawlers read? How many sessions come from agents, and which ones? Did that scraper stop after you added a rule? Is your honeypot catching anything?
If your analytics throws all automation away, you’re making these calls blind. And if it counts all of it as visitors, your funnels lie: here, bots and agents enter the funnel but almost never convert, so the overall rate looks five points worse than what people actually do.

How d8a.tech Labels Every Session
d8a.tech Cloud now labels every session human, agent or bot. Each session also gets the client’s name when the evidence identifies one, a confidence and the reasons behind the verdict.

The evidence comes in two layers:
- On the server, with any tracking: the user agent, checked against the IP ranges that Google, OpenAI, Perplexity and Common Crawl publish. A crawler that claims a name and comes from that operator’s range is verified by IP, with high confidence. Otherwise its name stays self-declared.
- In the browser, with the extended d8a.tech tracker: traces of automation tools (
webdriver, headless Chrome, Playwright, Puppeteer, Selenium), the overlay AI browser assistants such as Claude in Chrome draw on the page, and human-like input such as real typing and scrolling.
The browser layer is what catches scripted browsers and AI browser assistants, so accuracy is highest with the d8a.tech tracker on the d8a protocol. With GA4 or Matomo tags, only the server evidence applies. You can still send everything to your own BigQuery with the d8a.tech tracker and get the full picture there.

The results are six session columns: actor type, category, name, confidence, identification method and reasons. They work as dimensions in the dashboard, in Ask AI and in your AI chat through the d8a.tech connector, and land as columns in your own BigQuery or ClickHouse if you use Cloud Warehouse. So you can ask “how much of last week’s traffic was AI agents, and which pages did they read?” and get a real answer. The docs list every value.
Where We’re Careful
We’d rather miss a bot than call a real visitor one. So we started strict:
- A session with no evidence is human with low confidence. That’s not a verified person, and the label says so.
- Things real people do too, like an open DevTools panel, pasted text, browser extensions or unusual hardware, are signals, but on their own they never make a visitor a bot or an agent.
- Without
analytics_storageconsent, the tracker sends a reduced, cookieless set of signals and stores nothing in the browser. - It labels sessions; it doesn’t block anyone, and it works after the session closes, not in real time.
- Dropping bot sessions with a traffic filter isn’t possible yet. That’s next. For now, segment them in your reports.
We’ll widen the rules as the evidence grows.
From Data to Prevention
If you run d8a.tech, here’s a simple weekly routine:
- Break down sessions by actor type and name. Note anything new.
- Check the AI crawler and agent rows against your
robots.txtchoices. Are the clients you blocked gone? Are the ones you want still coming? - Look at automated browsers with no name. If one hammers the same pages, add a rate limit or a firewall rule.
- Keep your conversion reports on human sessions, so your rates describe people.
Talk to your data, then build the trap together
Once d8a.tech Cloud is on your site, connect it to Claude or ChatGPT and just ask: "Which bots and agents visited last week, and which ones keep coming back?" Then work out what to do about it in the same chat. Your assistant can run this weekly review for you, draft the honeypot page, the robots.txt rule or the CDN rule for that traffic, and check next week's numbers to see if it worked. You deploy the change; the data shows the result.
Watching a scraper disappear from your own reports, after a rule you wrote with your AI in ten minutes, is a very rewarding afternoon.
Start Here
Bot and agent detection is included in every d8a.tech Cloud plan: in the dashboard, free up to 500k events a month, or in your own BigQuery or ClickHouse, free up to 30M. Start free, read how it works, or talk to us about your setup.