How to track AI bots and agents on your website, and what to do next

Track AI bots and agents on your website: see which pages they read, what blocks them and which visits turn into citations. 7 steps.

Book a Demo
Start Free Trial
published
category
AI & SEO
reading time
12 min read

One r/TechSEO poster launched a new site in October and logged every visitor. In the first five days, bots made about 750 requests and people made 207 pageviews. Clicks from ChatGPT, Claude, Perplexity and Gemini came to zero.

That gap is normal. AI crawlers and assistants read your site every day, and tag-based analytics records almost none of it. This guide shows you how to track AI bots in seven steps. More usefully, it shows what to do with the data once you have it.

It's written for SEO, content and growth marketers who want working numbers by the end of the week. Every example uses data from our own site.

TL;DR

  • GA4 and other tag-based tools can't see most AI bots, because bots don't run JavaScript. You need server or CDN logs.
  • Sort every visit by what the bot is doing: training, AI search, answering a person, or acting as an agent.
  • Check each bot's IP address against the ranges AI companies publish. On our site, 1,856 requests in two weeks used fake bot names.
  • The most useful view is pages AI reads but never cites. We found 397 of them, including some of our busiest blog posts.
  • Review the data weekly in about 15 minutes, and measure before and after every change.

Why GA4 and other tag-based tools miss AI bots

GA4, Adobe Analytics and similar tools count a visit when a JavaScript tag fires in the visitor's browser. Most AI crawlers and assistants fetch the raw HTML and never run that tag. So they leave no trace in your dashboard.

GA4 also filters known bots on purpose. Even a bot that runs scripts would usually be removed from your reports.

One r/analytics poster put the problem neatly. AI traffic is three separate measurements (r/analytics, October 2026):

  • Clicks from AI answers: People clicking a link in ChatGPT or Perplexity. GA4 can track these with a custom channel group, though some apps strip the referrer.
  • Crawler reads: Bots reading pages to train models or build an AI search index. Only your server or CDN sees these.
  • Live fetches: Assistants opening a page to answer a person right now. These are also server-side only.

On that poster's small site, one week brought about 230 crawler reads, 15 live fetches and zero AI clicks. GA4 alone would have said AI ignored the site.

You should still track the first number. In GA4, create a custom channel group for referrers such as chatgpt.com, perplexity.ai, claude.ai and gemini.google.com. Also match utm_source=chatgpt.com, which ChatGPT adds to many links. Treat the result as a floor, since mobile apps often send no referrer.

If you want the bigger picture behind this shift, read our guide to what agent analytics is.

Three ways to track AI bots

There are three practical ways to track AI bots, and they trade effort against depth.

Method Effort Cost What it gives you What it misses
Raw server logs High: export, filter and script Free Every request your server answered Requests answered by your CDN cache; verification unless you build it
CDN dashboards Low if you already use the CDN Often included Crawler counts and block controls at the edge Links to citations; sites outside that CDN
Dedicated tools Low to medium: connect once Paid plans Bot types, verification, page coverage and citation links Browser agents that look human

Table: Three ways to track AI bots on a website, compared by effort, cost and coverage.

Raw logs suit a one-off audit by someone comfortable with the command line. You search the access log for names such as GPTBot, ClaudeBot and ChatGPT-User, then count by page and status code. The catch is upkeep: bot names change, new bots appear, and verification takes extra scripting.

CDN dashboards are the fastest start. Cloudflare's AI Crawl Control, for example, is available on all plans and shows which AI services reach your content. It also lets you allow or block each crawler. It won't tell you which pages AI answers cite.

Dedicated tools join bot data to the questions marketers care about. Which pages get cited, which never do, and what changed after a rewrite? We compare the options in our roundup of agent analytics tools.

The seven steps below work with any of these three methods, whichever you start with. The screenshots come from Slate's Bot Analytics on slatehq.com.

Step 1: Connect your logs from the CDN or host

Start where your requests already land. Most B2B sites sit behind a CDN such as Cloudflare, Fastly or AWS CloudFront, or a host such as Vercel or Netlify. Each keeps a log of every request it answers, bots included.

Pick the source that sees the most traffic. A CDN log catches cached pages that never reach your server. A server log misses those.

Then decide how far back you need to look. Live logging gives you every request with full detail. Imported history from a dashboard is often daily totals only.

In Slate, you connect your website's platform once: Cloudflare, Vercel or Netlify. A status dot shows when bot requests are arriving.

Think about privacy at this step too. You need IP addresses to verify bots, but you rarely need to keep them. Slate checks each address and then drops it, so its request log never shows them.

Outcome: a steady feed of bot requests with time, page, user agent, IP address and status code.

Check: confirm today's requests appear and familiar bots such as Googlebot show up. If nothing arrives within an hour, sort out the connection before anything else.

