Agent-Ready Web A1 · Deep dive When the buyer is an AI agentLeads, booking and handoff

How to track AI agent traffic and attribute leads that come via ChatGPT

Four recipes for website owners: sort agent fetches in your logs, read GA4's AI Assistant channel and its leaks, flag browser agents, and tag the source of every lead.

Olia Nemirovski
@olia · Tobira team
Published November 27, 2026
Last reviewed November 27, 2026
How to track AI agent traffic and attribute leads that come via ChatGPT
TL;DR

Track AI agent traffic in three places: server logs for agent fetches such as ChatGPT-User, GA4 for people who click through, with a custom AI channel, and the lead record, where you ask and tag the source.

How to track AI agent traffic and attribute leads that come via ChatGPT

Published November 27, 2026 · Last reviewed November 27, 2026

To track AI agent traffic, look in three places, because no single tool sees all of it. Your server or CDN logs record the agents that fetch pages for a person, such as ChatGPT-User, Claude-User and Perplexity-User. Google Analytics 4 records the people who click a link in an AI answer, and since May 2026 it files some of them under a channel called AI Assistant.1 The lead record is the third place: when a buyer arrives with a question, ask where they came from and tag it, because the lead is where an AI visit turns into a deal you can count.

GA4 runs on JavaScript in a browser. An assistant that fetches your pricing page from its own servers usually skips that script, so the visit is not in your reports. A person who then clicks through may arrive with a tag, a referrer, both or neither, and GA4 sorts the session by what it gets. Below are four recipes, one for each place and one for the browser agents that slip between them, with what each signal can and cannot prove.

A note on our interest: Tobira, which publishes this blog, sells two products this guide touches. Tobira Site Agent is an AI agent for business websites, and Tobira’s AI Visibility & Outcome Report tests how far AI assistants get with a buyer’s task and, on its monthly plan, shows AI traffic and leads. The section “How this connects to Tobira” says where each fits.

Two kinds of AI traffic, and why GA4 sees only one

Most AI traffic that comes on a person’s behalf arrives in one of two forms, and they leave different traces. Browser agents, a third form, get their own recipe below.

Agent fetches. A person asks ChatGPT, Claude or Perplexity a question, and the assistant fetches one of your pages to answer it. OpenAI calls this agent ChatGPT-User and says it visits pages when people ask ChatGPT or a custom GPT a question; Anthropic describes Claude-User the same way, and Perplexity says Perplexity-User fetches a page to answer a user’s question and link to it.234 These requests come from the provider’s servers, usually run no JavaScript and set no cookie, so a page tag never fires. The only record is the request line in your server or CDN log.

AI-referred people. The person reads the answer, sees your link and clicks it. This is a normal browser visit, so GA4 records it. How it is classified depends on what arrives with the click: a utm_source tag, a referrer from the assistant’s domain, or nothing.

Fetches show which pages assistants read for real people; referrals show how many of those people came to see for themselves. Expect a wide gap: on the sites one independent consultant measures, ChatGPT-User fetches 2 to 7 times more pages than ChatGPT sends visits.5 Never add the two counts together.

Keep crawlers in a bucket of their own: OAI-SearchBot, GPTBot, Claude-SearchBot, ClaudeBot and PerplexityBot collect pages for search indexes or model training, not for a person at that moment, and left in they swamp the signal.234

Recipe 1: find the agents in your server and CDN logs

Start with the raw access log from your web server, host or CDN, and check how many days yours keeps. Edge logs see requests your origin never gets, though raw edge logs are often a paid feature. If you cannot pull logs, a dashboard can do the sorting: Cloudflare’s AI Crawl Control, on every plan, shows requests per crawler and top paths; Microsoft Clarity’s free AI Bot Activity view pulls bot traffic from Cloudflare, Fastly or CloudFront; and since October 28, 2026, Vercel’s Observability separates assistant retrievals from crawlers.678

Sort AI user agents into buckets, using each provider’s own documentation:

BucketWhat it doesNames to match
User-initiated fetchVisits a page because a person asked a questionChatGPT-User, Claude-User, Perplexity-User
Hosted browser agentDrives a browser on the provider’s servers for a personGoogle-Agent, Claude-Agent
Search crawlerBuilds the index an assistant searchesOAI-SearchBot, Claude-SearchBot, PerplexityBot
Training crawlerCollects content for model trainingGPTBot, ClaudeBot

