# How to track ChatGPT, Perplexity and Gemini traffic in GA4

> GA4 now has an AI Assistant channel. How to check it, build a custom channel group with a regex, explore AI landing pages, and fill gaps with Search Console.

Source: https://domyaeo.com/blog/track-ai-search-traffic-ga4
Updated: 2026-11-19
Publisher: Do My AEO (https://domyaeo.com)

To track traffic from ChatGPT, Perplexity and Gemini in GA4, start with the built-in AI Assistant channel that Google added on May 13, 2026, under Reports, Acquisition, Traffic acquisition. Then build a custom channel group with a regex on Source so you control which assistants count, and check Search Console and Bing Webmaster Tools for the AI surfaces GA4 cannot see.

Expect an undercount whatever you do. Clicks from AI apps can arrive with no referrer at all, and GA4 files those under Direct.

## What GA4 already does for you

Google's ["What's new" page for Analytics](https://support.google.com/analytics/answer/9164320) (checked November 19, 2026) says that as of May 13, 2026, GA4 has "a new AI Assistant channel in your Default Channel Group reports." When the referrer matches a recognized AI assistant, three things happen automatically:

- The medium is set to `ai-assistant`.
- The session goes into the **AI Assistant** channel.
- The campaign is set to `(ai-assistant)`.

Google's [default channel group definitions](https://support.google.com/analytics/answer/9756891) describe the channel as traffic "from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok" and say "It excludes Google's AI Overviews and AI Mode." Those Google features stay in Organic Search, which the same page defines as including "Google's AI Overviews and AI Mode."

Two gaps remain. Google does not publish the full list of recognized assistants, so you cannot confirm from the docs whether Perplexity or a smaller tool is on it. And default channel groups cannot be edited. Both are reasons to build your own group.

## Which AI tools send identifiable traffic

| Tool | What to look for in Session source | How sure we are |
|---|---|---|
| ChatGPT | `chatgpt.com` (referrer or UTM tag) | OpenAI documented `utm_source=chatgpt.com` on search result links; GA4 names ChatGPT as recognized |
| Gemini app | `gemini.google.com` | GA4 names Gemini as recognized |
| Claude | `claude.ai` | GA4's announcement names Claude |
| Microsoft Copilot | `copilot.microsoft.com` | GA4 names Copilot as recognized |
| Perplexity | `perplexity.ai` or `www.perplexity.ai` | Not named by Google; check your own source rows |
| Google AI Overviews and AI Mode | `google` / `organic` | Counted as Organic Search, not AI Assistant |

On ChatGPT specifically: OpenAI's Publishers and Developers FAQ said "ChatGPT automatically includes the UTM parameter utm_source=chatgpt.com in referral URLs." That page now redirects to an unrelated help article, so we read the [archived copy from September 13, 2026](https://web.archive.org/web/20260913204421/https://help.openai.com/en/articles/12627856?utm_source=chatgpt.com). The tag means ChatGPT search clicks can be attributed even when the referrer is stripped. We could not find equivalent documentation from Perplexity, Anthropic or Microsoft, so treat the other rows as patterns to watch, not promises.

## Step by step: build an AI custom channel group

Google's [custom channel group help page](https://support.google.com/analytics/answer/13051316) (checked November 19, 2026) gives the menu path. You need the Editor role or above on the property.

1. In GA4, click **Admin**. Under **Data display**, click **Channel groups**.
2. Click **Create new channel group**. This starts from a copy of the default group, so all your normal channels, including AI Assistant, are already there.
3. Name the group, for example "Channels with AI detail".
4. Click **Add new channel** and name it "AI assistants (custom)".
5. Click **Add condition group**, choose the dimension **Source**, set the match type to **matches regex**, and paste the regex below.
6. Click **Save channel**.
7. Click **Reorder** and drag your new channel above **AI Assistant** and **Referral**. Google is explicit that "Traffic is included in the first channel whose definition it matches," so order matters. Click **Apply**.
8. Click **Save group**.

Here is the regex:

```text
.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|chat\.deepseek\.com|grok\.com|chat\.mistral\.ai).*
```

Two details from Google's [regex help page](https://support.google.com/analytics/answer/1034324) matter here. GA4 regex is "full regex and case sensitive" by default, which is why the pattern starts and ends with `.*`, so it matches a source that merely contains one of these domains. And the domains are lowercase because GA4 source values usually are.

Why not copy Google's own example? The help page offers one, but its first branch, `^.*ai`, matches any source ending in "ai", so every `.ai` domain lands in your AI channel, including software tools that have nothing to do with assistants. A list of named domains is easier to audit. Update it when a new assistant starts showing up in your referral rows.

Limits worth knowing: a standard property can have 2 custom channel groups and each group can hold 50 channels. Google says "Custom channel groups can be applied to your reports retroactively," so you can see earlier months too.

## Read the numbers: report and exploration

### The quick view

Go to **Reports**, **Acquisition**, **Traffic acquisition**. Click the dimension picker above the table and switch it from Session default channel group to your new custom group. Your "AI assistants (custom)" row now sits beside Organic Search, Direct and the rest.

### An exploration for AI landing pages

The useful question is which pages AI tools send people to, and what those visitors do next. Google's [Explorations help](https://support.google.com/analytics/answer/7579450) says to click **Explore** in the left navigation, then pick the **Free form** template.

1. Under Variables, add the dimensions **Session source**, **Landing page + query string** and your custom channel group.
2. Add the metrics **Sessions**, **Engaged sessions** and **Key events**.
3. Drag Session source and Landing page + query string into Rows, and the metrics into Values.
4. Add a filter on your custom channel group that exactly matches "AI assistants (custom)".
5. Set the date range to at least 90 days. AI volumes are small, and short ranges are noisy.

You get a table of AI sources and the pages they land on. Pages that show up here repeatedly are the ones assistants already cite, so keep them accurate and current. If one of your key commercial pages never appears, that is a prompt to check it, not proof that assistants ignore it.

## The limits: why AI traffic hides in Direct

Google's own [guide to identifying Search traffic](https://developers.google.com/search/docs/monitor-debug/identify-google-search-traffic) (checked November 19, 2026) explains why referrers go missing. Browsers and operating systems may omit the referrer header in private browsing modes, when moving from a native app to a browser, and for users with privacy extensions or strict settings. It also notes that client-side redirects can replace the referrer with your own page's URL. GA4's [(direct) / (none) help page](https://support.google.com/analytics/answer/15258820) adds that links without UTM parameters lose their source, and that ad blockers can interfere with tracking.

All of that applies to AI assistants too, and the app-to-browser case can apply whenever someone clicks a link inside an assistant's mobile or desktop app. In practice:

- **Copied links** pasted into a browser arrive as Direct.
- **Desktop and mobile apps** may open links without passing a referrer.
- **Answers with no click** never reach GA4 at all. If an assistant summarizes your pricing and the user never visits, analytics shows nothing.

So read your AI channel as a floor, not a total. A rising Direct trend on deep pages that nobody would type by hand, such as a specific pricing or comparison URL, can be a hint of untagged AI traffic. It is only a hint.

## First-party sources outside GA4

GA4 only sees visits. Two free tools show visibility inside AI answers, which matters because most AI answers produce no click.

**Google Search Console.** Google's [AI features page](https://developers.google.com/search/docs/appearance/ai-features) says sites appearing in AI Overviews and AI Mode "are included in the overall search traffic in Search Console" and are reported in the Performance report under the "Web" search type. There is now also a dedicated [Generative AI performance report](https://support.google.com/webmasters/answer/16984139), which Google says was rolled out "to all websites worldwide" as of August 31, 2026. It reports impressions, defined as "how many times links to your site were shown to a user in a generative AI feature on Google Search." It does not mention clicks. More on these surfaces in our post on [Google AI Overviews and AI Mode visibility](/blog/google-ai-overviews-ai-mode-visibility).

**Bing Webmaster Tools.** Microsoft's [AI Performance report](https://blogs.bing.com/webmaster/2026/2/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview), in public preview since February 10, 2026, shows total citations, average cited pages, grounding queries and page-level citation activity across "Microsoft Copilot, AI-generated summaries in Bing, and select partner integrations." The announcement does not mention click data. Setup details are in our guide to [Copilot, Bing and IndexNow](/blog/microsoft-copilot-bing-indexnow).

Neither OpenAI nor Perplexity offers an equivalent publisher dashboard that we could find. For ChatGPT, the best you have is the referral data above, plus making sure OpenAI's search crawler can reach you at all. Our post on [whether ChatGPT can crawl your website](/blog/can-chatgpt-crawl-my-website) covers that check.

## A short monthly routine

1. Open Traffic acquisition with your custom channel group and note AI sessions and key events.
2. Scan the referral rows for new AI domains and add them to the regex.
3. Open the AI landing page exploration and check that the top pages are accurate.
4. Check the Generative AI performance report in Search Console and AI Performance in Bing Webmaster Tools.
5. Write the numbers down with the date. Trends over months tell you more than any single week.

## Sources

- [Google Analytics Help: What's new in Google Analytics (AI Assistant channel, May 13, 2026)](https://support.google.com/analytics/answer/9164320)
- [Google Analytics Help: Default channel group](https://support.google.com/analytics/answer/9756891)
- [Google Analytics Help: Custom channel groups](https://support.google.com/analytics/answer/13051316)
- [Google Analytics Help: About regular expressions](https://support.google.com/analytics/answer/1034324)
- [Google Analytics Help: Explorations](https://support.google.com/analytics/answer/7579450)
- [Google Analytics Help: Understand (direct) / (none) traffic](https://support.google.com/analytics/answer/15258820)
- [OpenAI Help Center: Publishers and Developers FAQ (archived September 13, 2026)](https://web.archive.org/web/20260913204421/https://help.openai.com/en/articles/12627856?utm_source=chatgpt.com)
- [Google Search Central: Identify Google Search traffic in your web analytics or server logs](https://developers.google.com/search/docs/monitor-debug/identify-google-search-traffic)
- [Google Search Central: AI features and your website](https://developers.google.com/search/docs/appearance/ai-features)
- [Search Console Help: Generative AI performance report](https://support.google.com/webmasters/answer/16984139)
- [Bing Webmaster Blog: Introducing AI Performance in Bing Webmaster Tools, public preview (February 10, 2026)](https://blogs.bing.com/webmaster/2026/2/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview)

## Frequently asked questions

### Does GA4 track ChatGPT traffic automatically?

Yes, partly. Since May 13, 2026, GA4 puts visits from recognized AI assistants such as ChatGPT, Gemini and Claude into a default channel called AI Assistant, with the medium set to ai-assistant. Visits that arrive without a referrer still land in Direct.

### Is Google AI Overviews traffic counted in the AI Assistant channel?

No. Google's channel definitions say the AI Assistant channel excludes AI Overviews and AI Mode, which are counted as Organic Search. Use the Generative AI performance report in Search Console to see impressions in those features.

### Why does some AI traffic show up as Direct in GA4?

When a browser or app sends no referrer and the link has no UTM tag, GA4 has nothing to attribute the visit to, so it records it as (direct) / (none). Private browsing, in-app browsers, copied links and some privacy settings all cause this.

### Do I still need a custom channel group if GA4 has an AI Assistant channel?

It helps. Google has not published the full list of assistants it recognizes, and you cannot edit default channel groups. A custom group lets you decide which sources count, and Google says custom channel groups apply to your reports retroactively.
