← All articles

Guides5 min read

How to track ChatGPT and AI Overviews traffic in GA4

Set up a GA4 channel group for ChatGPT, Perplexity, Claude and other AI assistants, and learn why AI Overviews clicks land in Organic Search.

By Citeflare Team

Someone asks how much traffic you get from ChatGPT. GA4 does not give you one number for it by default, and Google's AI Overviews are a separate case again. This post shows what GA4 can see, how to set up a channel that groups AI assistants, and what you cannot measure.

What GA4 can and can't see

GA4 records the source of each session. When a person clicks a link in ChatGPT, Perplexity or Claude, the browser usually tells your site where the click came from. GA4 stores that as the session source, so those visits are countable.

Two groups of AI visits are harder.

  • Google AI Overviews and AI Mode. Google's default channel group definitions say Organic Search includes AI Overviews and AI Mode, and that the AI Assistant channel excludes them. Those clicks are counted with normal Google search traffic.
  • Visits with no referrer. Some apps and copy-pasted links send no source. GA4 puts those in Direct, which it defines as people arriving by a saved link or by typing your URL.

Does GA4 already have an AI channel?

Yes. The default channel group lists an AI Assistant channel for sources such as ChatGPT, Gemini, DeepSeek, Copilot and Grok. Check your default reports first.

A custom channel group is still useful when you want your own list of sources, or the same list in GA4 and in your other tools. It can be applied to reports retroactively, according to Google's custom channel group help.

Set up an AI assistants channel group

The steps follow Google's help page. Menu names can change, so check that page if something looks different.

  1. In GA4, open Admin. Under Data display, click Channel groups.
  2. Click Create new channel group, and name it.
  3. Click Add new channel. Name it "AI assistants".
  4. Click Add condition group. Choose the dimension Source, the condition matches regex, and paste the pattern below.
  5. Click Save channel.
  6. Move the channel above the built-in AI Assistant channel, Organic Search and Referral. Google says traffic goes to the first channel whose definition it matches, in the order shown. Use Reorder in the group's row, drag the channel, then click Apply.
  7. Click Save group.

Standard properties can have 2 custom channel groups, so check you have room.

The regex to paste

.*(chatgpt|openai|perplexity|claude\.ai|gemini\.google|bard\.google|copilot|deepseek|grok|meta\.ai|mistral\.ai).*

This is the list Citeflare uses to find AI assistants in your GA4 data. It matches on part of the source, so it catches both a referrer host such as perplexity.ai and a utm_source value. Keep the .* at both ends: Google says regex is a full match by default, so without them only an exact source matches.

ChatGPT also adds utm_source=chatgpt.com to many links, so the source reads chatgpt.com either way.

The match is loose on purpose. A source that merely contains "grok" or "copilot" would count. Look at the source list in your reports once to confirm nothing unrelated is included.

Count sign-ups and revenue from AI visits

  1. Mark your sign-up or purchase event as a key event in GA4, if it is not one already.
  2. Open a report or exploration and add your new channel group as a dimension.
  3. Filter to the AI assistants channel.
  4. Add sessions, key events and revenue as columns.

You now see how many AI visits became sign-ups or sales. Break it down by landing page to see which pages the assistants send people to.

Why the numbers are still partial

  • AI Overviews and AI Mode are not split out. Google's AI features documentation says these appear in the Performance report in Search Console, within the Web search type. Google's documentation lists no separate AI Overviews filter.
  • No-referrer visits stay in Direct. You cannot recover them from GA4 alone.
  • A visit is not a mention. Most people who see your brand in an answer never click. Traffic shows the people who did. To see how often you are named, use prompt tracking and read how to measure your visibility in AI answers.

Skip the setup with Citeflare Traffic

Citeflare Traffic connects read-only to GA4 and Search Console. It shows visits from AI assistants such as ChatGPT, Perplexity, Claude and Gemini, their landing pages, key events and revenue. It reads up to 40,000 rows of AI visits. It also shows your top Search Console queries, and you can track those as prompts.

It does not change your GA4 setup and it cannot see visits GA4 never labelled. See pricing for the plans.

FAQ

How do I track traffic from ChatGPT in Google Analytics? Open Admin, then Data display, then Channel groups, and add a channel whose Source matches the regex above. Move the channel above the built-in AI Assistant channel, Organic Search and Referral. Then view reports by that channel.

How do I track AI Overviews in GA4? You cannot separate them. Google counts AI Overviews and AI Mode in Organic Search, and in Search Console they sit inside the Web search type.

Why is my ChatGPT traffic in Direct? Some clicks arrive with no referrer. GA4 cannot tell where they came from, so it counts them as Direct.

Does the channel group change my old data? Google says custom channel groups can be applied to reports retroactively. Check the date range of your report.

Does GA4 have a built-in AI channel? Yes. The default channel group has an AI Assistant channel that excludes AI Overviews and AI Mode.

See what AI says about you. Your first scan runs the day you sign up.

Monthly or annual plans. Cancel any time.