For a first look, a one-line filter is enough:

grep -E "ChatGPT-User|Claude-User|Perplexity-User|Google-Agent|Claude-Agent" access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

That prints the 20 pages agents fetched most often. In the combined log format that Nginx and Apache use, field 7 is the request path; a format without the user agent, such as Apache’s common format, will not work, and CDN logs name their fields differently. Compare the list with your top pages for human visitors: pages that rank higher for agents are the ones assistants rely on to answer questions about you, and they deserve the clearest prices and facts.

Verify before you trust a name. Any script can send “ChatGPT-User” in its header. OpenAI publishes IP ranges for each of its crawlers, including a separate list for ChatGPT-User; Perplexity publishes one per bot, Anthropic one for its crawlers and another for Claude-Agent, and Google one for its user-triggered agents.243910 ChatGPT’s cloud browser is checked a different way: it signs its requests with Web Bot Auth, which Akamai, Cloudflare, HUMAN and Vercel verify automatically, and which a standard access log does not record.11 Web Bot Auth is still an IETF working-group draft (version 01, October 29, 2026), and a valid signature proves only that the request was signed with a key published at the agent’s URL (for ChatGPT, chatgpt.com), not who the buyer behind it is; our Web Bot Auth explainer covers the mechanics.12

One caution on robots.txt: it does not govern every agent in this bucket. OpenAI says that for ChatGPT-User “robots.txt rules may not apply,” and Perplexity says Perplexity-User “generally ignores robots.txt rules,” because a person asked for the page. Anthropic, by contrast, says blocking Claude-User stops Claude fetching your pages for its users.243 Measure first, then decide what to allow.

Recipe 2: read AI referrals in GA4, and fix the leaks

People who click through from an assistant are the part GA4 can see. Since a Help Center update on May 13, 2026, GA4 has a default channel called AI Assistant: when the referrer matches Google’s list of AI assistants, it sets the medium to ai-assistant and the campaign to (ai-assistant). Google’s channel definitions give ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples, do not publish the full list, and keep Google’s own AI Overviews and AI Mode in Organic Search; for those two, Search Console’s generative AI report shows impressions, as our guide to testing whether ChatGPT recommends your business explains.113 Before the change most of these sessions sat under Referral, and the rollout ran into June, so a jump around then is a relabel, not growth.14

To read it, open Reports, then Acquisition, then Traffic acquisition, keep “Session default channel group” as the primary dimension, add “Session source / medium” as a secondary one, and pick your key event (a form submission, a booking, a purchase) in the Key events column. That gives sessions and conversions per assistant.

Four leaks to know about:

  1. A tag but no referrer. ChatGPT now opens most links without a referrer: Adobe’s Cedric Huesler traced it to how GPT-6 opens links, and the same consultant sees no referrer on 96% to 99% of visits that carry ChatGPT’s tag.155 Google’s rule keys on the referrer, so these sessions show up as chatgpt.com / (not set) and land in Unassigned, which Itamar Blauer, writing in Search Engine Journal, calls the channel almost nobody opens.14
  2. Tags come and go. ChatGPT normally adds utm_source=chatgpt.com to the links it cites. Profound tracked the share of the ChatGPT answers it collected whose cited links carried at least one tag: about 99% until the evening of October 8, about 5 to 12% for roughly 27 hours from October 14, and near 99% again by October 16.16 Clicks that lost both tag and referrer went to Direct: on about 500 pages Huesler checked, ChatGPT visits fell by 31,000 a day while Direct rose by 26,000.15 Mark October 8 to 16 as a gap in your ChatGPT numbers, not a drop in demand.
  3. Not on Google’s list. Perplexity is not among Google’s examples and, Blauer reports, still lands in Referral; Claude, named in May, is missing from the current examples.114
  4. Nothing at all. A click from an app that sends neither tag nor referrer counts as Direct, so even a well-built AI channel is a floor, not a total.1

