---
title: "How to Track AI Traffic in GA4: ChatGPT, Perplexity, Gemini"
description: "GA4 now has an AI Assistant channel, yet some ChatGPT and Perplexity visits still land in Referral or Direct. How to check it, and what GA4 cannot see."
url: https://fullsearchaudit.com/blog/how-to-track-ai-traffic-in-ga4/
language: en
updated: 2026-12-04
---

# How to track AI traffic in GA4, and what GA4 cannot see

GA4 now has an AI Assistant channel, yet some ChatGPT and Perplexity visits still land in Referral or Direct. How to check it, and what GA4 cannot see.

By Vadym Borovskyi, who prepares and checks every Full Search Audit report 
Published 4 December 2026 · 7 min read

To track AI traffic in GA4, start with the built-in AI Assistant channel Google added in May 2026, then add a custom channel group that also catches AI sources it misses. That gives leadership a number for visits and leads from ChatGPT, Perplexity, Gemini and similar tools. It will still be a floor, not the full picture: visits without a referrer land in Direct, and answers that name you without a click never reach GA4.

Key takeaways

- Since May 2026 GA4 sorts visits from recognized AI assistant referrers into a default AI Assistant channel, with no setup.
- Google AI Overviews and AI Mode clicks stay in Organic Search in GA4; Search Console has a separate generative AI performance report for them.
- GA4 regular expressions are full match by default, so wrap a source list in.* to catch subdomains and variants.
- Visits without a referrer land in Direct, and answers that name you without a click never reach GA4 at all.
- Report AI sessions and key events as a floor, next to a count of how often assistants mention you.

## Where AI visits land in GA4 by default: AI Assistant, Referral, Direct, Unassigned

