Check 43.18 · GEO KPIs

Measure AI crawler visits

Turn your logs into monthly AI crawler indicators: requests by family, verified share, HTTP codes, key page coverage, with a script and thresholds.

Priority
Important
Difficulty
Intermediate
Estimated time
2 to 3 h, then 30 min per month
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Measuring AI crawler visits means extracting every month, from your access logs or your CDN (Content Delivery Network), a handful of stable indicators: how many requests per crawler and per family, what share really comes from the stated operator, with which HTTP codes, and what share of your important pages was read. The result is one row per month and per crawler in a dashboard, with alert thresholds.

Why it matters

For ChatGPT, Perplexity and Claude, no provider offers a console where you can see how your site is crawled. Logs are the only direct record of access. The task analyze AI crawler logs (opens in a new tab) explains where to find them and how to query them as a one-off; this one turns them into an indicator tracked over time.

AI crawlers do not all play the same role, and mixing them into one total makes the figure meaningless:

Family Crawlers What their visits mean
Search OAI-SearchBot, PerplexityBot, Claude-SearchBot The engine indexes your pages and can offer them as sources
User-initiated ChatGPT-User, Perplexity-User, Claude-User A user asked a question that led the assistant to read the page
Training GPTBot, ClaudeBot Collection that may be used to train models; no direct link with visibility
Reference Googlebot, bingbot Feed Google Search (including AI Overviews and AI Mode) and Bing search

Google-Extended is only a robots.txt token, with no user agent of its own: it never appears in logs. Google's generative features rely on Googlebot's crawling.

A visit is neither a citation nor a site visit by a person. It proves that the content is accessible and read, a necessary but not sufficient condition for appearing in an answer.

What it improves

  • Detecting blocks A drop in requests or a rise in 403s for a search crawler shows up within a month, not a quarter.
  • Proof of effect After opening up robots.txt or fixing the firewall, the visits show whether the crawler has come back.
  • Usage signal The pages read by user-initiated crawlers show the topics on which assistants rely on you. An indirect signal, with no guarantee of citation.
  • Hygiene The unverified share reveals user agent spoofing.
  • Rankings and citations No direct effect. This is a measurement.

How to check

Tracking is in place if your dashboard contains, for each of the last three months:

  1. the number of requests per crawler, broken down by family;
  2. the share of requests coming from the IP ranges published by the operator;
  3. the share of 2xx responses, and the breakdown of 3xx, 4xx and 5xx;
  4. the number of distinct URLs requested;
  5. the coverage of your strategic pages by search crawlers;
  6. the twenty pages most requested by user-initiated crawlers.

A month without a single row for a search crawler you allow is an anomaly to investigate, not a zero to report.

How to implement

Step 1 — Choose the source and the period

Read the logs from the furthest upstream layer: the CDN's if the site has one, otherwise the server's. Behind a CDN, pages served from the cache never reach the origin. Keep the same source from one month to the next: changing the source changes the figures.

Collect over complete calendar months. If your host only keeps a few days, download or export the files every week.

Step 2 — Define the indicators

Indicator Formula Interpretation
Requests per crawler Count of the crawler's lines Crawl trend
Verified share Requests from official ranges ÷ crawler's requests Below 90%, look for spoofers
Success rate 2xx responses ÷ verified requests An allowed search crawler should be close to 100%, excluding redirects
Distinct URLs Unique paths requested, without parameters Breadth of the crawl
Strategic coverage Strategic pages read by at least one search crawler ÷ strategic pages Share of important pages the AI engines know
Pages fetched URLs requested by user-initiated crawlers, ranked Content requested by assistant users

The interpretation thresholds are steering benchmarks, to adapt to your site.

Step 3 — Produce the monthly report

This Python script, with no external dependencies, reads logs in Apache or Nginx combined format (including .gz files), checks each IP address against the lists published by OpenAI, Perplexity and Anthropic, and produces a CSV by month and by crawler. Save it as releve_robots_ia.py:

