Skip to content
Search

How to track ChatGPT and AI assistant traffic in GA4

Since May 13, 2026, GA4 puts visits from recognized AI assistants in an AI Assistant channel. A custom channel group lets you set the rules yourself.

In short. Open the Traffic acquisition report and find the AI Assistant channel, which Google added to the GA4 default channel group on May 13, 2026. For your own definition, create a custom channel group with a Source condition that matches assistant names by regex, and place it above Referral. GA4 counts clicks only, and visits with no referrer and no tag land in Direct, so report the channel as a floor.

On this page 8 sections

The evidence

Confirmed

Since May 13, 2026, GA4 assigns the medium "ai-assistant", the channel "AI Assistant" and the campaign "(ai-assistant)" when the referrer matches a recognized AI assistant.1

1Google Analytics HelpGoogle Analytics Help, What's new, entry of May 13, 2026.
Confirmed

The AI Assistant channel excludes Google's AI Overviews and AI Mode. GA4 counts clicks from those features as Organic Search.2

2Google Analytics Help
Confirmed

Regular expressions in GA4 are full match by default. A partial match needs metacharacters such as .* around the text.8

8Google Analytics Help
Confirmed

An October 2026 version of OpenAI's publisher FAQ said ChatGPT adds utm_source=chatgpt.com to referral URLs from ChatGPT search results.6

6OpenAI Help CenterInternet Archive copy of Oct 4, 2026. On Nov 20, 2026, the live URL served an article about the retirement of ChatGPT Atlas, and no current OpenAI page repeats the statement.
Unproven

"Each AI assistant passes its own web address as the referrer when a person clicks a link in an answer."

No operator documents how its apps pass referrers. Check the Session source values in your own property.

GA4 undercounts AI assistant traffic, so the figure it reports is a floor for any leadership report. In our study, 50% of the links that ChatGPT cited carried no UTM tag. Google Analytics 4 can attribute a visit to an AI assistant when the click carries a referrer or a UTM tag that names the assistant. When GA4 recognizes the assistant, it sorts the visit into a default channel. A custom channel group lets you decide which sources count.

#The AI Assistant channel

The AI Assistant channel gives you a ready-made line for AI traffic with no setup. On May 13, 2026, Google added it to the GA4 default channel group, according to What's new in Google Analytics. When the referrer matches a recognized AI assistant, GA4 sets the medium to "ai-assistant", the channel to "AI Assistant" and the campaign to "(ai-assistant)".1 The announcement names ChatGPT, Claude and Gemini as examples. It does not say whether visits from before May 13, 2026 were reclassified.

Google's Default channel group page names ChatGPT, Gemini, Copilot, Grok and DeepSeek as sources for the channel. The channel excludes Google's AI Overviews and AI Mode, whose clicks count as Organic Search.2 Google does not publish the full list of assistants it recognizes. Its downloadable list of source categories covers only search, social, shopping and video sites.2

To see the channel:

  1. In Reports, open Acquisition, then Traffic acquisition. Google's Custom channel groups page points to this report for channel data.3
  2. Find the AI Assistant row in the Session default channel group.
  3. Change the primary dimension to Session source to see which assistants sent the visits. Session-scoped dimensions show where each new session came from.4

The Source grouping dimension also groups UTM source values that contain "openai" as ChatGPT, and values with "gemini" or "perplexity" under their own names. It appears in the conversion reports of the Advertising section.5

#What identifies a visit from an assistant

GA4 has two clues: the referrer that the browser sends, and UTM parameters in the link. No AI operator currently documents which of the two its products send.

OpenAI's Publishers and Developers FAQ said in October 2026 that "ChatGPT automatically includes the UTM parameter utm_source=chatgpt.com in referral URLs" for traffic from ChatGPT search results.6 By November 20, 2026, that URL served an article about the retirement of ChatGPT Atlas. No current OpenAI page repeats the statement. A visit with that tag shows chatgpt.com as its Session source. Google's URL builder guide says UTM values are left out of the Landing page + query string dimension and appear in Page location.7

In our study of about 26,000 AI responses from October and November 2026, 50% of the 43,026 links that ChatGPT cited carried utm_source=chatgpt.com. The other half had no UTM parameter. A visit from one of those links reaches GA4 only with a referrer, or as direct traffic.

Table 1.AI assistants named in Google's GA4 documentation, and what each operator documents about its clicks.
AssistantNamed by Google inOperator documents referrer or UTM
ChatGPTWhat's new; default channel group; custom channel exampleutm_source=chatgpt.com, in a FAQ version since withdrawn
ClaudeWhat's new; custom channel exampleNo
GeminiWhat's new; default channel group; custom channel exampleNo
Microsoft CopilotDefault channel group; custom channel exampleNo
PerplexityCustom channel example; Source groupingNo
GrokDefault channel groupNo
DeepSeekDefault channel groupNo

Before you write a rule, look at the Session source values that your own property records for these assistants. A rule built on a guessed hostname can miss visits, while one built on recorded values matches the visits you receive.

#Build a custom channel group

A custom channel group lets you decide which sources count as AI, and it applies to past data too. It is a set of rule-based channels that you define. Google's Custom channel groups page gives AI assistants as its example.3

  1. In Admin, under Data display, open Channel groups. You need the Editor role or above.
  2. Select Create new channel group. GA4 starts with a copy of the default group, which includes the AI Assistant channel.
  3. Add a new channel named "AI assistants (custom)".
  4. Add a condition on Source and choose "matches regex".
  5. Enter your regex and save the channel.
  6. Select Reorder and move the new channel above Referral. Keep the copied AI Assistant channel below it, so assistants that Google recognizes and your regex misses still get a channel.
  7. Select Save group to apply the new channel.