Since May 13, 2026, GA4 assigns visits from recognized AI assistants to a new **AI Assistant** channel. According to Google’s [What’s new in Analytics](https://support.google.com/analytics/answer/9164320), the medium “ai-assistant” is set automatically when the referrer matches a recognized assistant, and the visit gets the campaign name “(ai-assistant)”. The [default channel group definitions](https://support.google.com/analytics/answer/9756891) name ChatGPT, Gemini, Deepseek, Copilot and Grok as examples.

That solves part of the problem. The rest still lands in four other places:

- **Referral:** AI sources that are not on Google’s list of recognized assistants.
- **Direct:** visits that arrive with no referrer at all.
- **Unassigned:** visits with a source tag but a medium no rule recognizes.
- **Organic Search:** Google’s own AI Overviews and AI Mode. Google states that both are included in Organic Search, not in AI Assistant.

So the first job is not to build anything. Open Reports, then Acquisition, then Traffic acquisition, set the primary dimension to “Session default channel group” and look for AI Assistant. Then switch to “Session source / medium” and search for chatgpt, perplexity, claude, gemini and copilot to see where each source actually sits.

## Build a custom channel group for AI assistants (regex to copy)

A custom channel group lets you define AI traffic your way and apply it to past data. Google’s help on [custom channel groups](https://support.google.com/analytics/answer/13051316) gives the rules that matter: standard properties get 2 custom groups, each with up to 50 channels; groups apply to reports retroactively; and traffic lands in the first channel whose rules it matches, so order is everything.

Steps:

1. Admin, then Data display, then Channel groups. Click “Create new channel group” to copy the default group.
2. Name it “Channels with AI”.
3. Add a channel called “AI assistants” with two condition groups joined by OR: Default channel group exactly matches `AI Assistant` Source matches regex:

<code><span class="line"><span>.*(chatgpt|openai|perplexity|claude\.ai|gemini\.google|copilot\.microsoft|grok\.com|deepseek|meta\.ai|mistral\.ai).*</span></span></code>

1. Move “AI assistants” to the top of the list, above Referral and Organic Search.
2. Save, then use the group as the primary dimension in Traffic acquisition.

Two details trip people up. GA4 regular expressions are [full match by default](https://support.google.com/analytics/answer/1034324), so a pattern without `.*` at both ends will miss “chat.openai.com” or “perplexity.ai/search”. And channel definitions are not case sensitive, so you do not need to list capitalized variants. Review the source list every quarter: new assistants appear, and your own data will show sources this regex does not know.

## Build the report: sessions, key events and landing pages from AI sources

The useful report answers three questions: how many visits, which pages they land on, and whether they become leads. Build it once as an exploration so you can share it.

1. Explore, then Free form.
2. Dimensions: your custom channel group (session), Session source, Landing page.
3. Metrics: Sessions, Engaged sessions, Key events, Session key event rate.
4. Filter the channel group to “AI assistants”.
5. Rows: Landing page. Columns: Session source.

What to look for: AI visitors can land deep in the site, on a pricing page, a comparison page or a specific service page, because the assistant linked to the page that answered the question. If those pages convert worse than your average, the landing experience is the fix, not the AI traffic.

## Check data quality first: consent, cross-domain, self-referrals

An AI traffic report inherits every weakness of the property it sits on. Before you show the number to anyone, run three checks from our [GA4 audit checklist](https://fullsearchaudit.com/blog/ga4-audit/).

- **Consent.** Visitors who decline analytics cookies may be missing entirely, depending on your consent mode setup. GA4 only models the gap above [published thresholds](https://support.google.com/analytics/answer/11161109), which many B2B sites do not reach.
- **Cross-domain.** If AI visitors book a demo on a separate scheduling domain without [cross-domain measurement](https://support.google.com/analytics/answer/10071811), the lead is credited to your own site as a referral and the AI source is lost.
- **Self-referrals and redirects.** A redirect that strips the referrer or URL parameters moves AI visits into Direct. Click a link to your site from an assistant yourself and check how the visit is recorded in Realtime.

If any of these is broken, fix it first. Otherwise you will report an AI trend that is really a tracking change.

## What GA4 cannot see: app visits without a referrer, and answers with no click

GA4 only sees visits, and only visits that carry a referrer or a tag. Two large parts of AI influence fall outside that.

**Visits without a referrer.** When a link is opened from some desktop or mobile apps, or a buyer copies your name from an answer and types it into the browser, there is no referrer. GA4 records the visit as Direct, with no way to know an assistant started it.

**Answers with no click.** Often an assistant answers in the chat itself. A buyer asks which firms to consider, reads three names, and moves on. If you are named, nothing reaches GA4. If a competitor is named instead, nothing reaches GA4 either. That is the core of [zero-click search](https://fullsearchaudit.com/blog/zero-click-search/): influence without a visit.

Google’s AI features are a partial exception. GA4 counts their clicks inside Organic Search, but since 31 August 2026 Search Console has a [generative AI performance report](https://support.google.com/webmasters/answer/16984139) with clicks, impressions and click-through rate from AI Overviews and AI Mode.

And GA4 cannot show which prompt led to a visit. The referrer tells you the assistant, not the question.

## Pair traffic with visibility: mentions and citations

Because GA4 sees only the clicks, pair it with a direct measure of what assistants say. That means asking the questions your buyers ask, several times, and counting how often you are mentioned, which competitors are named, and which of your URLs are cited. Our guide on [how to measure AI search visibility](https://fullsearchaudit.com/blog/how-to-measure-ai-search-visibility/) explains the method.

The two numbers explain each other. In a real audit of a B2B company in a highly competitive market, anonymised, ChatGPT did not name the company in any of its 14 answers, while across 41 answers from four assistants the top competitor appeared in 39 and the company in 19. A GA4 report would show only the few visits from the answers that named the company, and nothing about the answers that did not. The anonymised [sample report](https://fullsearchaudit.com/sample-report/) shows how those counts are recorded.

## Reporting AI traffic to leadership without overclaiming

Leadership wants one number. Give them three, each labelled for what it is.

| Number | Source | What it means |
| --- | --- | --- |
| AI assistant sessions and key events | GA4, custom channel group | A floor: visits we can attribute, not all AI influence |
| “How did you hear about us?” answers naming an assistant | Form field or CRM | Self-reported influence, including visits that landed in Direct |
| Mentions in buyer questions vs competitors | Repeated, dated AI answers | Whether assistants name you at all |

Three rules keep the report honest. Do not call AI sessions “AI revenue” unless the CRM confirms the leads. Do not compare months across a tracking change. And show the trend in mentions next to the trend in visits: a jump in visits with flat mentions is worth checking for a tracking change before you call it a visibility gain.

If you want both halves measured at once, the [Full Search Audit](https://fullsearchaudit.com/audits/) records 240 dated answers from ChatGPT, Perplexity, Claude and Grok for 20 buyer questions, against up to 3 competitors, and reviews your Google Ads and GA4 setup from exports, with no account access. [How it works](https://fullsearchaudit.com/how-it-works/) shows the method, and pricing starts [from $490 / €429 excl. VAT](https://fullsearchaudit.com/pricing/).

## Frequently asked questions

### Does ChatGPT send referral data to GA4?

Yes, in most cases: Google’s channel definitions name ChatGPT among the AI assistants GA4 recognizes by their referrer. Since May 2026, those visits go to the AI Assistant channel automatically. Visits without a referrer still land in Direct.

### Why does ChatGPT traffic show as Direct?

ChatGPT traffic shows as Direct when the visit arrives without a referrer, for example from some apps, or when the buyer types your address after reading an answer. GA4 cannot recover the source afterwards. A “How did you hear about us?” field catches part of it.

### Can GA4 show which prompt led to a visit?

No, GA4 receives the referrer and any URL tags, not the question the buyer asked the assistant. To learn which questions name you, you have to ask those questions yourself, repeatedly, and record the answers.

### How do I track clicks from Google AI Overviews?

GA4 counts AI Overviews and AI Mode clicks as Organic Search, with no separate channel. Use the generative AI performance report in Search Console, which shows clicks, impressions and click-through rate from Google’s AI features for your pages.

Vadym Borovskyi

10+ years in marketing. Now builds AI automation for marketing teams. Prepares and checks every report at Full Search Audit. Reads each finding before it reaches the client and answers every email himself, in writing.

[How the audit works](https://fullsearchaudit.com/how-it-works/) [Sample report](https://fullsearchaudit.com/sample-report/) [LinkedIn](https://www.linkedin.com/in/axelt/)

Next step

Is your Google Ads budget leaking through broken tracking?

A review of your Google Ads and GA4 exports: wasted spend, tracking errors and traffic quality signals, plus the full AI Search Visibility Audit, in one 30-day plan.

- From $490 / €429 one-time, excl. VAT
- Report in 7 to 10 business days
- No account access needed
- Prepared and checked by Vadym Borovskyi

[See the Full Search Audit](https://fullsearchaudit.com/pricing/#pp-plans) [See a real report first (PDF, 26 pages)](https://fullsearchaudit.com/sample-report/) [Free AI crawler check](https://fullsearchaudit.com/ai-crawler-check/)

Pay by card or ask for a pro forma invoice. Businesses only. Prices exclude VAT. Invoiced from Poland (EU).