#!/usr/bin/env python3
import csv
import gzip
import ipaddress
import json
import re
import sys
import urllib.request
from datetime import datetime

ROBOTS = {
    "OAI-SearchBot": ("recherche", "https://openai.com/searchbot.json"),
    "PerplexityBot": ("recherche", "https://www.perplexity.ai/perplexitybot.json"),
    "Claude-SearchBot": ("recherche", "https://claude.com/crawling/bots.json"),
    "ChatGPT-User": ("consultation", "https://openai.com/chatgpt-user.json"),
    "Perplexity-User": ("consultation", "https://www.perplexity.ai/perplexity-user.json"),
    "Claude-User": ("consultation", "https://claude.com/crawling/bots.json"),
    "GPTBot": ("entrainement", "https://openai.com/gptbot.json"),
    "ClaudeBot": ("entrainement", "https://claude.com/crawling/bots.json"),
}

LINE = re.compile(r'^(\S+) \S+ \S+ \[([^\]]+)\] "\S+ (\S+)[^"]*" (\d{3}) \S+ "[^"]*" "([^"]*)"')
ROBOT = re.compile("|".join(re.escape(name) for name in ROBOTS))
ranges = {}
verdicts = {}
stats = {}


def official_networks(url):
    if url not in ranges:
        request = urllib.request.Request(url, headers={"User-Agent": "releve-robots-ia"})
        with urllib.request.urlopen(request, timeout=30) as response:
            prefixes = json.load(response)["prefixes"]
        ranges[url] = [ipaddress.ip_network(p.get("ipv4Prefix") or p.get("ipv6Prefix")) for p in prefixes]
    return ranges[url]


def is_verified(ip, url):
    if (ip, url) not in verdicts:
        try:
            address = ipaddress.ip_address(ip)
            verdicts[(ip, url)] = any(address in network for network in official_networks(url))
        except ValueError:
            verdicts[(ip, url)] = False
    return verdicts[(ip, url)]


for path in sys.argv[1:]:
    opener = gzip.open if path.endswith(".gz") else open
    with opener(path, "rt", encoding="utf-8", errors="replace") as log:
        for line in log:
            match = LINE.match(line)
            if not match:
                continue
            ip, date, url, status, user_agent = match.groups()
            robot = ROBOT.search(user_agent)
            if not robot:
                continue
            name = robot.group(0)
            month = datetime.strptime(date[3:11], "%b/%Y").strftime("%Y-%m")
            row = stats.setdefault((month, name), {"requetes": 0, "verifiees": 0, "urls": set()})
            row["requetes"] += 1
            row["urls"].add(url.split("?")[0])
            if is_verified(ip, ROBOTS[name][1]):
                row["verifiees"] += 1
                row[status[0] + "xx"] = row.get(status[0] + "xx", 0) + 1

writer = csv.writer(sys.stdout)
writer.writerow(["mois", "robot", "famille", "requetes", "verifiees", "2xx", "3xx", "4xx", "5xx", "url_distinctes"])

for (month, name), row in sorted(stats.items()):
    codes = [row.get(c, 0) for c in ("2xx", "3xx", "4xx", "5xx")]
    writer.writerow([month, name, ROBOTS[name][0], row["requetes"], row["verifiees"], *codes, len(row["urls"])])

The script labels the families recherche (search), consultation (user-initiated) and entrainement (training), and writes French column names (mois for month, requetes for requests, verifiees for verified, url_distinctes for distinct URLs). Run it on the month's files, archives included:

python3 releve_robots_ia.py /var/log/nginx/access.log* > robots-ia-2026-11.csv

HTTP codes are only counted for verified requests: what spoofers receive tells you nothing about the real crawlers. If a machine returns a certificate error when downloading the lists, it is the Python installation that is missing root certificates, not the script.

Good to know: crawler names and the URLs of the IP lists change. Check them every quarter in the OpenAI, Perplexity and Anthropic documentation, and keep the list aligned with your inventory of AI crawlers (opens in a new tab).

Step 4 — Measure strategic page coverage

