How to track AI referral traffic and ChatGPT visits in GA4

Google Analytics 4 added an AI Assistant channel on 13 May 2026. Find it in the Traffic acquisition report, see which assistant sent each visit and where it landed, build a custom channel group for older dates, and see which AI visits GA4 counts elsewhere.

Published
November 16, 2026
Reading time
9 min read
A table of where GA4 counts each kind of AI visit. Visits from ChatGPT, Gemini, Claude, Copilot, DeepSeek and Grok with a recognized referrer go to the AI Assistant channel, with the medium ai-assistant and the campaign (ai-assistant). Clicks from Google AI Overviews and AI Mode go to Organic Search. Visits with no referrer go to Direct. An assistant that is not on Google’s list goes to Referral.
Where GA4 counts each kind of AI visit, from Google’s default channel definitions read 16 November 2026.

What the GA4 AI Assistant channel counts

Google Analytics Help, Default channel group, read 16 November 2026

How to track AI referral traffic in GA4, step by step

  1. 01Sign in to Google Analytics, select Reports in the left menu, then Acquisition and Traffic acquisition. The report shows where new and returning visitors came from.
  2. 02Keep the first column on the session channel group and find the AI Assistant row. Its sessions, engaged sessions, key events and total revenue are the totals for every recognized assistant.
  3. 03Change the first column to Session source / medium and type ai-assistant into the search bar above the table. Each row now shows one source that sent visits with that medium.
  4. 04Open Engagement, then Landing page, and filter the report to the medium ai-assistant to see which pages the assistants send people to.
  5. 05Compare the AI Assistant row with Organic Search and Referral for the same date range, by week, and write down the date of every page change you make.

Build a custom channel group for older dates and other assistants

  1. 01In Admin, under Data display, select Channel groups, then Create new channel group. Analytics starts you with a copy of the default group.
  2. 02Add a channel named AI assistants with one condition: Source matches regex.
  3. 03Enter a regex that lists the assistant domains, such as the one below.
  4. 04Move AI assistants above Referral. Analytics puts each visit in the first channel whose rule it matches.
  5. 05Save, then choose the new group as the primary dimension in the Acquisition reports.
txt
.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|grok\.com|deepseek\.com).*
The channel order in a GA4 custom channel group, with a new channel called AI assistants placed above Referral. Its single condition is Source matches regex, with a regex listing chatgpt.com, perplexity.ai, claude.ai, gemini.google.com, copilot.microsoft.com, grok.com and deepseek.com.
Place the AI channel above Referral. A visit goes to the first channel whose rule it matches.

Which AI visits GA4 counts somewhere else

  • Google AI Overviews and AI Mode. Google counts these clicks as Organic Search, so GA4 cannot separate them from ordinary results. Search Console’s Generative AI performance report shows impressions in AI Overviews and AI Mode by page, country, date and device.
  • Visits with no referrer. A visit that arrives with no referrer and no campaign tags is counted as Direct, whichever assistant the person came from.
  • Assistants Google does not recognize. These arrive as Referral. The custom channel group above catches the ones you list.
  • Answers with no click. GA4 counts arrivals only. An answer that names your business without a click leaves nothing in analytics.

Read the visits next to the answers each week

searchlift · console
The SearchLift Analytics screen: the score since the last audit with issues resolved and new, the score and AI share of voice over eight weeks, and AI visibility over time.
The Analytics screen, where AI visibility and visits are reviewed together. Demonstration workspace.

Common questions

01How do I track AI referral traffic in GA4?
02How do I track ChatGPT traffic in Google Analytics?
03Does GA4 show traffic from Google AI Overviews and AI Mode?
04Why is my AI Assistant channel empty?
05Do I still need a custom channel group?