Skip to the content
Start free

How to track ChatGPT traffic in Google Analytics 4

Tracking ChatGPT traffic in Google Analytics 4 means finding the visits that came from links in ChatGPT answers. GA4 sorts visits from AI assistants into a channel of their own, called AI Assistant.

We checked Google’s channel rules on 24 November 2026: the AI Assistant channel covers sources like ChatGPT, Gemini, Deepseek, Copilot and Grok. It does not cover Google’s own AI Overviews and AI Mode, and it cannot show ChatGPT reading your pages. For that you need your server logs.

What is the AI Assistant channel? #

It is one row in GA4’s default channel group. Google describes it as the channel by which users arrive at your site from sources like ChatGPT, Gemini, Deepseek, Copilot or Grok. A session lands there in one of two ways. Either its medium exactly matches ai-assistant, or its referrer matches Google’s list of AI assistants, in which case GA4 sets the medium to ai-assistant and the campaign to (ai-assistant). Google does not print the full list on that page.

Where do Google’s AI Overviews and AI Mode clicks go? #

Into Organic Search. Google’s channel page says the AI Assistant channel excludes AI Overviews and AI Mode, and that Organic Search includes them. So a click from an AI Overview or from Google AI Mode sits with your normal organic traffic. If you add up “AI traffic” from the AI Assistant row alone, Google’s own AI answers are missing from the total. See zero-click search for the other half of that story.

Why do some ChatGPT visits show as Direct? #

Because GA4 can only name a source it is told about. Google defines Direct as source exactly (direct) with medium (not set) or (none): a saved link or a typed address. If a person copies a link out of a ChatGPT answer, or an app opens it without passing a referrer, the visit arrives with nothing to go on. GA4 then files it as direct traffic. The AI Assistant row is therefore a minimum, not the full count.

GA4 counts people who clicked, after they arrive and the tag runs. It does not count the searches that led there. Google Search Console counts clicks from Google itself. Put the two side by side and you can see whether AI assistants are adding visitors or taking clicks that used to come from search. The two tools never match exactly. See Search Console vs Analytics and why analytics numbers are low.

Why does it matter for AI answers? #

A person who clicks from ChatGPT has usually read an answer built partly from your page. That reading happens earlier, by a machine, and GA4 never sees it. A crawler that fetches your HTML does not run the Google tag. So the reads and the clicks live in two different records. The gap between them, many reads and few clicks, is often the most useful number of all. See ChatGPT referral traffic and AI visibility.

Three OpenAI names in your logs #

OpenAI publishes its crawler names and an address list for each one.

Name What OpenAI says it does robots.txt OpenAI’s address list
GPTBot makes its generative AI foundation models more useful and safe; disallowing it signals your content should not be used for training Applies https://openai.com/gptbot.json
OAI-SearchBot surfaces websites in ChatGPT’s search features Applies; changes can take about 24 hours https://openai.com/searchbot.json
ChatGPT-User certain actions a user starts in ChatGPT and Custom GPTs; not automatic crawling May not apply, because a user started the action https://openai.com/chatgpt-user.json

OpenAI also says a site that opts out of OAI-SearchBot is left out of ChatGPT search answers, but may still appear as a navigational link. Its full profile is on our OAI-SearchBot page, and how the two fetchers differ is on ChatGPT-User vs GPTBot.

A worked example #

A bike shop’s server log has this line (the address is from a range kept for documentation by RFC 5737):

203.0.113.7 - - [23/Nov/2026:10:15:32 +0000] "GET /repairs/puncture/ HTTP/1.1" 200 5120 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot"

That is ChatGPT fetching the page because a user asked about puncture repairs. It is a machine fetch, a live fetcher, not a person on your site. If the user then clicks the link in the answer, GA4 records a separate session with source chatgpt.com and landing page /repairs/puncture/. To trust the log line, check that the address appears in OpenAI’s chatgpt-user.json list. Anyone can type that name into a user agent.

One customer, three records #

What happened Where you see it
ChatGPT fetched your page for the question Server or CDN log, as ChatGPT-User
The person clicked the link with a referrer GA4, AI Assistant channel, source chatgpt.com
The person copied the link into a new tab GA4, Direct
The person later searched your name on Google GA4, Organic Search, and Search Console as a branded keyword
The person declined analytics cookies Depends on your consent set-up; see Consent Mode v2

Only the first row proves ChatGPT used your page. Only the second proves ChatGPT sent the person. That is why attribution from AI needs more than one record.

Common mistakes #

  • Tagging your own newsletter or social links with medium ai-assistant. Google’s rule takes the medium at face value, so they land in the AI channel.
  • Comparing the AI Assistant row with organic search and forgetting that AI Overviews and AI Mode are inside organic.
  • Counting a ChatGPT-User fetch in the log as a visitor. It is a machine reading for a person, not the person.
  • Trusting a bot name without checking its address. See verified bots and reverse DNS bot check.
  • Expecting GA4 to show GPTBot or other AI crawlers. Reading without the tag never reaches it. See bot traffic in Google Analytics.