Prepare strategiques.txt, one path per line (/tarifs/, /logiciel-planning-maintenance/…), taken from your page map. Then:

zcat -f /var/log/nginx/access.log* \
  | awk -F'"' '$6 ~ /OAI-SearchBot|PerplexityBot|Claude-SearchBot/ {split($2, r, " "); sub(/\?.*/, "", r[2]); print r[2]}' \
  | sort -u > lues-recherche.txt
sort -u strategiques.txt > strategiques-tri.txt
echo "Covered: $(comm -12 strategiques-tri.txt lues-recherche.txt | wc -l) / $(wc -l < strategiques-tri.txt)"
comm -23 strategiques-tri.txt lues-recherche.txt

The last command lists the strategic pages that no AI search crawler requested during the period: check their internal links, their presence in the sitemap and their HTTP response.

For the pages fetched, reuse the “most requested pages” command from the log analysis task with ChatGPT-User|Perplexity-User|Claude-User.

Cloudflare

Versions Cloudflare dashboard, AI Crawl Control, all plans, November 2026.

If the site runs through Cloudflare, AI Crawl Control provides the essentials without a script, including pages served from the cache:

  • Metrics tab: requests over time (all, allowed, volume transferred), which can be grouped by crawler, category or operator; breakdown of HTTP codes from 2xx to 5xx; table of the most requested paths.
  • Crawlers tab: requests and volume per crawler, with the action applied.
  • Export: “Download CSV” keeps the filters and groupings applied. Set the date range to the previous month, group by crawler, export.
  • Referrers: on paid plans, the referrer views link crawlers to the visits each platform sends.

Cloudflare identifies crawlers with its own signatures: its counts may differ from a user agent count in your logs. Do not mix the two sources in the same series.

AWS

Versions CloudFront with standard logs queried in Amazon Athena, November 2026.

With the cloudfront_standard_logs table created as described in the AWS documentation, this monthly report gives requests, successes and distinct URLs per crawler:

SELECT date_format("date", '%Y-%m') AS mois,
       regexp_extract(url_decode(cs_user_agent), 'OAI-SearchBot|PerplexityBot|Claude-SearchBot|ChatGPT-User|Perplexity-User|Claude-User|GPTBot|ClaudeBot') AS robot,
       COUNT(*) AS requetes,
       SUM(CASE WHEN sc_status BETWEEN 200 AND 299 THEN 1 ELSE 0 END) AS succes_2xx,
       SUM(CASE WHEN sc_status >= 400 THEN 1 ELSE 0 END) AS erreurs,
       COUNT(DISTINCT cs_uri_stem) AS url_distinctes
FROM cloudfront_standard_logs
WHERE "date" >= date '2026-11-01' AND "date" < date '2026-12-01'
  AND regexp_like(url_decode(cs_user_agent), 'OAI-SearchBot|PerplexityBot|Claude-SearchBot|ChatGPT-User|Perplexity-User|Claude-User|GPTBot|ClaudeBot')
GROUP BY 1, 2
ORDER BY requetes DESC;

The column names are those of the table creation statement in the Athena documentation: adapt them if your table differs. url_decode makes the user agent readable if you display it; crawler names, which contain no spaces, are matched either way. For the verified share, export the crawler and IP address pairs (column c_ip), then apply the method described in verify crawler identity against official IP ranges if possible (opens in a new tab).

Shared hosting

Download the raw logs every month from the hosting control panel (cPanel: Metrics > Raw Access; Plesk: Logs), then run the step 3 script on your own computer. Without access to the logs, the only possible measurement is through a CDN placed in front of the site.

Step 5 — Keep the dashboard

AI_crawlers tab, one row per month and per crawler. Example for Planifia:

