All guides
MeasurementJuly 27, 2026 · 10 min read

How to Track Traffic from ChatGPT, Perplexity and Gemini in Google Analytics

By the alphaa team — we set up AI-traffic reporting for businesses every week, and we would rather you measure this honestly than see an inflated number.

Short answer: AI assistants do send referral traffic, and you can isolate it in GA4 by filtering Session source for the assistant hostnames — chatgpt.com, perplexity.ai, gemini.google.com, claude.ai, and copilot.microsoft.com — ideally promoted into a custom channel group so it appears in your standard reports. Expect the number to undercount: a large share of AI-influenced visits arrive with no referrer and land in Direct, and the zero-click majority never becomes a visit at all.

Why AI traffic is hidden by default

GA4 assigns each session to a default channel group using the source, medium, and campaign values it detects. There is no built-in "AI" channel. When someone clicks a citation inside ChatGPT, the browser sends a referrer header of chatgpt.com, GA4 sees an unfamiliar domain with no paid or organic markers, and files it under Referral — mixed in with forum links, newsletters, and every other site that links to you.

So the traffic is there; it is just not labelled. The job is to name it, and then to be clear-eyed about what the label does and does not capture.

The fastest way to see it: a filtered report

Two minutes, no configuration, useful immediately.

  1. In GA4, open Reports → Acquisition → Traffic acquisition.
  2. Change the primary dimension from Session default channel group to Session source.
  3. Use the search box above the table to type an assistant hostname — chatgpt, perplexity, gemini, claude, copilot — one at a time.
  4. Set the date range to the last 90 days so you can see a trend rather than a single week of noise.

What you will typically see on a site that has never done any AEO work: a small but non-zero number, and a line that slopes upward. That baseline is the useful part. The absolute figure matters far less than whether it grows after you change something.

The durable setup: a custom AI channel group

A filtered report is something you have to remember to run. A channel group makes AI traffic a permanent row in your standard reports. This is what we set up for clients who want to watch it monthly.

  1. Go to Admin → Data display → Channel groups and click Create new channel group. Do not edit the default group — copy it, so you always retain the original for comparison.
  2. Name it something like Channels + AI.
  3. Add a new channel called AI Assistants and drag it above Referral and Organic Search. Channel rules are evaluated top to bottom and the first match wins — if AI Assistants sits below Referral, every AI session is claimed by Referral first and your new channel stays empty. This ordering step is the one people miss.
  4. Set the condition to Source matches regex, with a pattern covering the assistant hostnames:
chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|gemini\.google\.com|bard\.google\.com|claude\.ai|copilot\.microsoft\.com|edgeservices\.bing\.com

Save it, then switch any report to the new channel group using the dropdown at the top of the table. Two caveats that matter: channel groups apply going forward and to historical data in most standard reports, but the assistant hostname list changes as products get renamed, so revisit the regex a couple of times a year. And a source string only appears if the referrer survived the click.

Why your number is lower than reality

This is the section most guides leave out, and it is the one that keeps you from drawing wrong conclusions.

  • Missing referrers land in Direct. Clicks from a native mobile app, a desktop client, or a link opened with a stripped referrer arrive with no source at all. GA4 files them as Direct. A quiet rise in Direct traffic alongside a rise in AI referrals is usually the same phenomenon.
  • The biggest effect is invisible by design. Roughly two-thirds of Google searches now end without a single click to a website (SparkToro/Similarweb, 2026). If an assistant reads your page, recommends you by name, and the customer calls your phone number, that is a win that produces zero analytics sessions. See zero-click search for the full picture.
  • Bot traffic is not user traffic. Visits from ChatGPT-User or PerplexityBot are crawlers fetching your page, and GA4's JavaScript generally does not record them. Those show up in your server logs instead — which is a genuinely useful, separate signal.

The right mental model: GA4 measures the visible tip. Treat it as a directional trend line, not a headcount of everyone the AI sent your way.

What to do with the number once you have it

A baseline is only useful if you compare something to it. The workflow that produces a real answer:

  1. Record the 90-day baseline before you change anything — AI sessions, and the Direct number sitting next to it.
  2. Add the landing-page dimension. In an Exploration, cross AI sessions against Landing page. This tells you which specific pages assistants are citing, which is the single most actionable thing in this whole report — those pages are the format your answer-shaped content should copy.
  3. Compare engagement, not just volume. AI-referred visitors have usually already had their question partly answered, so they arrive further down the funnel. Check engagement rate and conversions for the AI channel against Organic Search. Adobe Analytics found that traffic to retail sites from AI assistants grew over 1,200% in under a year, and that those visitors convert better than traditional search traffic (Adobe Analytics, 2025–26).
  4. Re-check 60 to 90 days after a change. AEO signals take time to propagate — see how long AEO takes for what moves on what timescale.

Frequently asked questions

Can I see which question someone asked the AI before clicking?

No. Unlike Search Console, assistants do not pass the prompt to your site. You get the referring hostname and the landing page, and that is all. Anyone showing you "AI keyword data" is inferring it, not measuring it — the closest honest proxy is asking the engines directly what they say about you and recording the answers.

Does Google Search Console show AI Overviews clicks separately?

Not as a separate breakdown. AI Overviews are part of Search, so clicks that originate from an Overview are folded into your ordinary Search performance data with no dedicated filter. A pattern worth watching is impressions holding steady while clicks fall — a common fingerprint of answers being satisfied on the results page.

Is a UTM parameter approach worth it?

Not for AI citations. You cannot add UTMs to a link an assistant generates from your page — it uses your canonical URL. UTMs remain useful for your own campaigns; they are the wrong tool here.

The bottom line

Build the AI channel in GA4 so you stop flying blind, place it above Referral so it actually collects sessions, and read it as a trend rather than a total. Then pair it with the half you cannot see in analytics: what the engines actually say about your business when someone asks. The visit count tells you that AI sent someone; only the answer itself tells you whether you were recommended, mentioned in passing, or left out.

Run a free AI visibility scan →

Last updated July 27, 2026.

Run my free AI scan →2 minutes · no credit card