Step 2: Sort visits by what each bot is doing

A total of "AI visits" tells you little. Sort every visit into one of four jobs:

  1. Training: Collecting text for future models, such as GPTBot and ClaudeBot.
  2. AI search: Building the index that AI answers cite, such as OAI-SearchBot and PerplexityBot.
  3. Answering people: Opening a page mid-conversation, such as ChatGPT-User and Claude-User.
  4. AI agent: Acting for a person in a browser.

Each job leads to a different action. Answering-people visits show live demand, so watch which pages they open. AI search visits decide whether a page can be cited. Training visits are a content policy question.

Bot Analytics overview for slatehq.com with a daily chart of AI visits split by bot type and totals of 23,472 AI visits and 4,576 visits to answer people.

AI visits on slatehq.com split by bot type, November 1 to 30, 2026.

On slatehq.com in November, about 12,900 visits were AI search, about 6,000 were training, and 4,576 answered a person. Only two were labeled as agents. The Overview in Bot Analytics shows this split, with a sentence summing up the range.

Then split the same numbers by company. The pattern differs a lot. OpenAI made 7,064 visits to our site, and 2,387 of them answered a person. Perplexity made 5,192 visits, but only 124 were live answers. Anthropic made 2,716, with 1,115 answering someone.

That tells you where your content is being used in conversations today. For us, ChatGPT and Claude users were reading our pages. Perplexity was mostly crawling.

Step 3: Filter out fake bots

Anyone can send a request that calls itself GPTBot. Scrapers do it to slip past firewalls. If you count by name alone, your numbers will be inflated and your block rules will hit the wrong traffic.

The answer is IP verification. OpenAI, Anthropic, Perplexity, Google and others publish the address ranges their bots use. A request that claims to be GPTBot but comes from another address is spoofed.

On our site, between November 14 and 30, we logged 1,856 spoofed requests. They borrowed nine bot names, led by PerplexityBot, Googlebot, GPTBot and OAI-SearchBot.

Verification has limits. Some companies publish no address ranges, and others don't say their list is complete. Empact Partners checked AI-named requests to its own domains and found only 32% came from the bot they named (Empact Partners).

Bot Analytics checks every request against the published ranges and leaves spoofed ones out of every number. Whatever tool you use, ask the vendor how it verifies bots and which companies it can't verify.

Outcome: counts you can trust, plus a list of fake bots you may want to block.

Step 4: Find what blocks AI bots

A bot that can't reach a page can't cite it. Look for four kinds of blockers:

  • robots.txt rules: A disallow line for GPTBot or ClaudeBot, sometimes added years ago.
  • CDN or firewall rules: Bot protection settings that challenge or block AI crawlers.
  • 404s: Old URLs that AI bots still request after a redesign.
  • Server errors: 5xx responses during traffic bursts.

Check both robots.txt and your CDN settings, since they're managed in different places. Check the history as well. A robots.txt change during a site migration can quietly block a bot for months.

CDN defaults matter too. Cloudflare's default for AI crawlers on new domains has changed since 2025, so open the setting and confirm what yours says. Whatever it is, it should be a decision. Our guide on checking AI crawler access in Cloudflare walks through the Cloudflare side step by step.

On slatehq.com, 3% of AI visits to pages hit an error in November. Amazon's bot saw 5.5% errors and Cohere's 8.8%. Some came from retired URLs that AI bots still request.

In Bot Analytics, Access and errors lists each problem with the reason and the next step. For a Cloudflare rule, it offers the exact change to copy into Cloudflare.

On our site, robots.txt allows every AI bot and Cloudflare's AI bot protection is off. We chose that because a B2B site wants to be read and cited.

Outcome: a short list of blocks and errors, sorted by the pages that matter most.

Step 5: Find pages AI reads but never cites

This step gets skipped most often, and it has the clearest payoff. Compare the pages AI bots read with the pages AI answers cite.

A page that gets read but never cited has already done the hard part: AI systems know it exists. Usually it answers a narrower question than the one people ask, or it buries the answer.

Bot Analytics page coverage view showing 397 pages read by AI bots but not cited in any tracked prompt, with visits and status for each page.

Pages read by AI but not cited in tracked prompts on slatehq.com, last 30 days.

On slatehq.com, 397 pages were read by AI in November and never cited in our tracked prompts. Bot Analytics shows them in Page coverage under "Crawled, not cited".

Some of the pages on that list surprised us. Our best AI tools roundup got 152 AI visits, and 67 were assistants answering someone. Our guide to businesses in ChatGPT got 151, with 93 answering visits. Neither was cited in a tracked prompt. Assistants are opening these pages, and the answers they give still credit other sources.

