To track ChatGPT traffic in GA4, start with the AI Assistant channel in Reports → Acquisition → Traffic acquisition. Google added it to the default channel group on May 13, 2026. A custom channel group lets you track AI traffic in GA4 by platform, include Perplexity, or use your own source list. Clicks from AI Overviews and AI Mode stay in Organic Search. Visits without a referrer may appear as Direct, which does not identify the AI source on its own.
The AI Assistant channel in GA4: what it counts without setup
The AI Assistant channel in GA4 groups sessions from sources Google recognizes as AI assistants. Google announced the channel in its May 13, 2026, release notes. When GA4 recognizes a referrer, it assigns the session the ai-assistant medium, the (ai-assistant) campaign, and the AI Assistant channel. GA4 applies this classification automatically.
The announcement names ChatGPT, Gemini, and Claude as examples. Google’s Default channel group documentation also lists DeepSeek, Copilot, and Grok. These examples are not a complete list of domains, and GA4 may not recognize every visit from those apps. Perplexity is not named in the default channel definition, so check your property’s source data and add a custom rule if needed.
| GA4 dimension | Typical value for a recognized AI visit | Where to use it |
|---|---|---|
| Session default channel group | AI Assistant | Acquisition / Traffic acquisition |
| Session medium | ai-assistant | Check the classification or use it in a custom group rule |
| Session campaign | (ai-assistant) | Compare traffic GA4 recognizes natively |
| Session source | A source such as chatgpt.com | See visits by platform and check the domains |
A custom group is useful when you need Perplexity, separate rows for each assistant, or sources Google did not classify as AI Assistant. A small site may need only the native channel and a report broken down by Session source. A custom channel gives you control over the classification rules, but it cannot recover source data GA4 never received.
How to track ChatGPT traffic in GA4 in five minutes
Start with the standard report. It shows sessions GA4 has assigned to AI Assistant and sessions recorded with a ChatGPT source.
- In GA4, open Reports → Acquisition → Traffic acquisition.
- Set the primary dimension to
Session default channel group, then look forAI Assistant. - To check a specific assistant, choose
Session source / mediumorSession source, then search forchatgptabove the table. - Compare the results with another period or platform to see how traffic changes.
- Review Sessions, Engaged sessions, Engagement rate, and Key events. If e-commerce tracking is configured, also check Transactions and Total revenue.
The Session source / medium row may show chatgpt.com / ai-assistant, while another assistant may appear under the standard referral medium. The exact value depends on the data GA4 receives and how it classifies the visit. If a ChatGPT row isn’t showing in the report, check the native channel, actual source values, and your custom group. It may have been grouped under another source or channel, which is why a missing row does not prove nobody came from ChatGPT.
How to create a custom channel group for AI traffic in GA4
Here’s how to track AI traffic in GA4 by platform: create a custom channel group, then use Session source in your report to break out visits by assistant. The group gives AI visits their own row in reports and lets you include sources missing from the default category. Copy the default group first to keep its other channels available, then use the source domain or native medium in your rule. Google’s guide to custom channel groups explains how to set one up.
- Open Admin → Data display → Channel groups.
- Select Create new channel group. Copy the Default channel group and name the copy, for example
AI traffic and default channels. - Add a channel and name it
AI assistants. - Set the rule to match either of two conditions:
Session sourcematches the regex in the next section, orSession mediumexactly matchesai-assistant. The second condition includes sessions GA4 already classified natively, even if their source is not in your domain list. - Move
AI assistantsaboveReferraland any other channel that could match the same sessions. - Save the group. Select it as the primary or secondary dimension in Traffic acquisition.
As of October 2026, a standard GA4 property can have two additional custom channel groups, while an Analytics 360 property can have five. Each group can have up to 50 channels. You need the Editor role at the property level to create or edit a group. If you have Viewer access, ask an editor to create it. Depending on your permissions, you may still be able to view existing reports or explorations.
Changes to a custom channel group definition apply to historical data in reports and explorations that use it. Audience conditions work differently: a change affects eligibility going forward, not retroactively. A primary channel group also differs from a custom group. If you make a custom group primary, its criteria populate that dimension from that point onward.
A GA4 regex for ChatGPT, Perplexity, and Gemini
For the Session source condition, choose matches regex and include the domains you want to count. The expression below covers ChatGPT, Perplexity, Gemini, and several other widely used AI services:
^(www\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|bard\.google\.com|copilot\.microsoft\.com|copilot\.com|edgeservices\.bing\.com|claude\.ai|deepseek\.com|chat\.deepseek\.com|grok\.com|grok\.x\.com|meta\.ai|chat\.mistral\.ai|mistral\.ai|you\.com|phind\.com|poe\.com|kagi\.com|search\.brave\.com)$
| Service | Domain in the regex | Named by Google as a default AI Assistant example? | Note |
|---|---|---|---|
| ChatGPT | chatgpt.com, chat.openai.com | Yes | OpenAI says ChatGPT Search adds utm_source=chatgpt.com to referral URLs |
| Perplexity | perplexity.ai | No | Check actual source values; Google includes it in an example of a custom AI assistant channel |
| Gemini | gemini.google.com, bard.google.com | Yes | Keep Gemini assistant traffic separate from AI Overviews and AI Mode in Search |
| Microsoft Copilot | copilot.microsoft.com, copilot.com, edgeservices.bing.com | Yes | Add other domains only after checking your reports |
| Claude | claude.ai | Yes in the release notes; the channel definition does not name it | Add it if you want it alongside the other sources |
| DeepSeek, Grok | deepseek.com, chat.deepseek.com, grok.com, grok.x.com | Both appear in Google’s default channel help page | Domains may differ across product surfaces |
| Other services | meta.ai, chat.mistral.ai, mistral.ai, you.com, phind.com, poe.com, kagi.com, search.brave.com | Not all are named by Google | Keep the sources you need and update the expression from your own GA4 data |
Regex matching in GA4 uses RE2, a regex engine. By default, it matches the full source value and is case-sensitive. Use the complete domain, add a backslash before periods, and keep the ^ and $ boundaries. Google’s Analytics regex documentation explains these defaults. OpenAI also says that ChatGPT Search automatically adds utm_source=chatgpt.com to referral URLs in its Publishers and Developers FAQ. This tag can help identify those search referrals, but it may not appear in every browser or situation.
After creating the group, inspect the actual Session source values in your report and keep only the domains you need. Treat copilot.com, chat.deepseek.com, and other less common variants as domains to verify in your own data. Those domains may not appear as referrers on every visit.
Why channel order and regex precision matter
The first matching rule determines a session’s channel.
If Referral is above AI assistants, a session from an AI service with the referral medium is assigned to Referral before GA4 checks your rule. Put the AI channel first.
Google’s help page includes a broad example with fragments such as .*ai, .*gpt.*, and .*google.*. These patterns can match unrelated sources, including Google properties other than Gemini. The expression above matches a full domain, so a source such as blog.example-ai does not match just because its name contains ai.
Where Perplexity and Gemini traffic shows up in GA4
How to track Perplexity referrals in GA4
In Traffic acquisition, search Session source for perplexity.ai or the value shown in your property. Google does not name Perplexity in its default AI Assistant examples, so those sessions may stay under Referral. Add the source to a custom group to include it in your AI channel consistently.
How to track Gemini traffic in GA4
Check which Google surface sent the visit. If GA4 receives a referrer from the Gemini app, the source may be gemini.google.com. Google AI Overviews and AI Mode appear within Google Search. GA4 classifies clicks from Google organic results as Organic Search, not AI Assistant. Search Console includes those impressions and clicks in the Web search type, not in separate AI Overviews or AI Mode metrics. See Google Search Central’s guidance on AI features.
| Surface or scenario | What GA4 typically records | Can GA4 separate it? |
|---|---|---|
| ChatGPT with a recognized referrer | AI Assistant, ai-assistant, or a source such as chatgpt.com | Yes, by channel or Session source |
ChatGPT Search with utm_source=chatgpt.com | The source and campaign passed in the URL | Yes, check Session source and Session campaign |
| Gemini app | Gemini referrer, if sent and retained | Yes, by source or custom group |
| Perplexity | perplexity.ai as source, if sent | Yes, add it to a custom group if needed |
| Claude or Copilot | Recognized AI Assistant or a specific Session source | Check both dimensions and your actual property values |
| Google AI Overviews and AI Mode | Google organic search | No, they do not have a separate AI Assistant channel |
| Visit without a referrer or UTM | Direct or another value from the available data | No, Direct alone cannot identify the AI service |
Our guide to how to appear in Google AI Overviews and AI Mode covers visibility in Google Search. This article focuses on referrals from AI assistants.
How to see landing pages from AI traffic in GA4 and measure conversions
In Explore, create a Free form report. Add Landing page + query string to Rows, then filter by or create a session segment for Session default channel group, Session source, or your custom group. Add Sessions, Engaged sessions, Engagement rate, Key events, and Session key event rate as metrics. For an online store, you can also include Transactions and Total revenue.
Compare these landing pages with pages cited by AI systems. Our guide to which website pages ChatGPT cites shows how to find pages that AI answers cite as sources.
How to track AI conversions in GA4
For each landing page and date range, compare Session key event rate from AI traffic with Organic Search. This shows which channel has more sessions that trigger a key event, without mixing pages with different goals. See how ChatGPT selects products for ecommerce for details on how ChatGPT picks products and what a store can prepare.
Your measured AI share is the number of sessions in your AI channel divided by all sessions for the same period. This is the share classified by your report, not an estimate of everyone influenced by AI answers.
Explorations also have limits. GA4 retains detailed data for two months by default, and you can extend retention to 14 months in a standard property. Privacy thresholds may hide rows in reports and explorations. Queries with more than 10 million events may use sampled data. Data from the most recent 48 hours can change while processing finishes, so avoid conclusions from an incomplete day.
Why is ChatGPT traffic showing as direct in GA4?
A visit appears as Direct when GA4 cannot identify another source from the information it receives. This can happen when someone opens a saved link or types a URL, or when a referrer or campaign parameter is not preserved. A report does not show the exact cause of every Direct session.
If a browser or app sends no referrer, GA4 has no domain such as chatgpt.com, gemini.google.com, or perplexity.ai to match against your regex.
Do not count all Direct sessions as AI traffic.
If visits from ChatGPT appear under Direct while the AI Assistant channel stays flat, that pattern alone does not prove their source was ChatGPT. Use the native AI Assistant channel and a custom group to report identifiable referrals. Review citations and mentions separately. How to analyze the sources AI relies on can help you compare the links AI cites with the landing pages visitors reach.
Follow GA4’s tagging guidance to add UTM parameters to links you control, such as links in a profile or newsletter. This will not tag third-party links in ChatGPT, Gemini, or Perplexity answers.
What GA4 will not show
After a click, GA4 reports visits and on-site behavior, but it does not include the prompt someone entered in an AI assistant. A Google Analytics Community answer says standard analytics cannot show which prompts led to those visits and recommends reviewing traffic sources and site pages.
Session source and page referrer show where a visit came from or the previous URL, not what someone typed into a conversation. GA4 also cannot count brand mentions or citations that do not lead to a click. You need a separate way to monitor AI answers for that. Our guide to measuring AI visibility alongside SEO explains how mentions, citations, and visits differ.
AI Overviews and AI Mode do not appear as separate channels within organic search in GA4. Search Console includes their results in Web search performance data. Keep those clicks separate from Gemini app traffic. They come from different Google surfaces.
Common mistakes when setting up AI traffic
| Mistake | What you will see | How to fix it |
|---|---|---|
Use only a Session source regex | Sessions GA4 classified as AI Assistant may fall outside your source list and end up in another channel | Add an OR condition where Session medium exactly matches ai-assistant |
Use chatgpt.com without escaping the period | In regex, a period means any character | Write chatgpt\.com and check the full expression against sample values |
Assume chatgpt is a partial match by default | GA4 regex matching is full-match and case-sensitive by default, so chatgpt alone will not match chatgpt.com | Use the full domain or deliberately build a partial-match condition |
Use broad strings such as .*google.* or .*gpt.* | Unrelated sources containing that fragment can enter the channel | Match complete domains with ^ and $ |
| Put the AI channel below Referral | The session is assigned to the first matching rule, often Referral | Move the AI channel above Referral |
| Expect a new audience rule to apply to past sessions | New audience conditions do not change historical eligibility | Use the custom group in reports for a retrospective view; audience rules apply going forward |
| Expect custom channel groups to appear in BigQuery Export | The export schema has no ready-made custom channel group dimension | Recreate the classification rule in your SQL query |
| Treat Direct as hidden AI traffic | The report includes unverified visits | Keep Direct separate and count only sessions with a recognized source or medium |
Looker Studio and BigQuery: when the GA4 interface is not enough
Looker Studio can put GA4 and Search Console data in the same dashboard. For example, you can show organic Google Search clicks from Search Console alongside sessions, engaged sessions, or conversions from GA4. Those totals will not match: Search Console counts clicks on Google results, while GA4 counts site sessions using its own measurement and attribution rules.
BigQuery is useful for SQL analysis or storing detailed data. Custom channel groups are not included in the GA4 BigQuery Export schema, so recreate the rules in your query using the available session sources and UTM parameters. Document the regex and update it when you change your source list so the query and GA4 reports stay aligned.
Frequently asked questions
What is the AI Assistant channel in GA4?
It is GA4’s default channel for visits it recognizes as coming from AI assistants. As of October 2026, GA4 assigns those sessions the ai-assistant medium and (ai-assistant) campaign. Google lists ChatGPT, Gemini, DeepSeek, Copilot, and Grok as examples.
Can GA4 show ChatGPT prompts? No. GA4 can show the referral source, session, and landing page, but its standard dimensions do not include the prompt or conversation text.
Do AI Overviews and AI Mode appear in the AI Assistant channel? No. Google excludes them from AI Assistant. GA4 counts clicks from Google organic results as Organic Search. Search Console includes them in the Web search type.
Will creating a new channel group change historical reports? Yes. You can use a custom channel group to classify historical data in supported reports and explorations. Audience changes affect eligibility going forward only.
Can I track AI traffic in GA4 with Viewer access? Check an existing Traffic acquisition report or exploration that you have permission to view. Someone with the Editor role must create or change a custom channel group.
Why is Perplexity missing from the AI Assistant channel?
Google’s default channel examples do not name Perplexity. Search your property’s Session source values. If perplexity.ai appears, add it to a custom group with a regex rule.
How we do this in VYDAI
VYDAI’s AI traffic report uses the GA4 property connected to a project. It shows sessions, engagement, key events, and revenue when available in GA4, broken down by source and landing page. The source table shows how each row was classified: by the native ai-assistant medium or a domain in the dictionary.

The report lets you compare sessions and landing pages by AI source with monitored mentions and citations. For example, you can check whether a page cited by an AI system also brings visitors to your site. GA4 may report Perplexity as a traffic source if it receives that domain as a referrer. VYDAI does not monitor brand mentions in Perplexity. Brand monitoring covers ChatGPT, Gemini, Claude, Google AI Overviews, and Google AI Mode.
You can view the report after connecting Google Analytics in a project’s settings. For a small site, GA4 and a custom channel group may be enough. VYDAI brings AI traffic together with data on brand mentions and sources cited in AI answers. See the VYDAI demo or create an account.