Why track AI traffic in GA4 separately?
You track AI traffic separately because GA4's default channel group files visits from ChatGPT, Perplexity and Claude under Referral, mixed in with partner sites, directories and random backlinks. Pulling them into their own channel shows how much traffic AI tools send, which pages they send it to, and whether those visitors convert.
That last part is the point. In TripleDart's study of 28 B2B SaaS companies in Q1 2026, ChatGPT sent 72% of the AI-referred sessions, and homepages received 81.7% of AI-attributed leads. If AI visitors land mostly on your homepage and pricing page, those pages need to be built for someone who already has a shortlist. You can't know that until the traffic is visible.
This guide is one part of our hub on marketing website analytics, which covers the full metric set a B2B site should track. Here we go step by step through the GA4 setup, then explain what it can't catch.
Which sources count as AI traffic?
AI traffic is any visit referred by an AI assistant or answer engine. In 2026 the main sources for B2B sites are ChatGPT, Perplexity, Claude, Gemini and Microsoft Copilot. Google AI Overviews and AI Mode are not separable in GA4, because those clicks arrive from google.com like any organic visit.
Tool | Source value you'll usually see | Notes |
|---|---|---|
ChatGPT | chatgpt.com | Older visits may show chat.openai.com. Many links carry utm_source=chatgpt.com. |
Perplexity | perplexity.ai | Sometimes appears with www. in front |
Claude | claude.ai | Usually lower volume; varies by category |
Gemini | gemini.google.com | Separate from Google organic search |
Copilot | copilot.microsoft.com | Some visits arrive via bing.com and count as organic |
Google AI Overviews / AI Mode | Counted as Organic Search. Not separable in GA4. |
Before writing any regex, open Reports, then Acquisition, then Traffic acquisition, switch the dimension to Session source, and search for each name. Use the exact values your property records. Hostnames vary over time, and a regex built from a blog post rather than your own data is the most common reason the channel shows nothing.
How do you set up an AI channel group in GA4?
You set up an AI channel group by copying GA4's default channel group, adding a new channel with a session source regex, and placing it above Referral. It takes about ten minutes and needs Editor access to the property.
Open channel groups
In GA4, go to Admin, then Data display, then Channel groups. Click Create new channel group. GA4 starts you with a copy of the default channels.
Name the group
Call it something clear, like "Default + AI", so nobody confuses it with the standard grouping.
Add a new channel
Click Add new channel and name it "AI assistants". Set the condition to Session source, matches regex.
Paste the regex
Use the exact hostnames from your own report. A starting point: (chatgpt\.com|chat\.openai\.com|perplexity\.ai|www\.perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com)
Move it above Referral
Channels are evaluated from top to bottom and a visit takes the first match. Drag AI assistants above Referral, and above Organic Search if any AI source could also match there.
Save and check
Save the group, open the Traffic acquisition report and switch the primary dimension to your new channel group. Custom channel groups apply to historical data, so past AI visits should appear straight away.
Add it to your reports
Use the new channel group in explorations and in your monthly report, next to conversions by channel, so AI traffic is judged by leads and not just sessions.
Why does AI traffic from apps land in Direct?
AI traffic from apps lands in Direct because many mobile and desktop apps open links without passing a referrer. GA4 needs either a referrer or UTM parameters to attribute a visit. With neither, it has no source to record, so the session is filed as Direct with source "(direct)".
This is the biggest gap in GA4's view of AI. A buyer who asks the ChatGPT phone app for vendor recommendations and taps your link may never show up in your AI channel. The same goes for someone who copies your URL from an answer and pastes it into a browser later, or types your brand name into Google after reading about you.
- UTM tags help where the tool adds them. ChatGPT appends utm_source=chatgpt.com to many links it shows, which GA4 picks up even without a referrer.
- Apps and copy-paste don't. No tag, no referrer, no attribution.
- Branded search absorbs some of it. A buyer who reads about you in an AI answer and then searches your name counts as organic.
How to estimate hidden AI traffic in Direct
You can't measure hidden AI traffic exactly, but you can look for its shape. Filter Direct sessions by landing page and exclude the homepage. People rarely type a long URL like a specific comparison page by hand, so rising Direct traffic to deep pages, with no campaign or email to explain it, often points to AI referrals or shared links.
Then compare against what buyers tell you. A "How did you hear about us?" field with ChatGPT and Perplexity as visible options gives a second count. If self-reported AI mentions are several times higher than your AI channel's conversions, you know the GA4 number is a floor. Our guide to self-reported attribution covers how to add the field.
How do you check whether AI visitors convert?
You check whether AI visitors convert by comparing key events per session for the AI channel against your other channels, broken down by landing page. Raw conversion rate is less useful than knowing which pages AI tools send people to and whether those pages turn them into qualified leads.
- Mark your demo, contact and trial submissions as key events, if they aren't already.
- Build a free-form exploration with your custom channel group as rows and landing page as a secondary dimension.
- Add sessions, key events and session key event rate as values.
- Filter to the AI assistants channel and sort by sessions to see which pages AI tools send traffic to.
- Compare those pages' conversion rates for AI visitors against organic visitors on the same pages.
Small samples make this noisy for most startups. Look at a quarter at a time and pay more attention to which pages receive AI traffic than to precise rates. For what the wider data says, read does AI search traffic convert, and for how to design the pages those visitors land on, see our guide to landing pages for visitors arriving from ChatGPT.
What else should you track alongside the GA4 channel?
Alongside the GA4 channel, track whether you appear in AI answers at all and what buyers say brought them. GA4 only sees clicks. A brand can be mentioned in hundreds of AI answers a month and receive almost no traffic, especially in tools like Gemini that cite few sources.
- AI visibility. A monthly audit of buyer prompts shows whether you're mentioned and cited. See measuring AI search visibility.
- AI Overviews. Use a manual or tool-based check, since GA4 can't separate them. See how to track AI Overviews.
- Pipeline. Pass the session source into your CRM through hidden form fields so AI-referred leads can be followed to revenue. See connecting website analytics to HubSpot or Salesforce.
- Migrations. If you're rebuilding the site, keep the channel group and key events intact. Our guide to analytics continuity in a migration has the checklist.
How should you report AI traffic to leadership?
Report AI traffic as one line in your channel table, with sessions, qualified conversions and the trend, plus a note that the number undercounts. Leadership needs to know the direction and the caveat, not the regex.
A useful framing is three numbers side by side: AI channel sessions from GA4, AI-attributed conversions from GA4, and AI mentions from the self-reported field. The gap between the last two is the dark share that GA4 can't see. If that gap is large, it argues for investing in the pages and mentions that AI tools draw on, even when the tracked channel looks small. Our SEO reporting template for B2B shows where this sits on a one-page report.