Here's how to pick the first ten to improve:

  1. Sort by visits to answer people. Those pages already get opened mid-conversation.
  2. Keep pages tied to buying decisions, such as comparisons, pricing and use cases.
  3. For each one, write down the question buyers ask AI about that topic.
  4. Put a direct answer to that question near the top of the page.
  5. Add the facts AI needs to cite you: numbers, names, prices and dates.

Outcome: a ranked list of ten pages, each with the question it should answer.

Check: after you change a page, watch whether AI search bots re-read it and whether citations follow.

Step 6: Check how fast new pages get found

New pages show how quickly AI notices your content. Track the time from publishing to the first visit by each kind of bot.

Bot Analytics new pages view listing recently published slatehq.com pages with the time to first visit by search engines, AI search, AI training and answering people.

Time from publishing to first visit by each bot type, slatehq.com new pages.

On slatehq.com, AI search found new pages in under an hour, at the median. Of 65 new or updated pages, 61 were found by AI search within seven days. Assistants opened 41 to answer someone, a median of three days after publishing.

Citations take longer. Only nine of the 65 pages were cited in a tracked prompt, a median of five days after publishing. Some pages wait much longer. Two of our free tools were still waiting for a training crawl eight days after launch.

The fastest page this month was our Cloudflare guide. AI search read it within an hour of publishing, and an assistant opened it for someone within an hour too.

If a page is never opened to answer people, check three things. Is it linked from pages AI already reads? Is it in your sitemap? Does its title match a question people ask?

Step 7: Set a weekly review

A 15-minute weekly check keeps the data useful:

Check What to look for Action if it's off
Errors to AI bots A rise above your usual rate Open the error list before changing content
Top pages opened to answer people New pages entering the list Make sure those pages answer the question fully
Crawled, not cited Pages you improved last week Confirm AI re-read them
New pages Pages still waiting for an AI visit Add internal links and check the sitemap

Table: A weekly 15-minute review of AI bot activity.

Once a month, step back. Compare the month with the one before, note what you changed, and share the results with your content team. Most tools keep detailed request logs for a limited window, so export anything you want to keep for longer.

Mistakes to avoid

  • Blocking every AI bot: A blanket block also removes you from AI answers. Decide per bot job.
  • Mixing search engines into AI totals: Googlebot and Bingbot also feed AI Overviews and Copilot, but report them on their own line.
  • Counting link previews as AI: Facebook's link preview fetcher made more than 13,000 requests on our site in 30 days. Those are social shares, so keep them out of AI counts.
  • Trusting user-agent names: Verify against published IP ranges, or your numbers include fakes.
  • Reading three days as a trend: Bots crawl in bursts. Compare full weeks or months.
  • Judging AI by clicks alone: AI referral clicks are a small, late signal. Reads and live fetches show interest weeks earlier.
  • Rewriting before fixing errors: If a bot gets a 404 or a block, new content won't help. Clear access problems first.

Conclusion

Tracking AI bots starts with logs and pays off when you act on them. Sort visits by job, drop fake bots, clear blocks and errors, and work through the pages AI reads but never cites. Do it weekly, and measure every change against the week before. Within a month you'll know exactly which pages AI trusts, which it ignores, and why. To run these steps on your own site, book a demo.

Frequently asked questions

How can I tell if ChatGPT is reading my website?

Look in your server or CDN logs for the user agents GPTBot, OAI-SearchBot and ChatGPT-User. ChatGPT-User means the assistant opened a page to answer someone. Check the IP address against OpenAI's published ranges to rule out fakes.

Why doesn't GA4 show AI bot traffic?

GA4 counts visits through a JavaScript tag. Most AI bots fetch the HTML without running scripts, and GA4 also filters known bots. GA4 can still show human clicks that arrive from AI tools.

What is the difference between GPTBot and ChatGPT-User?

GPTBot crawls pages to collect training data for OpenAI's models. ChatGPT-User fetches a page live when a ChatGPT user's question needs it. OAI-SearchBot is a third bot that builds ChatGPT's search index.

How often should I check AI bot traffic?

Weekly works for most marketing and SEO teams. A 15-minute review of errors, top pages, crawled but uncited pages and new pages catches problems early. Compare full weeks, since bots crawl in bursts and a single day can mislead.

Can I track AI bots for free?

Yes, with effort. Your server or CDN logs are free to read, and Cloudflare includes AI Crawl Control on all plans. Paid tools add verification, page coverage, new-page tracking and links to citations.

What is a spoofed bot?

A spoofed bot is a request that uses a known bot's name, such as GPTBot, from an address the bot's owner doesn't use. Scrapers do this to get past firewalls. Verifying IP addresses filters them out.

Do AI crawler visits lead to citations?

Not automatically. On our site, AI read 456 pages in a month and 397 were never cited in tracked prompts. A visit makes a page eligible; a clear answer to a common question earns the citation.

share to
copied!

Stay updated, subscribe today!

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Resources that elevate your efforts