# How to Track AI Traffic in GA4: ChatGPT, Perplexity and Gemini (2026) | Enrich Labs

> How to track AI traffic in GA4: the built-in AI Assistant channel, a custom channel group with regex, an exploration, and what GA4 cannot see.

_Source: https://www.enrichlabs.ai/blog/ai-search-analytics-ga4_

---

Quick answer

**To track AI traffic in GA4, open Reports, then Acquisition, then Traffic acquisition, and look for the channel named AI Assistant.** Google's default channel group now includes it for visits from "sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok." For a list of assistants you control, add a custom channel group with a regex on Source and place it above Referral. Clicks from Google AI Overviews and AI Mode are counted as Organic Search, so read those in Search Console. GA4 cannot see AI answers that mention you without a click.

[2 minutes**Check the built-in AI Assistant channel**](#step-1) [Copy and paste**The regex and channel settings**](#regex) [Be honest with your team**What GA4 cannot see**](#cannot-see)

[Go to the 6 steps ↓](#how-to)[Try Helena free for 3 days](https://agent.enrichlabs.ai/marketing/register?ls=blog&cta=ga4-ai-quick-answer)

-   **Updated** November 26, 2026
-   **13** primary sources opened on this date
-   **6** steps, **4** copyable snippets
-   Google Analytics Help quoted, not paraphrased from memory

**Disclosure:** This guide is published by Enrich Labs, which makes Helena, an AI marketing agent that writes SEO and GEO content and reads Google Analytics 4 traffic. Everything in the steps below can be done in the free version of Google Analytics without Helena or any paid tool. Where we recommend our own product, we say so.

**Our top recommended product**

Start with [Helena](/helena-ai-marketer) for the work that follows the measurement: she reads your GA4 and Search Console data, writes the pages that earn AI citations and publishes them after you approve. Enrich Labs makes Helena; this is our publisher recommendation. The tracking itself is free in GA4, and the steps are below.

Most guides to this topic were written before Google changed the default. They tell you to build a regex filter by hand, because for a long time GA4 lumped ChatGPT and Perplexity visits in with every other referral. That is no longer the whole story. Google's [default channel group documentation](https://support.google.com/analytics/answer/9756891?hl=en) now lists a channel called AI Assistant, and its [custom channel groups page](https://support.google.com/analytics/answer/13051316?hl=en) carries a worked example for AI assistants.

This guide follows those two pages and eleven other primary sources, all opened on November 26, 2026. It covers the built-in channel, the custom channel group for when you want your own list, an exploration for landing pages and leads, the Search Console and Bing reports that fill the gaps, and a plain account of what none of these tools can show you.

## AI traffic in GA4 in one minute

-   **Built in:** GA4's default channel group has an AI Assistant channel. Google sets the medium to "ai-assistant" when the referrer matches its list of AI assistants.
-   **Not included:** Google says the channel "excludes Google's AI Overviews and AI Mode." Those clicks are counted under Organic Search.
-   **Your own list:** a custom channel group with a "matches regex" condition on Source. Standard properties can have 2 custom groups with up to 50 channels each, and Google says they "can be applied to your reports retroactively."
-   **Order matters:** Google says to place the AI channel above Referral, because traffic goes to the first channel it matches.
-   **Google's AI features:** reported in Search Console, inside the Performance report's Web search type, and in a Generative AI performance report.
-   **Microsoft:** Bing Webmaster Tools has an AI Performance report with citations and grounding queries.
-   **Blind spots:** answers that name you with no click, visits that arrive with no referrer, and AI crawlers, which GA4 excludes as known bots.

## What counts as AI traffic in GA4

Definition

AI traffic is the set of visits that reach your website when a person clicks a link inside an AI assistant such as ChatGPT, Perplexity, Gemini, Copilot or Claude. Google Analytics 4 records these visits like any other referral and, in its default channel group, files them under a channel called AI Assistant. Clicks from Google AI Overviews and AI Mode are not part of that channel; GA4 counts them as Organic Search.

Google's wording is specific. The [default channel group page](https://support.google.com/analytics/answer/9756891?hl=en) describes the channel like this: "AI Assistant is the channel by which users arrive at your site from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok. It excludes Google's AI Overviews and AI Mode." The rule behind it reads: "The medium is set to 'ai-assistant' and the campaign is set to '(ai-assistant)' if the referrer matches a list of AI Assistants."

Two things follow from that. First, the channel depends on a referrer. If an assistant's app or browser does not pass one, the visit cannot be matched. Second, Google keeps the list, and the help page does not publish it in full. That is the main reason to add a channel group of your own: you can see and change the list.

The same page defines Organic Search as traffic from "non-ad links in organic-search results, including Google's AI Overviews and AI Mode." So a click from an AI Overview looks, in GA4, like any other Google organic click. GA4 has no dimension that separates the two.

## Where each kind of AI visit lands

This table is the map for the rest of the guide. The first two columns come from the sources named in the last column; "not visible" means no page we read describes a way to see it in that tool.

| What happened | In GA4 | Better place to look | Source |
| --- | --- | --- | --- |
| A person clicks a link in ChatGPT, Copilot, Grok or Deepseek | AI Assistant channel, medium "ai-assistant" | GA4 Traffic acquisition report | [Analytics Help](https://support.google.com/analytics/answer/9756891?hl=en) |
| A person clicks a link in an assistant that is not on Google's list | Referral unless you add a custom channel | Custom channel group with your own regex | [Analytics Help](https://support.google.com/analytics/answer/13051316?hl=en) |
| A person clicks a link in a Google AI Overview or AI Mode | Organic Search, not separable | Search Console Performance and Generative AI performance reports | [Search Central](https://developers.google.com/search/docs/appearance/ai-features) |
| Copilot or Bing cites your page in an answer | Not visible unless clicked | Bing Webmaster Tools AI Performance | [Bing Webmaster Blog](https://blogs.bing.com/webmaster/February-2026/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview) |
| An assistant names your brand with no link or no click | Not visible | Manual prompt checks or a tracker | Our reading |
| An AI crawler fetches your page | Excluded as known bot traffic | Your server or CDN logs | [Analytics Help](https://support.google.com/analytics/answer/9888366?hl=en) |

## How to track AI traffic in GA4 in 6 steps

The first two steps take two minutes and need no setup. Steps three and four take about ten. The menu names below are the ones in Google Analytics Help on November 26, 2026.

1.  **Check the built-in AI Assistant channel.** In GA4, open Reports, then Acquisition, then Traffic acquisition. The table groups sessions by the primary channel group. Look for the row named AI Assistant. If it is there, GA4 is already recognizing visits from assistants on Google's list.
2.  **See which assistants send the visits.** In the same report, change the primary dimension to Session source / medium, or add Session source as a secondary dimension. Rows with the medium ai-assistant are the visits Google matched. Note the sources you expected but do not see.
3.  **Create a custom channel group for your own list.** Go to Admin, then Data display, then Channel groups, and click Create new channel group. Add a channel named AI assistants, add a condition on Source with "matches regex", and paste the expression from this guide. You need the Editor role or above.
4.  **Move the new channel above Referral and save.** Click Reorder, drag AI assistants above Referral, click Apply, then Save group. Google states that traffic is included in the first channel whose definition it matches, so the order decides the result.
5.  **Build an exploration for landing pages and key events.** Click Explore, start a free-form exploration, and add Landing page and Session source as dimensions with Sessions, Engaged sessions and Key events as metrics. Filter Session source with the same regex to see which pages assistants send people to and whether those visits convert.
6.  **Add the reports GA4 cannot replace.** Open Search Console for Google AI Overviews and AI Mode, and Bing Webmaster Tools for Copilot citations. Check your server or CDN logs for AI crawler user agents. Write down the date you set this up so later comparisons start from a known point.

### Step 1 and 2 in more detail: the default report

Google's help page on [traffic-source dimensions](https://support.google.com/analytics/answer/11080067?hl=en) explains why Traffic acquisition is the right report. Session-scoped dimensions "show you where both new and returning users are coming from when they start new sessions," and Analytics "surfaces information about session-scoped dimensions in the Traffic acquisition report." The User acquisition report uses first-user dimensions instead, which tell you where a person came from the first time only. For AI traffic, where the same person may arrive from an assistant on a later visit, the session view is the one to start with.

If you see no AI Assistant row, that does not prove you have no AI visits. It can also mean the visits came from assistants outside Google's list, or arrived without a referrer. Step three covers the first case. Nothing in GA4 covers the second.

### Step 3 and 4 in more detail: the custom channel group

Google's [custom channel groups page](https://support.google.com/analytics/answer/13051316?hl=en) gives the procedure and the limits:

-   **Where:** "In Admin, under Data display, click Channel groups."
-   **How it starts:** "Click Create new channel group to start with a copy of the default group." You are editing a copy, so the default group is untouched.
-   **Who can do it:** an Editor or above at the property level.
-   **Limits:** standard properties get 2 custom groups in addition to the default; Analytics 360 properties get 5. Each group can hold 50 channels.
-   **History:** "Custom channel groups can be applied to your reports retroactively." You do not lose past data by setting this up late.
-   **Where it shows:** as a primary or secondary dimension in the Acquisition reports, and in custom reports, explorations and audience conditions.
-   **Where it does not:** Google says custom channel groups cannot be used in the Key events paths report and "aren't available in the BigQuery Export Schema."

Google also notes that any custom group can be made the property's primary channel group, and that when you do, "data will populate using the new criteria from that point forward." We suggest leaving the primary group alone until you have looked at a month of data in the custom one.

## The regex and channel group settings

There are two expressions worth knowing: the one Google publishes, and a stricter one that matches named domains only.

### Google's own example

This is copied from the "Example: AI assistants" section of [Google Analytics Help](https://support.google.com/analytics/answer/13051316?hl=en). Google introduces it with "Examples of some popular assistants are: ChatGPT, Gemini, Microsoft Copilot, Claude, Perplexity."

Google Analytics Help example (Source matches regex)

```
^.*ai|.*\.openai.*|.*chatgpt.*|.*gemini.*|.*gpt.*|.*copilot.*|.*perplexity.*|.*google.*bard.*|.*bard.*google.*|.*bard.*|.*.*gemini.*google.*$
```

Quoted as published. It is broad on purpose: the opening "^.\*ai" matches any source that ends in "ai", and ".\*gpt.\*" matches any source containing "gpt".

### A stricter list you can edit

Broad patterns can pull in sources that are not assistants. This version names domains. The list is ours, it is not exhaustive, and we did not test whether each assistant passes a referrer on every click. Edit it to match the sources you see in step two.

Stricter regex (Source matches regex)

```
.*(chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|deepseek\.com|grok\.com|x\.ai|meta\.ai|you\.com|phind\.com|poe\.com|mistral\.ai).*
```

The leading and trailing ".\*" are there because, in Google's words, "By default, Google Analytics Regex is full regex and case sensitive. Partial regex requires the user to add metacharacters."

### The channel settings

Custom channel group settings

```
Admin > Data display > Channel groups > Create new channel group

Group name:      AI and search (custom)
New channel:     AI assistants
Condition:       Source   matches regex   [paste the expression above]
Order:           AI assistants ABOVE Referral
                 (optionally above Organic Search)
Then:            Save channel > Reorder > Apply > Save group

Read it in:      Reports > Acquisition > Traffic acquisition
                 Primary dimension: your new channel group
```

The ordering line is Google's instruction, not ours: "To ensure proper data processing, reorder your channel list so that 'AI Assistants' appears above 'Referrals'. You can also place 'AI Assistants' above other channels if needed, such as 'Organic Search'." Google adds one maintenance note: "You should update your regex expression if URLs or the list of assistants you wish to measure change."

### One channel per assistant

If you want ChatGPT, Perplexity and the rest as separate rows rather than one, add a channel for each inside the same group. You have 50 channels to work with. For example:

Optional: one channel per assistant

```
Channel: ChatGPT      Source matches regex   .*(chatgpt\.com|chat\.openai\.com|openai\.com).*
Channel: Perplexity   Source matches regex   .*perplexity\.ai.*
Channel: Gemini       Source matches regex   .*gemini\.google\.com.*
Channel: Copilot      Source matches regex   .*(copilot\.microsoft\.com|copilot\.com).*
Channel: Claude       Source matches regex   .*claude\.ai.*
Channel: Other AI     Source matches regex   .*(deepseek\.com|grok\.com|x\.ai|meta\.ai|you\.com|poe\.com|mistral\.ai).*
```

Place all of these above Referral. The domain list is ours and should be checked against the sources in your own property.

![Bing Webmaster Tools: AI Performance announcement](https://storage.googleapis.com/enrichlabs-public-assets/blog/ai-search-analytics-ga4/bing-2026-11-26.webp)

**Bing Webmaster Tools: AI Performance announcement**Microsoft describes citations, cited pages and grounding queries across Copilot and AI summaries in Bing.Screenshot captured November 26, 2026.

![OpenAI: Overview of OpenAI Crawlers](https://storage.googleapis.com/enrichlabs-public-assets/blog/ai-search-analytics-ga4/openai-2026-11-26.webp)

**OpenAI: Overview of OpenAI Crawlers**OpenAI lists OAI-SearchBot, GPTBot and ChatGPT-User with their user-agent strings.Screenshot captured November 26, 2026.

Google's help pages did not render in our screenshot tool, so the Analytics steps above are quoted as text and linked instead of pictured.

## An exploration for landing pages and leads

The Acquisition report tells you how many visits came from assistants. An exploration tells you which pages they landed on and what happened next. Google describes [Explorations](https://support.google.com/analytics/answer/7579450?hl=en) as "a collection of advanced techniques that go beyond standard reports," reached by clicking Explore in the left navigation. The free-form technique lays data out "in a familiar crosstab layout."

Free-form exploration: AI landing pages

```
Explore > Free form

Variables
  Dimensions:  Landing page + query string
               Session source
               Session source / medium
  Metrics:     Sessions
               Engaged sessions
               Engagement rate
               Key events

Tab settings
  Rows:        Landing page + query string
  Columns:     Session source   (optional)
  Values:      Sessions, Engaged sessions, Key events
  Filter:      Session source   matches regex   [the expression above]
```

Dimension and metric names are GA4's standard ones. If a name differs in your property, search the Variables panel for the closest match.

Three questions this view answers:

-   **Which pages do assistants send people to?** Sort by Sessions. In our experience these are often comparison, pricing and how-to pages, but your own data is the only evidence that counts.
-   **Do those visits engage?** Compare Engagement rate for the filtered rows with your site average.
-   **Do they convert?** Key events shows whether AI visits reach the actions you have marked as important, such as a signup or a contact form. If you have not set key events up yet, do that first; a traffic count with no outcome is hard to act on.

Use the landing pages as a reading list. A page that assistants already send people to is one they found useful enough to cite, and that tells you what to write more of. Our guides to [generative engine optimization](/blog/generative-engine-optimization-geo-complete-guide-2026) and [content gap analysis for AI search](/blog/ai-search-content-gap-analysis-tools) pick up from there.

## Google AI Overviews and AI Mode: use Search Console

Because GA4 files these clicks under Organic Search, the place to measure them is Search Console. Google's [AI features documentation](https://developers.google.com/search/docs/appearance/ai-features) says: "sites appearing in AI features (such as AI Overviews and AI Mode) are included in the overall search traffic in Search Console. In particular, they're reported on in the Performance report, within the 'Web' search type."

Search Console Help also names a dedicated report. The [Search generative AI control page](https://support.google.com/webmasters/answer/16908024?hl=en) says: "To measure how your content is performing in Search generative AI features, use the Generative AI performance report." The same page describes a setting, under Settings then Search generative AI, that controls whether your site's links and content can appear in those features at all. The default is to include them.

**What we did not verify:** we read the help page that names the Generative AI performance report, not the report's own documentation, so we do not describe its columns here. Open it in your own property to see what it shows for your site.

The practical routine: look at GA4 for assistants, Search Console for Google's AI features, and keep the two totals separate in your reporting. Adding them together double counts nothing, but describing both as "AI traffic" hides the fact that they are measured in different ways. If you would rather query Search Console from an assistant, see [Google Search Console MCP](/blog/google-search-console-mcp-2026); for Analytics, see [Google Analytics MCP](/blog/google-analytics-mcp).

## Copilot and Bing: the AI Performance report

Microsoft announced [AI Performance in Bing Webmaster Tools](https://blogs.bing.com/webmaster/February-2026/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview) as a public preview in February 2026. It "shows how publisher content appears across Microsoft Copilot, AI-generated summaries in Bing, and select partner integrations." This is citation data, which GA4 does not have at all. The post lists these measures:

-   **Total Citations:** "the total number of citations that are displayed as sources in AI-generated answers during the selected time frame."
-   **Average cited pages:** the average number of unique pages from your site shown as sources per day.
-   **Grounding queries:** "the key phrases the AI used when retrieving content that was referenced in AI-generated answers." Microsoft says this is "a sample of overall citation activity."
-   **Page-level citation activity:** which of your pages are cited.

Microsoft is careful about what the numbers mean: citations are counted "without indicating placement or presentation within a specific answer," and cited pages do "not indicate ranking, authority, or the role of any page." Treat it as a count of appearances, not a score.

### Measured it. Now grow it.

The pages assistants cite are the ones that answer a real question clearly. Helena finds those questions in your data, drafts the pages and publishes after you approve.

-   Reads your GA4 and Search Console data
-   Publishes to WordPress, Shopify or Webflow
-   From $39/mo after the trial

[Start free trial →](https://agent.enrichlabs.ai/marketing/register?ls=blog&cta=ga4-ai-mid-banner)3 days free, cancel anytime

## Human visits vs AI agents and crawlers

People ask how to tell a human click from an AI system visiting the page. The honest answer has two parts: GA4 mostly shows you humans, and your server logs show you the machines.

### What GA4 does with bots

Google's [known bot-traffic exclusion page](https://support.google.com/analytics/answer/9888366?hl=en) says: "traffic from known bots and spiders is automatically excluded." It adds: "At this time, you cannot disable known bot traffic exclusion or see how much known bot traffic was excluded." So you cannot use GA4 to count AI crawler visits, and you cannot ask it how many it removed.

### What the AI companies say their agents are called

Each row below is from the vendor's own documentation, opened on November 26, 2026. These names are what to search for in your server or CDN logs.

| Company | User agent | What the vendor says it does | Triggered by |
| --- | --- | --- | --- |
| ![](/assets/integrations/chatgpt.svg)[OpenAI](https://platform.openai.com/docs/bots) | OAI-SearchBot | "used to surface websites in search results in ChatGPT's search features" | Automatic |
| GPTBot | "used to crawl content that may be used in training our generative AI foundation models" | Automatic |
| ChatGPT-User | "When users ask ChatGPT or a CustomGPT a question, it may visit a web page with a ChatGPT-User agent" | A person's request |
| ![](/assets/integrations/claude.svg)[Anthropic](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler) | ClaudeBot | Collects web content "that could potentially contribute to their training" | Automatic |
| Claude-SearchBot | "navigates the web to improve search result quality for users" | Automatic |
| Claude-User | "When individuals ask questions to Claude, it may access websites using a Claude-User agent" | A person's request |
| ![](/assets/integrations/perplexity.svg)[Perplexity](https://docs.perplexity.ai/guides/bots) | PerplexityBot | "designed to surface and link websites in search results on Perplexity" | Automatic |
| Perplexity-User | "When users ask Perplexity a question, it might visit a web page to help provide an accurate answer" | A person's request |
| ![](/assets/integrations/gemini.svg)[Google](https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers) | Google-Extended | "doesn't have a separate HTTP request user agent string. Crawling is done with existing Google user agent strings" | Not separable in logs |

OpenAI and Perplexity both publish IP address lists for their agents, and Perplexity's page advises matching "each User-Agent against its own IP ranges," because a user-agent string alone can be copied by anyone.

### A simple way to think about three kinds of visit

| Kind | Example | Where you see it |
| --- | --- | --- |
| **Human click from an assistant** | Someone reads a ChatGPT answer and clicks your link | GA4, AI Assistant channel or your custom channel |
| **Fetch on a person's behalf** | ChatGPT-User, Claude-User or Perplexity-User reads your page to answer a question | Server logs, by user agent |
| **Automatic crawl** | OAI-SearchBot, PerplexityBot or Claude-SearchBot indexing for search | Server logs, by user agent |

The grouping is ours. One case does not fit neatly: an AI agent that drives a real browser can run your analytics tag and look like a person. No Google Analytics Help page we read describes a dimension that marks such visits, so we will not claim GA4 can separate them.

Log search: AI user agents (edit the path to your log file)

```
grep -E -i "OAI-SearchBot|GPTBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User" /var/log/nginx/access.log | awk '{print $1}' | sort | uniq -c | sort -rn | head -20
```

An example for a standard access log. The user-agent names are from the vendor pages above; the command is ours. Most CDNs offer the same filter in their dashboard.

## Which metrics to report

No vendor publishes an official list of GEO or AEO metrics, so this is our recommended set. Each one names the tool that actually holds the number.

| Metric | What it tells you | Where it comes from |
| --- | --- | --- |
| **AI assistant sessions** | How many visits assistants sent | GA4, AI Assistant or custom channel |
| **Share of sessions** | AI sessions divided by all sessions, to track the trend | GA4, calculated |
| **Engagement rate** | Whether those visitors stay and read | GA4 |
| **Key events from AI sessions** | Leads, signups or sales from assistant visits | GA4 exploration |
| **Top AI landing pages** | Which pages assistants cite with a link | GA4 exploration |
| **Google AI feature clicks and impressions** | Visibility in AI Overviews and AI Mode | Search Console |
| **Copilot citations and grounding queries** | How often and for what Microsoft's AI cites you | Bing Webmaster Tools |
| **AI crawler and user-fetch hits** | Whether AI systems can and do read your pages | Server or CDN logs |
| **Brand mentions in answers** | Whether assistants name you when there is no click | Manual prompt checks or a tracker |

For the last row, see [AI visibility tools](/blog/ai-visibility-tools) for the trackers, [AI search brand sentiment](/blog/ai-search-brand-sentiment-tracking) for how answers describe you, and [share of voice](/blog/social-media-share-of-voice) for comparing yourself with competitors. General reporting habits are in [social media analytics](/blog/social-media-analytics-complete-guide) and [SaaS metrics](/blog/saas-metrics-complete-guide-2026).

## What GA4 cannot see

Set expectations before you share a dashboard. These are limits of the tool, not of your setup.

1.  **AI answers with no click.** GA4 records visits to your site. If an assistant recommends you and the reader never clicks, nothing reaches GA4. For many questions that is the common case, so AI traffic in GA4 understates how often you are mentioned.
2.  **Visits with no referrer.** Google's rule for the AI Assistant channel depends on the referrer matching its list. A visit from an app or a copied link that arrives without one is recorded as Direct, which Google defines as arriving "via a saved link or by entering your URL." There is no way to recover the origin afterward.
3.  **Google AI Overviews and AI Mode as a separate channel.** They are part of Organic Search in GA4.
4.  **AI crawlers.** Known bots are excluded automatically, and Google says you cannot see how much was excluded.
5.  **The prompt.** GA4 does not know what the person asked the assistant. Bing's grounding queries are the closest thing any free report offers, and Microsoft calls them a sample.
6.  **Whether a visitor is a browser-driving agent.** No documented GA4 dimension marks it.

None of this makes the GA4 number useless. It is a floor: real visits from real assistants, with outcomes attached. Just label it as clicks from assistants, not as your AI visibility.

## Combining AI search data with GA4 and other tools

A common question is whether AI search analytics can be joined to the Google Analytics and listening tools a team already uses. The short answer is yes for clicks, and only side by side for mentions.

-   **Clicks:** they are already in GA4. The custom channel group makes them a dimension you can use in reports, explorations and audiences, next to every other channel.
-   **Google AI features:** Search Console data sits beside GA4. Link the two products if you have not, and report them in adjacent sections.
-   **Citations and mentions:** Bing's report and third-party trackers measure something GA4 does not hold. Put them on the same page as your GA4 numbers; do not try to force them into one total.
-   **Social listening:** what people say about you on social platforms shapes what assistants repeat. That side belongs to a listening tool; see [social listening](/blog/social-listening-complete-guide) and [AI search brand sentiment](/blog/ai-search-brand-sentiment-tracking).
-   **Export limit:** Google says custom channel groups are not in the BigQuery export, so a warehouse report needs the regex applied again there.

## Options for going further

You do not need to buy anything to do what this guide describes. If you want help acting on the data, these are the options, with our own product first because we make it. This table is not a ranking.

| Option | What it adds | Price | Limit to know |
| --- | --- | --- | --- |
| **[Helena](/helena-ai-marketer)** Our pick: we make Helena | Her ChatGPT listing says she can "Analyze Google Analytics 4 (GA4) traffic" and draft, update or publish posts to WordPress, Shopify, Webflow, Ghost, Blogger and HubSpot. She turns what the data shows into pages. | From $39/mo, 3-day trial | Neither listing describes a dedicated AI traffic report, and she runs no technical SEO crawls. Set the channel group up yourself. |
| ![](/assets/integrations/google-analytics.svg)**Google Analytics 4** | The AI Assistant channel, custom channel groups and explorations in this guide | Free | Clicks only; see the limits above |
| ![](/assets/integrations/google-search-console.png)**Search Console** | AI Overviews and AI Mode inside the Performance report, plus a Generative AI performance report | Free | Google's features only |
| ![](/assets/integrations/bing-webmaster.png)**Bing Webmaster Tools** | Citations, cited pages and grounding queries for Copilot and Bing | Free | Public preview; grounding queries are a sample |
| **AI visibility trackers** | Run prompts on a schedule and record whether assistants mention or cite you | Varies | Compared in [AI visibility tools](/blog/ai-visibility-tools); we do not rank them here |
| **A GEO agency** | Strategy, digital PR and reporting done for you | Quoted | See [GEO agencies: what they do and cost](/blog/generative-engine-optimization-agency) |

## Five mistakes to avoid

1.  **Leaving the AI channel below Referral.** Traffic is assigned to the first channel it matches. Below Referral, your new channel stays empty.
2.  **Using a regex that is too broad.** A pattern that matches any source containing "ai" or "gpt" will pull in unrelated sites. Check the Session source rows after a week and tighten the list.
3.  **Calling the GA4 number "AI visibility".** It is clicks from assistants. Mentions without clicks are a separate measurement.
4.  **Expecting AI Overviews in the AI channel.** Google files them under Organic Search. Use Search Console.
5.  **Blocking the crawlers you want traffic from.** OpenAI says sites opted out of OAI-SearchBot "will not be shown in ChatGPT search answers." Check robots.txt and your firewall before you conclude that assistants ignore you.

## How we wrote this guide

We opened each source below on November 26, 2026 and quoted it directly. We checked the top Google results for "how to track ai search traffic in ga4" on the same date and fetched the pages we could reach; of those, [Orbit Media's guide](https://www.orbitmedia.com/blog/track-ai-traffic-ga4/) loaded and the others did not. We did not run controlled tests, and we did not test whether each assistant passes a referrer. The stricter regex, the three-kinds-of-visit table, the metric list and the log command are ours and are labelled as such.

-   Google Analytics Help: [Default channel group](https://support.google.com/analytics/answer/9756891?hl=en), [Custom channel groups](https://support.google.com/analytics/answer/13051316?hl=en), [About regular expressions](https://support.google.com/analytics/answer/1034324?hl=en), [Get started with Explorations](https://support.google.com/analytics/answer/7579450?hl=en), [Scopes of traffic-source dimensions](https://support.google.com/analytics/answer/11080067?hl=en), [Known bot-traffic exclusion](https://support.google.com/analytics/answer/9888366?hl=en)
-   Google Search: [AI features and your website](https://developers.google.com/search/docs/appearance/ai-features), [Search generative AI control](https://support.google.com/webmasters/answer/16908024?hl=en), [Google common crawlers](https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers)
-   Microsoft: [Introducing AI Performance in Bing Webmaster Tools](https://blogs.bing.com/webmaster/February-2026/Introducing-AI-Performance-in-Bing-Webmaster-Tools-Public-Preview)
-   AI companies: [OpenAI crawlers](https://platform.openai.com/docs/bots), [Anthropic crawler article](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler), [Perplexity crawlers](https://docs.perplexity.ai/guides/bots)

One claim you will see elsewhere that we left out: that ChatGPT adds a tracking parameter to the links it sends. We could not find that statement on an OpenAI page we were able to load today, so the steps above rely on the referrer and Google's channel rule instead.

## Key terms

AI Assistant channel

The channel in GA4's default channel group for visits whose referrer matches Google's list of AI assistants. The medium is set to ai-assistant.

Custom channel group

A set of channel rules you define in GA4 Admin. Standard properties can have two in addition to the default.

Regex

Regular expression: a pattern that matches text. In GA4 it is full match and case sensitive by default.

Session source

The site or app a session came from, such as chatgpt.com. Session-scoped dimensions cover both new and returning users.

Referrer

The address of the page a visitor came from, passed by the browser. Channel rules for AI assistants depend on it.

Key event

An action you mark as important in GA4, such as a signup or purchase.

Grounding query

Microsoft's term for the phrases its AI used when retrieving content it then cited.

User agent

The name a browser or bot sends with each request. AI crawlers publish theirs so site owners can recognize them in logs.

GEO

Generative engine optimization: making content easy for AI answer engines to find, trust and cite. See the [GEO guide](/blog/generative-engine-optimization-geo-complete-guide-2026).

## Related guides

[**Generative engine optimization**How AI engines pick sources and what to do about it_→_](/blog/generative-engine-optimization-geo-complete-guide-2026) [**AI visibility tools**Trackers for mentions and citations with no click_→_](/blog/ai-visibility-tools) [**Content gap analysis for AI search**Find the questions assistants answer with competitors_→_](/blog/ai-search-content-gap-analysis-tools) [**AI search brand sentiment**How assistants describe you, and how to change it_→_](/blog/ai-search-brand-sentiment-tracking) [**Google Analytics MCP**Query GA4 from Claude_→_](/blog/google-analytics-mcp) [**Google Search Console MCP**Query Search Console from an assistant_→_](/blog/google-search-console-mcp-2026) [**Answer engine optimization**AEO practices and metrics_→_](/blog/answer-engine-optimization) [**GEO vs SEO**What is different and what stays the same_→_](/blog/geo-vs-seo) [**GEO news 2026**A dated log of platform changes_→_](/blog/generative-engine-optimization-news-2026) [**AI search for ecommerce**Shopify and DTC stores_→_](/blog/ai-search-optimization-for-ecommerce) [**llms.txt**What the file is and whether it works_→_](/blog/llms-txt) [**AI SEO**Using AI for search work_→_](/blog/ai-seo)

More from the same shelf: [best AI for SEO and GEO](/blog/best-ai-for-seo-geo-2026), [share of voice](/blog/social-media-share-of-voice), [the marketing funnel](/blog/marketing-funnel-complete-guide), [social media KPIs](/blog/social-media-kpis-complete-guide), [social media ROI](/blog/social-media-roi-complete-guide), [product analytics](/blog/product-analytics-complete-guide-2026), [customer data platforms](/blog/customer-data-platform-complete-guide-2026), [Google Ads conversion tracking](/blog/google-ads-conversion-tracking-setup-2026), [Meta ads attribution](/blog/meta-ads-attribution-settings-best-practices), [ChatGPT for SEO](/blog/chatgpt-for-seo), [Perplexity vs ChatGPT](/blog/perplexity-vs-chatgpt), [ChatGPT vs Gemini](/blog/chatgpt-vs-gemini), [Claude vs ChatGPT](/blog/claude-vs-chatgpt), [ChatGPT ads](/blog/chatgpt-ads-guide-2026), [what an MCP server is](/blog/what-is-an-mcp-server), [best MCP servers for marketing](/blog/best-mcp-servers), [Shopify SEO](/blog/shopify-seo-complete-guide-2026), [local SEO](/blog/local-seo-complete-guide-2026), [B2B lead generation](/blog/b2b-lead-generation-complete-guide-2026), [content strategy](/blog/content-marketing-strategy-complete-guide-2026), [AI marketing](/blog/ai-marketing-complete-guide), the [free AI content gap analyzer](/free-tools/ai-content-gap-analyzer) and the [Muse Shopping Visibility Index](/research/muse-visibility-index). To browse agencies that do this work, see the [GEO agency directory](/agencies/specialty/geo).

## Where Helena fits

[Helena](/helena-ai-marketer) is Enrich Labs' AI marketing agent. She does not replace the GA4 setup in this guide, and you do not need her for it. Her public ChatGPT listing says she can analyze [Google Analytics 4](/integrations/google-analytics) traffic, research keywords, and draft, update or publish posts to WordPress, Shopify, Webflow, Ghost, Blogger and HubSpot, with publishing requiring explicit approval. She also connects to [Search Console](/integrations/google-search-console). Enrich Labs states that her AI visibility feature tracks prompts; the listing describes reviewing AI brand mentions and modeled demand estimates, and says those estimates are not observed ChatGPT query counts.

The [pricing page](/pricing) lists optimized blog posts and "AI answer-engine (GEO) optimization" on the Starter plan at $39 a month, with a 3-day free trial. Limits to know: there is no free plan, neither listing describes a dedicated AI traffic dashboard, and she does not run technical SEO crawls. See the [SEO and GEO agent page](/ai-seo-geo-agent) for detail, the [AI info page](/ai-info) for the plain facts, or reach her from Claude, ChatGPT or Grok through the [Helena MCP connection](/mcp).

**You know which pages assistants send people to. Publish more like them.**Helena reads your GA4 and Search Console data, drafts the next page and waits for your approval. From $39/mo after a 3-day free trial.

[Try Helena free for 3 days →](https://agent.enrichlabs.ai/marketing/register?ls=blog&cta=ga4-ai-final)

## Frequently asked questions

How do I track AI traffic in GA4?

Open Reports, then Acquisition, then Traffic acquisition and look for the AI Assistant channel, which GA4 now includes in its default channel group. For your own list of assistants, go to Admin, Data display, Channel groups, create a custom channel group, add a channel with a "Source matches regex" condition and place it above Referral.

Does GA4 have a built-in AI traffic channel?

Yes. Google Analytics Help describes an AI Assistant channel for users who "arrive at your site from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok." The medium is set to ai-assistant when the referrer matches Google's list of AI assistants.

Does the AI Assistant channel include Google AI Overviews?

No. Google says the channel "excludes Google's AI Overviews and AI Mode." GA4 counts those clicks under Organic Search. Use the Search Console Performance report and the Generative AI performance report to measure them.

What regex should I use for AI traffic in GA4?

Google publishes an example in its custom channel groups help page that matches ChatGPT, Gemini, Copilot, Claude and Perplexity. A stricter option names domains, for example chatgpt.com, perplexity.ai, claude.ai, gemini.google.com and copilot.microsoft.com, wrapped in ".\*" on both sides because GA4 regex is full match by default.

Why does the AI channel have to be above Referral?

Because GA4 assigns traffic to the first channel whose rule it matches. Google's instruction is to "reorder your channel list so that AI Assistants appears above Referrals." Below Referral, assistant visits are claimed by the Referral rule first.

Are custom channel groups retroactive?

Yes. Google says "Custom channel groups can be applied to your reports retroactively." Changing your primary channel group is different: data populates with the new criteria from that point forward.

How many custom channel groups can I create?

Standard GA4 properties can have 2 custom channel groups in addition to the default, and Analytics 360 properties can have 5. Each group can contain up to 50 channels.

How do I see ChatGPT traffic in Google Analytics?

In the Traffic acquisition report, set the primary dimension to Session source / medium and look for chatgpt.com rows, or filter Session source with a regex. A channel of its own in a custom channel group gives ChatGPT a separate row.

Can GA4 show which prompt led to a visit?

No. GA4 records the source of the visit, not what the person asked the assistant. Bing Webmaster Tools reports grounding queries for Copilot and Bing, which Microsoft describes as a sample.

Can GA4 track AI crawlers such as GPTBot?

No. Google says traffic from known bots and spiders is automatically excluded and that you cannot see how much was excluded. Look for user agents such as OAI-SearchBot, GPTBot, ClaudeBot and PerplexityBot in your server or CDN logs.

How do I tell human visits from AI agent visits?

Human clicks from assistants appear in GA4. Fetches made for a person's question use agents such as ChatGPT-User, Claude-User and Perplexity-User, and automatic crawls use agents such as OAI-SearchBot and PerplexityBot; both show in server logs. No documented GA4 dimension marks an agent that drives a real browser.

Why is my AI traffic so low in GA4?

GA4 counts only clicks that arrive with a referrer it can match. Answers that mention you with no click, and visits that arrive without a referrer, do not appear. Also check that your robots.txt and firewall allow the AI search crawlers.

What metrics should I report for AI search?

We suggest AI assistant sessions, their share of all sessions, engagement rate, key events, top AI landing pages, Google AI feature clicks from Search Console, Copilot citations from Bing Webmaster Tools, AI crawler hits from logs and brand mentions from prompt checks. No vendor publishes an official list.

Can I combine AI search analytics with Google Analytics?

Clicks from assistants are already in GA4 and can be used as a channel in reports, explorations and audiences. Citation and mention data from Bing or third-party trackers measures something GA4 does not hold, so report it beside your GA4 numbers, not inside one total.

Does Helena track AI traffic in GA4?

Helena's public ChatGPT listing says she can analyze Google Analytics 4 traffic and publish content. Neither of her listings describes a dedicated AI traffic report, so set up the channel group yourself with the steps in this guide. Enrich Labs makes Helena.