GA4 puts a visit in the first channel it matches, working down the list.3 Channel definitions are not case sensitive. Custom channel groups apply to reports retroactively, so the new channel also sorts visits from before May 13, 2026.3

A standard property can have 2 custom channel groups in addition to the default, and a 360 property can have 5. Each group can hold 50 channels. Custom channel groups are not available in the BigQuery export.3

#The regex

Google's example for an AI assistants channel uses this expression:3

^.*ai|.*\.openai.*|.*chatgpt.*|.*gemini.*|.*gpt.*|.*copilot.*|.*perplexity.*|.*google.*bard.*|.*bard.*google.*|.*bard.*|.*.*gemini.*google.*$

The About regular expressions page says GA4 uses full-match regex by default.8 Under full match, the first alternative, ^.*ai, matches any source that ends in "ai", including any domain under .ai. The .*gpt.* alternative matches any source that contains "gpt". So the expression can pull in sites that are not assistants.

A narrower expression lists the assistant names from Google's documentation:

.*(chatgpt|openai|perplexity|claude|gemini|copilot|deepseek|grok).*

The .* on each side turns the full-match default into a partial match.8 When a new assistant appears in your Session source values, add its name. Google's page also says to update the regex when the list of assistants changes.3

#Check the result in an exploration

Explorations give access to data and techniques that standard reports do not offer.9 Free-form exploration displays up to 5 dimensions as rows.10

  1. In Explore, start a Free form exploration.
  2. Import your custom channel group, Session source and Landing page as dimensions. Custom channel groups are available in explorations.3
  3. Add Sessions and Key events as metrics.
  4. Put the channel group in the first row, with Session source nested under it.
  5. Read the sources in your AI channel, and tighten the regex to drop any that are not assistants. The channel then counts assistant visits only.

Explorations use event-level data, which GA4 keeps for 2 months by default and up to 14 months on a standard property. Google's data retention page says the setting affects explorations and funnel reports, but not standard aggregated reports.11 Set retention to the longest period your property allows now, so the data is there when you need a long date range.

#Limits of GA4 data

GA4 records clicks, and Google describes the AI Assistant channel as a way to track user clicks from AI sources.1 An answer that names or cites your site without a click leaves no trace in GA4. For impressions and citations, use the Search Console generative AI report for Google's AI features and the Bing AI Performance report for Microsoft Copilot. Similarweb estimates AI referral traffic for any domain, including competitors. Bing AI Performance vs Similarweb compared covers what each of the two counts.

A click with no referrer and no UTM tag counts as (direct) / (none). Google's page on (direct) / (none) traffic lists missing UTM tags, redirects, URL shorteners, links from offline documents and ad blockers as causes.12 The W3C Referrer Policy lets a page tell the browser to send no Referer header at all.13 No assistant operator documents whether its mobile or desktop apps send a referrer. Some assistant visits can therefore sit in Direct.

The default channel group counts clicks from AI Overviews and AI Mode as Organic Search, together with other Google search clicks.2 AI agents that browse in a person's own browser session can look like ordinary visits. How AI browser agents access websites explains why.

Treat the AI channel as the floor of assistant traffic, since the gaps above all hide assistant visits from it. How to measure AI search ROI without click attribution covers the signals that GA4 does not see.

Questions

Why does ChatGPT traffic show as Direct in GA4?

GA4 records a visit as (direct) / (none) when it has no information about the referral source. A click that arrives with no referrer and no UTM tag cannot be attributed to ChatGPT or any other assistant.

Can GA4 show visits from Google AI Overviews or AI Mode?

GA4 does not report them separately. Google's default channel group counts those clicks as Organic Search. Search Console counts them in the Web search type, mixed with other web search clicks.

Does GA4 show how often an AI assistant cites my site?

No. GA4 records visits, and a citation or mention that nobody clicks leaves no data in it. Bing Webmaster Tools reports citations in Microsoft Copilot, and Search Console reports impressions in Google's AI features.

Do custom channel groups change past data?

Yes. Google says custom channel groups can be applied to reports retroactively. Editing a group changes reports and explorations at once, but audiences change only going forward.

Notes

  1. 1
    What's new in Google AnalyticsGoogle Analytics Help · May 13, 2026 · Checked Nov 20, 2026 · Primary source
  2. 2
    Default channel groupGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  3. 3
    Custom channel groupsGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  4. 4
    Scopes of traffic-source dimensionsGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  5. 5
    Source groupingGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  6. 6
    Publishers and Developers FAQ (Internet Archive copy, Oct 4, 2026)OpenAI Help Center · Oct 4, 2026 · Checked Nov 20, 2026 · Primary source
  7. 7
    URL builders: Collect campaign data with custom URLsGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  8. 8
    About regular expressions (regex)Google Analytics Help · Checked Nov 20, 2026 · Primary source
  9. 9
    Get started with ExplorationsGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  10. 10
    [GA4] Free-form explorationGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  11. 11
    Data retentionGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  12. 12
    [GA4] Understand (direct) / (none) trafficGoogle Analytics Help · Checked Nov 20, 2026 · Primary source
  13. 13
    Referrer PolicyW3C · Jan 26, 2017 · Checked Nov 20, 2026 · Primary source

About this page

Researched and reviewed by Promptly Found. Reviewed Nov 20, 2026. Next review due Feb 2027.

Cite this page
Citation style

Promptly Found. (2026, November 20). How to track ChatGPT and AI assistant traffic in GA4 https://promptlyfound.com/measurement/track-ai-traffic-in-ga4

Revisions 2
Added the share of ChatGPT citation links with utm_source=chatgpt.com, from our study.
First published.