How AI traffic appears in analytics
AI traffic appears as referral visits from the assistant's web domain. When someone clicks a cited link in an AI answer, the browser usually passes the assistant's domain as the referrer, and your analytics records it as the session source.
These are the sources to look for.
| Assistant | Source to match |
|---|---|
| ChatGPT | chatgpt.com (older data may show chat.openai.com) |
| Perplexity | perplexity.ai |
| Gemini | gemini.google.com |
| Microsoft Copilot | copilot.microsoft.com |
| Claude | claude.ai |
Some links also arrive with a utm_source tag naming the assistant, for example a value of chatgpt.com. Where a tag is present, GA4 reads the source from it even if the referrer is missing. Check your own landing page URLs to see which assistants tag links to you; do not assume every click is tagged. The UTM parameters guide explains how tags override referrers.
Step 1: Check GA4's built-in AI Assistant channel
GA4's default channel group includes an AI Assistant channel, so start there. Google's documentation describes it as the channel by which users arrive from sources like ChatGPT, Gemini, Deepseek, Copilot or Grok. GA4 sets the medium to ai-assistant when the referrer matches its list of AI assistants.
- Open Reports, then Acquisition, then Traffic acquisition.
- Make sure the primary dimension is Session primary channel group (Default channel group).
- Find the AI Assistant row.
- Add Session source as a secondary dimension to see which assistants are sending visits.
Two limits. Google's list decides what counts, and it notes that channel definitions may evolve. And Google's own AI Overviews and AI Mode are excluded: the documentation places them under Organic Search.
Step 2: Build an exploration with a regex
An exploration lets you choose exactly which sources count and see landing pages and conversions beside them.
- Go to Explore and start a Free form exploration.
- Add the dimensions Session source, Session source / medium and Landing page + query string.
- Add the metrics Sessions, Engaged sessions, Key events and, if you sell online, Total revenue.
- Put Session source in rows and the metrics in values.
- Add a filter: Session source, matches regex, then the pattern below.
A starting pattern, to adapt to your own data:
chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai
Add other assistants as you spot them in your referral list. Then swap Session source for Landing page to see which pages AI answers send people to. Those are the pages being cited.
Step 3: Create a custom channel group
A custom channel group makes AI traffic a permanent row in standard reports, with your own definition. Google's help page for custom channel groups uses an AI assistants channel as its worked example.
- In Admin, under Data display, click Channel groups. You need the Editor role or above.
- Click Create new channel group, which starts from a copy of the default group.
- Click Add new channel and name it, for example "AI assistants".
- Add a condition on Source, choose matches regex and paste your pattern.
- Save the channel, then click Reorder and drag it above Referral. Order matters: GA4 puts traffic in the first channel whose definition it matches.
- Click Save group.
Google states that custom channel groups can be applied to reports retroactively, so past data is regrouped. Standard properties allow two custom groups in addition to the default. Google also advises updating the regex when assistant URLs or your list change.
Step 4: Tie AI traffic to outcomes
Sessions alone say little. Mark your real conversions (demo requests, sign-ups, purchases) as key events, then compare the AI channel with Organic Search on:
- Engagement rate
- Key event rate
- Landing pages
- New versus returning users
Volumes are often small, so judge on quality and trend. Google has said that clicks from AI Overviews tend to be higher quality, with visitors more likely to spend more time on site. Check whether that holds for assistant traffic in your own data before repeating it internally.
What you cannot see
Referral tracking undercounts AI-driven visits, and you should say so whenever you report the number.
- Missing referrers. Clicks from mobile and desktop apps, or links a user copies and pastes, often arrive with no referrer and are recorded as Direct.
- Google's AI features. AI Overviews and AI Mode traffic is counted as Organic Search in GA4. Search Console includes it in the Performance report under the Web search type, without a separate filter.
- No-click influence. Someone who reads about you in an AI answer and searches your brand name later shows up as branded organic or direct traffic.
- Crawler visits. AI bots fetching your pages do not run analytics scripts. To see them, read server or CDN logs for user agents such as OAI-SearchBot, PerplexityBot and Claude-SearchBot.
- Consent and blockers. The usual analytics gaps apply here as everywhere.
To estimate the hidden part, watch three proxies alongside the AI channel: branded search impressions in Search Console, Direct sessions landing on deep pages that people rarely type by hand, and a "how did you hear about us" field on your forms.
Tracking beyond clicks
Traffic shows who arrived, not how often you were mentioned. For Microsoft's surfaces, Bing Webmaster Tools has an AI Performance report with citation counts, though not clicks. For everything else, track a prompt set by hand or with a tool, as described in the AI visibility guide.
If you run your own campaigns in newsletters or communities and want clean attribution there too, tag those links with the UTM builder.