What You Can and Cannot See in GA4
GA4 can only attribute a visit from an AI assistant if the click reaches your site with a referrer or a campaign tag. Google added an AI Assistant channel to the default channel group on May 13, 2026. When the referrer is on Google’s list of recognized assistants, GA4 sets the medium to ai-assistant and the campaign to (ai-assistant). The release note gives ChatGPT, Gemini and Claude as examples, and the channel definition page gives ChatGPT, Gemini, DeepSeek, Copilot and Grok. Google has not published the full list.
| Source | Visible in GA4? | Where else to look |
|---|---|---|
| ChatGPT on the web | Yes, as session source chatgpt.com. OpenAI adds utm_source=chatgpt.com to referral links |
Your own channel group (step 2) |
| Perplexity on the web | Yes, as perplexity.ai or www.perplexity.ai. Neither Google text on the native channel names Perplexity, so check whether it lands in AI Assistant or Referral |
Your own channel group (step 2) |
| Microsoft Copilot, Gemini and Claude on the web | Yes, as copilot.microsoft.com, gemini.google.com and claude.ai |
Your own channel group (step 2) |
| Assistant apps, in-app browsers, copied links | Often no referrer, so GA4 counts the session as Direct | A “How did you hear about us?” field on your forms |
| Google AI Overviews and AI Mode | Counted as Organic Search and cannot be separated | Search Console’s generative AI report |
| Answers that mention you but get no click | No | AI visibility and citation tracking |
| Visitors who decline analytics consent | Not as observed sessions. Standard reports can model them if the property qualifies | The consent rates in your consent management platform |
OpenAI’s publisher documentation confirms chatgpt.com. The GA4 tracking guides from Ahrefs and Orbit Media list all five hostnames as referrers they have seen in real data.
Step 1: Find AI Referrals in the Traffic Acquisition Report
Go to Reports > Acquisition > Traffic acquisition. The report opens on Session default channel group, so any property that has received assistant clicks since mid-May 2026 will show an AI Assistant row.
Switch the table’s dimension to Session source / medium and set the date range to at least the last 90 days. Search the table for each hostname. Sources with the medium ai-assistant are on Google’s list. Sources that still show referral are not. If perplexity.ai / referral shows up in your data, Google’s list does not cover Perplexity for your property, and the native channel misses those visits.
Google’s release note doesn’t say whether sessions from before May 13, 2026 were reclassified. Look at the AI Assistant row over a longer date range. If it starts on that date, the earlier visits are still sitting in Referral.
Step 2: Create an “AI Assistants” Custom Channel Group
You need your own channel group even though GA4 now has a native AI Assistant channel. You can’t audit a referrer list Google keeps unpublished. Default channel definitions can’t be edited, and Google says they “may evolve as the market changes.” Custom channel groups also apply to your reports retroactively, so your channel covers the months before the native one existed.
You need the Editor role or above on the property. Then:
- In Admin, under Data display, click Channel groups.
- Click Create new channel group. GA4 starts you with a copy of the default group, which now includes the AI Assistant channel.
- Name the group, for example “Channels with AI assistants”.
- Click Add new channel and name it “AI assistants”. Add a condition group with Source, “matches regex” and the pattern below. Save the channel.
- Click Reorder. Drag “AI assistants” above Referral and above the copied AI Assistant channel, then click Apply.
- Click Save group.
^(.+\.)?(chatgpt\.com|perplexity\.ai|copilot\.microsoft\.com|gemini\.google\.com|claude\.ai)$
The pattern matches the five hostnames and any subdomain of them, such as www.perplexity.ai. Because it is anchored at both ends, lookalikes such as chatgpt.com.example.com or myclaude.ai don’t match. We tested it with Python’s re module. All six expected sources matched. None of the 16 negative cases did, including google.com, mail.google.com, bing.com and openai.com. GA4 uses full matching by default, and an anchored pattern behaves the same under full and partial matching.
Order matters because GA4 places each session in the first channel whose definition it matches. Google’s help page says to put the AI channel above Referral. Putting it above the copied AI Assistant channel as well means your regex decides first. Keep the copied AI Assistant channel directly below yours, so that assistants your regex doesn’t cover but Google does (DeepSeek or Grok, for example) still get their own row.
Google’s help page also offers an example pattern, but it is broad: in our test under full matching it also caught any source that ends in “ai” (such as example.ai) and any source that contains “gpt” (such as gptzero.me). Use it only if you would rather overcount than miss an assistant.
Standard properties allow two custom channel groups in addition to the default group, and GA4 360 allows five. Each group can hold 50 channels. Google advises updating the regex whenever the URLs or the assistants you want to measure change. If you want leadership to see your definition in every acquisition report, set the group as the primary channel group in Admin. It populates from that point forward.
Put numbers on it
Estimate the capacity, payback period and 24-month return of governed AI workflows in your marketing team. Your figures, your browser, nothing stored.
Step 3: Build an Exploration for Landing Pages and Key Events
The acquisition report shows how many visits arrive. An exploration shows where they land and what those visitors go on to do.
Click Explore in the left navigation and start a Free form exploration. Import these dimensions: your new channel group, Session source and Landing page + query string. Import these metrics: Sessions, Engaged sessions, Key events and Session key event rate. Then set it up like this:
- Rows: Landing page + query string
- Columns: Session source
- Values: Sessions, Key events
- Filter: your channel group exactly matches “AI assistants”
The result is a table of the pages assistants send people to, broken down by assistant, with the key events those sessions produced. Free form takes up to five row dimensions, two column dimensions and ten metrics, so there is room for Device category or Country if you need it.
An exploration is private until you share it, and sharing requires the Analyst role. Queries that cover more than 10 million events can be sampled, which GA4 flags with an icon. Explorations only reach back as far as the property’s data retention setting, which is two months by default. Extend it in Admin before you need the history.
If leadership reads a Looker Studio dashboard instead, create a calculated field there that applies REGEXP_MATCH to Session source with the same pattern. Write the pattern as a raw string (R"...") so the backslashes survive.
The Blind Spots and How to Read the Numbers
Treat the AI assistant figure in GA4 as a minimum. It misses visits in three places.
Direct Traffic
GA4 records a session as (direct) / (none) when it has no referrer and no campaign tags. That covers typed URLs, links in PDFs and Word files, and URLs that lost their parameters in a redirect or a link shortener. Clicks from assistant apps and in-app browsers, and links that people copy out of a chat, often arrive the same way. The Direct row in your report therefore includes some assistant visits, and GA4 can’t tell you how many. A self-reported field on your forms recovers some of them. Attribution in a zero-click world explains how to use one.
Google’s Own AI Features
Google defines Organic Search as including AI Overviews and AI Mode, and it excludes both from the AI Assistant channel. Neither GA4 nor a regex can separate those clicks, because they come from the same Google hostnames as ordinary results. Google reports its AI search features in Search Console’s generative AI report.
Consent
Consent Mode decides what GA4 receives from visitors who decline analytics storage. In basic mode the Google tag doesn’t fire until the visitor consents, so GA4 gets nothing at all from people who decline. In advanced mode the tag sends cookieless pings, and GA4 can model users and sessions for those visitors in standard reports, under conditions: the property needs at least 1,000 events per day with analytics_storage denied for seven days, and at least 1,000 daily users with it granted on seven of the previous 28 days. The property must also use the Blended reporting identity. Modeled data never reaches the BigQuery export, and several exploration types don’t support it.
When you read the numbers:
- Track the trend and the AI share of all sessions. Absolute counts move whenever any of these gaps changes.
- Annotate May 13, 2026 and every edit to your regex, so a jump in the line doesn’t get read as growth.
- Record which consent mode your site runs and whether the property qualifies for modeling before you compare properties or markets.
- A stable share only means something if AI visitors accept cookies at roughly the same rate as everyone else, and GA4 can’t confirm that.
From Traffic to Revenue
Once the exploration shows which pages AI assistants send people to and which of those sessions reach a key event, connect key events to pipeline in your CRM and compare AI-referred deals with the rest. Attribution in a zero-click world covers the models that also credit influence without a click. AI traffic conversion rate looks at how chatbot visitors behave once they arrive, and server-side tracking deals with the measurement loss that hides part of every channel.
If the conversation with leadership moves on to what AI inside marketing should return, the AI Marketing ROI Calculator estimates payback and 24-month return from your own figures.
Read Next
This guide belongs to the Revenue Systems pillar of the kōdōkalabs Intelligence Hub.