Month Crawler Family Requests Verified share 2xx rate Distinct URLs Strategic coverage Event
2026-09 OAI-SearchBot Search 1,240 99% 97% 310 82% —
2026-10 OAI-SearchBot Search 180 98% 41% 95 35% Firewall rule added on 2026-10-03
2026-11 OAI-SearchBot Search 1,410 99% 98% 335 86% Exception fixed on 2026-11-02
2026-11 ChatGPT-User User-initiated 640 97% 99% 120 — —
2026-11 GPTBot Training 22 18% — 19 — Disallowed in robots.txt; mostly spoofed traffic

Fictional values. Formulas for Google Sheets, with requests in D, verified requests in E and 2xx in F:

Verified share:
=IFERROR(E2/D2,0)

2xx rate (on verified requests):
=IFERROR(F2/E2,0)

Change in requests compared with the same crawler's previous month:
=IFERROR(D2/INDEX(FILTER($D$1:D1,$B$1:B1=B2),COUNTIF($B$1:B1,B2))-1,"")

Alerts to set, to be adjusted: requests from an allowed search crawler down by more than half in a month; 2xx rate below 90%; strategic coverage down by more than 15 points; verified share below 90%. To automate, see create alerts for traffic and conversion drops (opens in a new tab).

Common mistakes

  • Adding up all families into one “AI crawlers” total: a rise in training collection can hide the disappearance of a search crawler.
  • Counting without checking the IP address: some of the “GPTBot” or “ClaudeBot” requests are scripts borrowing their name.
  • Reading origin logs behind a CDN: cached pages are missing, and the trend depends on the cache hit rate.
  • Changing source mid-series (server logs one month, Cloudflare the next).
  • Mistaking a visit for a citation: a crawler reading a page says nothing about how it is used in an answer.
  • Looking for Google-Extended in the logs: it is a robots.txt token, with no user agent.
  • Keeping only a few days of logs: an incomplete month skews the comparison.

Frequently asked questions

How do I know whether ChatGPT's crawlers visit my site?

ChatGPT's crawlers can be spotted in the server or CDN access logs by their user agent: OAI-SearchBot for search indexing, ChatGPT-User for fetches requested by a user, GPTBot for training collection. Then check that the IP address is in the ranges published by OpenAI, because any script can borrow these names. JavaScript-based analytics tools do not see these crawlers.

What is the difference between OAI-SearchBot, ChatGPT-User and GPTBot?

OAI-SearchBot indexes pages for ChatGPT search, ChatGPT-User reads a page when a user asks a question that leads to it, and GPTBot collects content that may be used to train OpenAI's models. To measure visibility, track the first two separately: their visits show that your pages are accessible to search and actually requested by users.

Do more AI crawler visits mean more citations?

No, more AI crawler visits do not mean more citations. Visits prove that the content is accessible and read, a necessary condition for being cited, but each engine chooses its own sources. Fetches by user-initiated crawlers, such as ChatGPT-User or Perplexity-User, are the closest indication of real use, without being proof of a citation in the answer shown.

How often should AI crawler visits be recorded?

Record AI crawler visits every month, over complete calendar months, from the same log source. A monthly frequency is enough to detect a block or a drop in crawling and to measure the effect of a fix. If your host only keeps logs for a few days, download them every week so as not to lose data.

Updated on

Topic checklist (PDF)

And now?

In the “GEO KPIs” topic

  1. Define a fixed prompt panel
  2. Test ChatGPT Search and Perplexity
  3. Test Gemini and Copilot
  4. Test Claude with web search
  5. Test Google AI Overviews and AI Mode if available
  6. Measure mention rate
  7. Measure citation rate
  8. Measure recommendation rate
  9. Measure AI share of voice
  10. Compare presence with competitors
  11. Identify cited URLs and third-party sources
  12. Identify topics and attributes associated with the brand
  13. Measure factual accuracy
  14. Measure positive/neutral/negative sentiment
  15. Log hallucinations and outdated information
  16. Log confusion with competitors
  17. Measure identifiable AI visits, conversions and revenue
  18. Measure AI crawler visits
  19. Use Google/Bing AI visibility reports when available
  20. Compare results over time
  21. Document engine, model, date, language and test conditions
  22. Repeat tests to account for variability
  23. Separate citations from unlinked mentions