AI Search
Are AI Crawlers Visiting Your Site? Check Logs and robots.txt
Updated 7 November 2026·9 min read·MeraSEO, Mumbai
You may have read that AI companies are crawling every site, or that blocking them will hide you from AI search. Your analytics cannot settle either question. GA4 can show human visitors who click through from chatgpt.com or perplexity.ai as referrals, but the crawlers themselves do not run your tracking script, so they never appear. The record of which bots fetched which pages sits in the raw server log, and a first check takes about twenty minutes.
This post shows where to find the logs, what to search for, how to tell real bots from fake ones, and how to write a robots.txt that matches your decision. It does not cover how to get your content quoted by AI tools; that is in our guide to getting cited in Google AI Overviews and ChatGPT.
Before you look at a log, know what you are looking for. AI-related requests are not one thing:
Vendors document their own user agents and say which group each belongs to, and they change these pages from time to time. Treat the table below as a starting list and confirm each entry against the vendor’s current documentation before you rely on it.
| User agent | Operator | Typical purpose |
|---|---|---|
| GPTBot | OpenAI | Training crawl |
| OAI-SearchBot | OpenAI | Search index for ChatGPT search |
| ChatGPT-User | OpenAI | Fetch when a user asks about a page |
| ClaudeBot | Anthropic | Training crawl |
| Claude-SearchBot | Anthropic | Search index for Claude’s search answers |
| Claude-User | Anthropic | Fetch when a user asks Claude about a page |
| PerplexityBot | Perplexity | Search index |
| Perplexity-User | Perplexity | Fetch when a user asks about a page |
| Googlebot | Search crawling (also feeds Google’s AI features in Search) | |
| Bingbot | Microsoft | Search crawling |
Google-Extended is a control token you place in robots.txt to tell Google whether content it has already crawled may be used to train its Gemini models and to ground answers in Gemini apps and Vertex AI. It has no user agent string of its own; Google’s existing crawlers do the fetching, so a search of your logs for “Google-Extended” finds nothing. Google states that it does not affect inclusion or ranking in Google Search. AI Overviews are part of Search, so Google-Extended is not the switch for them. Google’s crawler overview links to the full list of its crawlers and tokens; check there for the current wording.
The log is a text file with one line per request. Where it lives depends on your host:
Open a terminal (or ask your developer) and run a simple count. Replace the file name with yours:
grep -Eo "GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User|bingbot|Googlebot" access.log | sort | uniq -c | sort -rn
This prints how many requests each user agent made. To see which pages one bot asked for, filter by that name and pull out the requested path:
grep "GPTBot" access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
Column positions can differ with your log format, so check one line first. What you are looking for is useful and specific: Are bots reaching your key service pages, or only your homepage? Are they wasting requests on filter URLs, search results and old redirects? Do many requests return 404 or 403? A 403 usually means a firewall rule is already blocking them, which may or may not be what you intended.
Also compare what the bots fetch with what they can read. Many AI crawlers are not known to run JavaScript, so if your prices or service details only appear after scripts load, a bot can request the page and still see very little. Our JavaScript SEO guide shows how to check what is in the initial HTML.
Anyone can send a request with the words “Googlebot” or “GPTBot” in the user agent. Before you trust a count or block an address, verify it.
Fake bots are common because “Googlebot” is often allowed through firewalls that block other traffic, so check this before you celebrate a large crawl count.
There is no one right answer. The decision depends on how your business earns its money.
| Business type | Search bots | Training bots | Reasoning |
|---|---|---|---|
| Local service business, clinic, restaurant | Allow | Usually allow | Public facts about you are what you want repeated accurately |
| Publisher or paid-content site | Allow if you want citations | Consider blocking | Content is the product; training use gives no direct return |
| Ecommerce store | Allow | Your call | Product visibility helps; proprietary descriptions or images may not be something you want trained on |
| Members-only or gated site | Public pages only | Block | Also protect gated areas with login, not robots.txt |
A sample file that allows search bots, blocks two training crawlers and opts out of Google-Extended (without touching Google Search) might look like this:
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://www.example.com/sitemap.xml
Replace the sitemap address with your own, and re-check the vendors’ documentation before relying on any user agent name. One rule catches people out: a crawler obeys only the most specific group that names it. In this file, OAI-SearchBot and PerplexityBot follow their own “Allow: /” group and ignore the /wp-admin/ rule under “User-agent: *”. If you want a path blocked for a named bot, repeat the rule inside its group.
General robots.txt problems, such as a leftover Disallow rule from a staging site or blocking CSS and JavaScript, are covered in our technical SEO checklist, so check that first.
After you edit robots.txt, open it in a browser and confirm the new content. A CDN can keep serving an older copy for a while; on Hostinger’s CDN we have seen up to ten minutes, so add a query string like ?v=2 to test, or wait. Then watch the logs over the next week or two. Crawlers re-read robots.txt on their own schedule (Google says it generally caches the file for up to 24 hours), so expect a delay, not an instant stop. If a bot you blocked is still requesting pages after that, verify it is real using Step 3 and escalate to a firewall rule if it is not.
For the broader picture of how crawl access fits into search work, see our AI search optimization page and the technical SEO service.
Download your raw server access log and search for the user agents OpenAI documents: GPTBot, OAI-SearchBot and ChatGPT-User. Count the requests and check the pages requested. Then verify the IP addresses against the ranges OpenAI publishes, since anyone can fake a user agent string.
No. GPTBot is OpenAI’s crawler and has no connection to Google Search. Blocking it affects only OpenAI’s use of your pages, so your Google rankings stay as they are. Google Search uses Googlebot, and blocking that would be a very different decision with real ranking consequences.
Google-Extended is a robots.txt token that controls whether Google may use your content to train Gemini models and to ground Gemini answers. It is not a separate crawler, so it never appears in server logs, and Google says blocking it does not affect your inclusion or ranking in Google Search, which includes AI Overviews.
Most local service businesses benefit from being found and described accurately, so they allow search-related bots. Whether to allow training bots is a business decision. Publishers selling content often block them, while others accept them. Whatever you choose, base it on your logs rather than guesswork.
We review your logs, verify which bots are real and set up robots.txt rules that match your business goals.
Talk about AI search optimization →WhatsApp us