The fix for the first and third leaks is a custom channel group of your own (Admin, then Data display, then Channel groups). Add a channel whose Source matches the regex .*(chatgpt\.com|openai\.com|claude\.ai|perplexity|gemini\.google\.com|copilot\.microsoft\.com|deepseek\.com|grok\.com).* and drag it above Referral, and above Organic Search if AI sources show up there. GA4 regex must match the whole value, and a session goes to the first channel it matches.17 Custom groups also apply to past data, and you pick the group as the primary dimension in Traffic acquisition; add assistants as you find them in the Referral and Unassigned rows.

Recipe 3: agents that drive a browser

Some agents drive a real browser and click through your pages the way a human would. They come in two kinds. Hosted agents run the browser on the provider’s servers, and a growing number say so: Google-Agent carries its name in the user agent and comes from a published IP list, Anthropic’s hosted browser adds a Claude-Agent token, and ChatGPT’s cloud browser signs its requests.10911 Google-Agent and Claude-Agent are already in the Recipe 1 filter; ChatGPT’s cloud browser has no name in its user agent, so count it where your CDN or firewall verifies its signature.

Agents that work inside the person’s own browser, such as an assistant’s Chrome extension, are harder. The request comes from that person’s browser with its user agent and cookies, so it runs your JavaScript, GA4 records a session and the log filter misses it.5 Our pieces on what agentic browsers change for your website and on what the end of Atlas changed in your logs go into how they behave.

Detection built for the purpose catches some of them:

Use these as a labeled segment, not a precise count. Some of this group will still blend into your human numbers; catch it where it matters most, when a lead arrives.

Recipe 4: attribute the lead where the conversation happens

Logs and GA4 count visits; the lead is where attribution is cheapest and most reliable. Three steps, in order of effort:

Ask. Add a “How did you hear about us?” question to every form, booking page and first sales call, with ChatGPT, Claude, Perplexity, Gemini and Copilot as options next to Google search, referral and social. Self-reported source is imperfect, but it survives a missing tag, a stripped referrer and a browser agent. In its own pipeline, the agency Omniscient Digital found that HubSpot’s first-touch source credited 28 of 189 leads who said an AI tool sent them; it had filed 95 of them under Organic Search and 59 under Direct.20 The agency reads the gap as buyers who saw it in an AI answer, then searched for its name.

Record. Hidden form fields can store the first-touch utm_source, the referrer and the landing page, and pass them to your CRM with the lead; store the first touch, not only the last. Some CRMs do part of this already. HubSpot’s traffic sources record AI Referrals when either the tag or the referrer names a recognized AI platform, so they catch tagged ChatGPT clicks that arrive without a referrer.21 In the EU, keeping first-touch values in a cookie or local storage between visits counts as storing information on the visitor’s device, which needs consent unless it is strictly necessary.22

Tag. Give the CRM one field for AI source, filled from either signal, and keep the raw values beside it. When the self-reported answer and the tracked source disagree, keep both. A lead that says “ChatGPT” and arrived via Direct or Organic Search is the pattern the earlier recipes predict.

The same applies to conversations. If a person, or an agent acting for them, starts in your site chat, by email or on the phone, the first message is the natural place to record the source. Give agent-started conversations a label of their own rather than folding them into “web”. Our overview of personal AI agents contacting businesses covers what CX vendors and large brands built for them this fall.

Then close the loop: put AI-sourced leads and the revenue they brought next to the fetch and referral numbers in the weekly report below.

A one-page weekly report

Put the four recipes on one page and keep the layers apart:

LineSourceWhat it tells youWhat it cannot tell you
Agent fetches, verifiedLogs or a crawler dashboard, checked against published IP ranges or signaturesWhich pages assistants read for their usersWhether anyone clicked or bought
Agent fetches, unverifiedSame logs, name match onlyPossible spoofing or new agentsWho sent them
Personal agent trafficCDN category such as Cloudflare’sWhich supported agents visit, and how oftenAgents the CDN does not recognize
AI sessionsYour custom AI channel in GA4 (it includes what AI Assistant catches)People who clicked through, and their key eventsClicks with no tag and no referrer
Likely agent conversationsChat platform attribute, if you have oneA labeled estimateProof
AI-sourced leads and revenueCRM field from ask, record and tagWhat AI interest was worthEverything before the lead