How to check it #

  1. In GA4, open Reports, then Acquisition, then Traffic acquisition. Its default dimension is Session default channel group. Find the AI Assistant row.
  2. Switch the dimension to Session source / medium to pick out chatgpt.com, and add Landing page as a second dimension to see which pages ChatGPT sends people to.
  3. Look at Direct for the same landing pages. A long, specific guide getting a jump in Direct visits is a clue that people copied a link from an AI answer.
  4. Tag only your own campaigns. Google says to always use utm_source, utm_medium and utm_campaign; build them with the UTM Builder and never set the medium to ai-assistant unless the visit really comes from an AI tool. See UTM parameters.
  5. Check the tag fires once. The Tracking Checker lists every tracker and pixel a page loads, and the Cookie Checker shows what it sets before consent. A tag that fires twice makes two sessions.
  6. Check what the cache does. The Edge Cache Checker shows whether a page is served from cache, and the HTTP Header Checker shows its status and headers. See edge cache.
  7. Open your server or CDN log. The AI Crawler Log Analyser reads a log in your browser and shows which AI bots read what. Look for ChatGPT-User and OAI-SearchBot. See log file analysis.
  8. Check any OpenAI name with Verify an AI Bot, which compares the address with the published list.
  9. Make sure ChatGPT is allowed to find you. The AI Bot Checker shows which AI bots your robots.txt lets in, and the Robots.txt Checker tests a single address.
  10. Make the pages easy to quote. Run the AI Readiness Checker, the Citation Anchor Checker and the llms.txt Checker. See get cited by ChatGPT.
  11. Join the records. In URSY Pro, opening in stages, AI referrals shows people sent by ChatGPT, Perplexity, Gemini and Copilot, the read-to-click ratio sets AI reads against Google clicks, AI sales attribution shows which AI led to each order, and measurement integrity checks every paid order reached your tracking.
  12. Read what GA4 leaves out in our news piece on what the GA4 AI Assistant channel misses, and how URSY.com differs from GA4 on our Google Analytics comparison.

What URSY.com counts #

We count both halves. A person sent by an AI is counted from the observed referrer, such as chatgpt.com. That figure is high confidence when present, but many AI apps send no referrer, so it is a minimum. ChatGPT-User, OAI-SearchBot and GPTBot are AI crawlers in our five visitor types, sorted into training, search or fetch-for-a-person. Each request is checked against the company’s published IP list (18 lists, refreshed weekly) and marked real, fake or unknown, cache hits included. The rules are on our methodology page.

Questions #

Does GA4 have a ChatGPT channel? #

Yes, in effect. The AI Assistant channel in the default channel group covers ChatGPT, Gemini, Deepseek, Copilot, Grok and other assistants on Google’s list. Switch to Session source to see ChatGPT on its own.

Are AI Overviews clicks in the AI Assistant channel? #

No. Google says the channel excludes AI Overviews and AI Mode. Those clicks are in Organic Search.

Why is my ChatGPT traffic so low in GA4? #

Some visits arrive with no referrer and land in Direct. Some people decline cookies. And reading by ChatGPT never shows in GA4 at all. Check your logs for ChatGPT-User.

Can GA4 show GPTBot? #

No. A crawler that fetches HTML without running the Google tag never reaches GA4. Count it from your server or CDN log.

Should I block ChatGPT-User? #

OpenAI says robots.txt rules may not apply to it, because a person started the action. It fetches pages that people asked about, so blocking it can cost you visitors. Decide per bot; see should I block AI crawlers?

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: How to track ChatGPT traffic in Google Analytics 4. URSY. Updated 26 November 2026. https://ursy.com/wiki/chatgpt-traffic-in-google-analytics/ · Section links

Tools for this

  • LiveProduct Feed CheckerGoogle, Microsoft and ChatGPT shopping feeds checkedRun the check →
  • LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
  • LiveGoogle Snippet Previewtitle and description length in pixels (in browser)Run the check →
  • LiveCan Google index this page? (noindex, robots, canonical, status)Run the check →
  • LiveWhat is this site built with? (CMS, shop, analytics)Run the check →
  • LiveTracking Checkerevery tracker and pixel a page loadsRun the check →
  • ProAI bot analyticsWhich AI bots read which pages, checked real or fakeIn URSY Pro →
  • ProAI referralsPeople sent by ChatGPT, Perplexity, Gemini, CopilotIn URSY Pro →
  • ProFake bot detectorBots pretending to be Google or GPTBotIn URSY Pro →

All 871 wiki entries, A to Z →