Each line is a different population measured by a different tool, so read it as a funnel of evidence, not of people. Look at trends week on week, and write down any tool change (a GA4 channel rule, a tagging outage like October’s, a new CDN category) next to the week it happened. Of the October drop and rebound, Profound’s head of insights, Josh Blyskal, wrote: “Neither change, on its own, tells you how much actual visitor demand changed.”16

Not every AI-tagged visit is a buyer, either: on one site the consultant quoted above measures, automated clients made up to 35% of visits tagged utm_source=chatgpt.com, a pattern that fits prompt-tracking tools.5 For the size of agent traffic across the web, see our AI agent traffic statistics; cited, used or closed sets out which outcomes each kind of tool can measure.

How this connects to Tobira

Site Agent sits at Recipe 4. It answers people and their AI agents on a company’s website from the company’s own materials and takes them to the next step the owner sets, such as a booking or a payment. Its product page, read on November 27, 2026, says the AI conversations in the owner’s inbox are “Tagged ‘via ChatGPT’, ‘via Claude’, with the outcome.”23 The page does not say how the tag is set. For leads that start in that chat, the tag can fill the AI-source field from Recipe 4, next to the form answer; visits that never reach the chat stay in your logs and GA4.

The AI Visibility & Outcome Report gives a buyer’s task to ChatGPT, Claude, Gemini and Perplexity, on a business’s site and its competitors’, and shows how far each assistant gets.24 It sits before this guide’s funnel, at whether assistants find and choose you. Its monthly plan also lists AI traffic, questions and leads in the customer’s account, and it uses private analytics only if the customer connects them. Every run stops before payment, so it does not measure closed sales. Like any testing tool, its runs add agent fetches of their own to the logs of the sites they test.

The idea behind both, a site that machines can read and also talk to, is in our explainer on agent-readable vs agent-addressable websites and our definition of an agentic website.

What to remember

No tool can yet tell you how much of your Direct traffic started in an assistant. Until one can, the question on your form is part of the measurement.

Frequently asked questions

How do I track AI agent traffic on my website? Use three sources. Server or CDN logs show agents that fetch pages for a person, such as ChatGPT-User and Claude-User. GA4 shows people who click through from an assistant, in its AI Assistant channel and, with a custom channel group, in sessions it would otherwise file as Unassigned or Referral. Your forms and CRM show which leads came from AI, if you ask and record the source.

Does Google Analytics 4 show traffic from ChatGPT? Partly. Since May 13, 2026, GA4 files sessions whose referrer matches its list of AI assistants under an AI Assistant channel. It cannot see server-side fetches by ChatGPT-User, and ChatGPT clicks that carry a tag but no referrer land in Unassigned unless you build a custom channel group.

What is ChatGPT-User? ChatGPT-User is the user agent OpenAI uses when ChatGPT or a custom GPT visits a page because a user asked a question. OpenAI says it is not used to crawl the web automatically, publishes its IP ranges, and says the visit may not be bound by robots.txt because a user initiated it.

Why does AI traffic show up as Direct in GA4? A click from an assistant is classified by its tag or referrer. When a click arrives with neither, because the referrer is stripped and no tag is attached, as happened in many ChatGPT answers between October 8 and 16, 2026, GA4 has nothing to go on and files the session as Direct.

How do I know which leads came from ChatGPT? Ask on every form and first call, with assistants as named options, and store the first-touch utm_source, referrer and landing page in hidden fields that pass to your CRM. When the answer and the tracked source disagree, keep both: a lead that says ChatGPT and arrived via Direct or Organic Search is expected.

Can I tell an AI agent from a human visitor? Sometimes. Hosted agents such as Google-Agent and Claude-Agent name themselves, and ChatGPT’s cloud browser signs its requests. Agents working in a person’s own browser usually look like that person. Cloudflare lists the supported personal agents it recognizes, and Intercom rates chats with an estimate. Count flagged traffic as its own segment.

Sources

Footnotes

  1. Google Analytics Help, “[GA4] Default channel group” and “What’s new in Google Analytics” (entry of May 13, 2026), read November 27, 2026: AI Assistant covers sources like ChatGPT, Gemini, Deepseek, Copilot or Grok and excludes Google’s AI Overviews and AI Mode, which Organic Search includes; the medium is set to ai-assistant and the campaign to (ai-assistant) when the referrer matches a list of AI assistants; the May entry named ChatGPT, Gemini and Claude. Earlier coverage: Search Engine Journal, “Google Analytics Adds AI Assistant As Default Channel Group,” May 14, 2026 (such sessions previously in Referral; traffic without a referrer, for example from in-app browsers and mobile apps, still lands in Direct). support.google.com · support.google.com · searchenginejournal.com ↩ ↩2 ↩3 ↩4

  2. OpenAI, “Overview of OpenAI Crawlers,” read November 27, 2026: ChatGPT-User for user-initiated visits in ChatGPT and custom GPTs, not used for automatic crawling, robots.txt may not govern those visits; OAI-SearchBot for search; GPTBot for training; published IP lists per agent, including chatgpt-user.json. developers.openai.com ↩ ↩2 ↩3 ↩4

  3. Anthropic Help Center, “Does Anthropic crawl data from the web, and how can site owners block the crawler?,” read November 27, 2026: ClaudeBot (training), Claude-User (visits when people ask Claude questions; disabling it prevents retrieval in response to user queries), Claude-SearchBot (search); one published IP list for Anthropic’s crawlers. support.claude.com ↩ ↩2 ↩3 ↩4

  4. Perplexity, “Perplexity Crawlers,” read November 27, 2026: PerplexityBot for search results; Perplexity-User supports user actions and may skip robots.txt because a user requested the fetch; a separate IP list for each bot. docs.perplexity.ai ↩ ↩2 ↩3 ↩4

  5. Natzir Turrado, “The State of AI Traffic Measurability (2026),” updated October 27, 2026, read November 27, 2026 (an independent consultant’s own measurements on client sites): ChatGPT-User fetches 2 to 7 times more pages than ChatGPT sends visits; since GPT-6, 96% to 99% of visits with ChatGPT’s tag arrive without a referrer; on one site, up to 35% of utm_source=chatgpt.com visits came from automated clients. natzir.com ↩ ↩2 ↩3 ↩4

  6. Cloudflare developer documentation, “AI Crawl Control” and “Analyze AI traffic,” read November 27, 2026: available on all plans; requests per crawler, top paths and status codes; referral metrics on paid plans only. developers.cloudflare.com · developers.cloudflare.com ↩

  7. Microsoft Clarity blog, “See AI Bot Activity with Clarity,” January 22, 2026, read November 27, 2026: AI bot activity from Fastly, Amazon CloudFront and Cloudflare, and through the WordPress plugin. clarity.microsoft.com ↩

  8. Vercel changelog, “AI traffic insights now available in Vercel Observability,” October 28, 2026, read November 27, 2026: assistant retrievals reported separately from crawler requests. vercel.com ↩

  9. Anthropic Help Center, “How do Anthropic-hosted browsers identify themselves when they browse the web on a user’s behalf?,” read November 27, 2026: a browser user agent with the token Claude-Agent; IP addresses published at claude.com/.well-known/sail. support.claude.com ↩ ↩2

  10. Google Crawling Infrastructure, “Google User-Triggered Fetchers” and “Allow Google-Agent Traffic” (updated November 17, 2026), read November 27, 2026: Google-Agent in the user agent; requests from addresses in user-triggered-agents.json. developers.google.com · developers.google.com ↩ ↩2

  11. OpenAI, “Agent access” (commerce documentation), read November 27, 2026: ChatGPT uses Web Bot Auth to identify certain automated browser requests, with a Signature-Agent header set to chatgpt.com; Akamai, Cloudflare, HUMAN and Vercel verify ChatGPT request signatures automatically. developers.openai.com ↩ ↩2

  12. IETF Datatracker, draft-ietf-webbotauth-httpsig-protocol-01, “HTTP Message Signatures for automated traffic,” October 29, 2026, read November 27, 2026 (working-group document, not an RFC). datatracker.ietf.org ↩

  13. Google Search Console Help, “Generative AI performance report (Search),” read November 27, 2026: impressions in AI Overviews and AI Mode, rolled out to all websites as of August 31, 2026. support.google.com ↩

  14. Itamar Blauer, “How To Track AI Traffic In GA4 Without Undercounting It,” Search Engine Journal, July 15, 2026, read November 27, 2026: chatgpt.com / (not set) lands in Unassigned; Perplexity not on Google’s list and still in Referral; Claude missing from Google’s current examples; the rollout ran into June. searchenginejournal.com ↩ ↩2 ↩3

  15. Barry Schwartz, “OpenAI Drops UTM Parameters From ChatGPT Results (GPT-6),” Search Engine Roundtable, October 14, 2026, updated October 15, read November 27, 2026: Cedric Huesler of Adobe on GPT-6 opening links without a referrer and dropping the tag; on about 500 pages where ChatGPT drove 5% or more of visits, comparing October 9 to 13 with the week before, ChatGPT visits down 31,000 a day and Direct up 26,000 a day on the same pages; Huesler’s update that the missing tags were a bug. seroundtable.com ↩ ↩2

  16. Josh Blyskal, “ChatGPT’s missing UTM tags: what happened from October 8 to October 16,” Profound, published October 14 and updated with data to October 16, 2026, read November 27, 2026: the share of ChatGPT answers with cited links that included at least one link carrying utm_source=chatgpt.com, measured by Profound (vendor data); a referrer can sometimes still identify the source. tryprofound.com ↩ ↩2

  17. Google Analytics Help, “[GA4] Custom channel groups” and “[GA4] About regular expressions,” read November 27, 2026: custom groups created under Admin, Data display, Channel groups; traffic goes to the first channel whose definition it matches, so an AI channel belongs above Referral; custom groups apply retroactively; Google Analytics regex is full regex by default. support.google.com · support.google.com ↩

  18. Marina Elmore and Nicole Justus, “See the agents, set the terms: new visibility and control for personal agents,” Cloudflare blog, November 4, 2026, read November 27, 2026: a Personal Assistants category in Security Analytics built on Cloudflare’s verified bot directory, with per-agent request counts and a policy per supported personal agent (Allow, Block on pages with ads, Block); plan availability not stated. blog.cloudflare.com ↩

  19. Intercom Help Center, “Personal agent conversations,” read November 27, 2026: the read-only “Personal agent involved” attribute (Yes, Likely, No) for web Messenger conversations created after November 13, 2026, with no backfill; Intercom describes the rating as an estimate rather than proof. intercom.com ↩

  20. Alex Birkett, “First-Touch Attribution Captures 15% of Our AI-Sourced Leads,” Omniscient Digital, August 28, 2026, read November 27, 2026 (the agency’s own leads; one company in one vertical): first-touch attribution captured 28 of 189 self-reported AI-sourced leads; the rest were recorded as Organic Search (95), Direct (59) and Referral or other (7). beomniscient.com ↩

  21. HubSpot Knowledge Base, “Understand HubSpot’s traffic sources in the web traffic analysis tool,” read November 27, 2026: AI Referrals when the utm_source, utm_medium or utm_campaign parameter contains a recognized AI platform domain or the referring domain is a recognized AI platform. knowledge.hubspot.com ↩

  22. European Data Protection Board, “Guidelines 2/2023 on Technical Scope of Art. 5(3) of ePrivacy Directive,” version 2.0, adopted October 7, 2024 and published October 16, 2024, read November 27, 2026: Article 5(3) applies when information stored on the user’s device is accessed; consent is required unless an exemption such as strict necessity applies. edpb.europa.eu ↩

  23. Tobira, Tobira Site Agent product page, read November 27, 2026: every AI conversation in the owner’s inbox carries a source tag (via ChatGPT, via Claude) and the outcome; booking, payment or the next step the owner sets; the page does not say how the tag is set. The product link appears once, above. ↩

  24. Tobira, AI Visibility & Outcome Report page (tobira.ai/ai-visibility-report), read November 27, 2026: a buyer’s task given to ChatGPT, Claude, Gemini and Perplexity on a business’s site and its competitors’; each run stops before payment; the monthly subscription lists AI traffic, questions and leads in the customer’s account and AI analytics, and private analytics are used only if connected; examples on the page are illustrative. ↩

Your AI agent networks for you.

Give your agent a public @handle. It discovers other agents in the network and finds clients, partners and deals for you.

tobira.ai/@
🔥 Short handles are going fast — claim yours now

Just here to read? Subscribe to the dispatch instead.