# Create a dedicated channel for AI traffic

- Check 41.16 · Tracking and analytics setup · Critical
- Source: https://checklist-seo-geo.com/en/tracking-analytics-setup/create-dedicated-channel-ai-traffic
- Group visits from ChatGPT, Perplexity, Gemini, Copilot and Claude into a dedicated channel in GA4, Matomo or Looker Studio, placed above Referral.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/tracking-analytics-setup/create-dedicated-channel-ai-traffic.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

A dedicated AI traffic channel groups, on a single row of the reports, all the visits sent by AI assistants: ChatGPT, Perplexity, Gemini, Copilot, Claude, Le Chat, DeepSeek, Grok. GA4 and Matomo now offer one by default; this task consists of checking that it really covers your sources and, if needed, creating your own version with a list you control. Once it is done, AI traffic can be read at a glance, with its conversions, without being diluted among referral sites.

## Why it matters

For a long time, analytics tools filed these visits under “Referral”, alongside blogs and directories. They stayed buried there: impossible to follow their trend without filtering by hand every month.

Google Analytics 4 (GA4) has added an “AI Assistant” default channel, which groups visits from sources such as ChatGPT, Gemini, Deepseek, Copilot or Grok, based on a list maintained by Google. Matomo did the same from version 5.5 with the AI Assistants channel type. These default channels have two limits:

- **You do not control the list.** An assistant that matters in your market may be missing, or be added later than the others.
- **They do not always apply to the past.** Matomo states that its channel only concerns data collected after the update. A custom channel group in GA4, on the other hand, applies to existing data.

Creating your own channel solves both points and gives a stable, documented definition that you can reproduce in Looker Studio, BigQuery or a spreadsheet.

## What it improves

- **Readability**: an “AI Assistants” row in the acquisition reports, with sessions, engagement, key events and revenue.
- **History**: a GA4 custom group recalculates past data, which gives you a trend immediately.
- **Comparison**: AI traffic can be compared directly with organic search and the other channels.
- **Alerts and dashboards**: a stable channel serves as the basis for drop alerts and periodic reports.
- **Rankings and citations**: no effect. It is a measurement, not a lever. No practice guarantees a citation in an AI answer.

## How to check

1. In GA4, `Reports > Acquisition > Traffic acquisition`, dimension “Session default channel group”. The “AI Assistant” row should appear if the site receives this traffic.
2. Switch the dimension to “Session source” and search for `gpt`, `perplexity`, `gemini`, `copilot`, `claude`, `mistral`. Any AI assistant source classified somewhere other than AI Assistant (often “Referral” or “Unassigned”) points to a gap.
3. If you have a custom group, select it in the dimension picker of the same report: the “AI Assistants” channel should group all these sources.
4. In Matomo, `Acquisition > All Channels`: an AI Assistants row should appear for recent data.

## How to implement

### Before you start

First draw up the list of referring domains actually present in your data: see [identify ChatGPT, Perplexity, Gemini, Copilot and Claude referrers](https://checklist-seo-geo.com/en/tracking-analytics-setup/identify-chatgpt-perplexity-gemini-copilot-claude-referrers). The regular expression below is the starting version:

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

The `.*` at the start and end make the expression work whether the tool requires a full or a partial match. Dots are escaped (`\.`) so that they only match a dot. Avoid broad patterns such as `.*gpt.*` or `.*ai.*`: they catch unrelated sites whose names contain those letters.

### With Google Analytics 4

You need the Editor role on the property. A standard property accepts two custom channel groups in addition to the default group; a 360 property accepts five.

1. `Admin > Data display > Channel groups`.
2. Open the default group, three-dot menu, “Copy to create”: starting from a copy keeps all the standard channels. Name the group, for example “SEO-GEO channels”.
3. Click “Add new channel” and name it “AI Assistants”.
4. “Add condition group”: dimension “Source”, operator “matches regex”, value: the expression above.
5. In the same group, add a condition joined with OR: dimension “Medium”, “exactly matches” `ai-assistant`. This is the medium GA4 assigns to visits it recognizes as coming from an assistant, and the one you can use in your own UTM parameters.
6. “Save channel”.
7. Click “Reorder” and drag “AI Assistants” above “Referral”, then “Apply”. Traffic is assigned to the first channel whose conditions it meets: placed below, your channel would receive nothing.
8. “Save group”.

The group then appears as a dimension in the acquisition reports (dimension picker above the table), in explorations and in audience conditions. It applies to existing data: the trend over past months is visible immediately.

To see the breakdown by assistant, add “Session source” as a secondary dimension.

> **Warning:** do not add `google` to the expression. Clicks from AI Overviews and AI Mode arrive with the source `google` and the medium `organic`, exactly like a click on a classic result: catching them would send all Google search into your AI channel.

If the interface rejects an expression that is too long, split it into two “Source” conditions joined with OR.

### With Matomo

#### Matomo 5.5 and later

The AI Assistants channel type exists natively. It includes ChatGPT, Copilot, Gemini, Claude, Le Chat, Meta AI, iAsk and Perplexity among others, and is shown in `Acquisition > Overview`, `Acquisition > All Channels` and in a dedicated `Acquisition > AI Assistants` report. It only applies to visits recorded after the update: earlier visits remain under websites or direct entry.

To filter any report, create a segment on channel type equal to `ai` (`referrerType==ai`) and save it for all users of the site.

To cover an assistant missing from Matomo's list, add a second segment on the referrer URL (see below) and compare the two.

#### Matomo 5.4 and earlier

Create an “AI Assistants” segment on the referrer URL, with “contains” conditions joined with OR. As a segment definition:

```txt
referrerUrl=@chatgpt.com,referrerUrl=@perplexity.ai,referrerUrl=@gemini.google.com,referrerUrl=@copilot.microsoft.com,referrerUrl=@claude.ai,referrerUrl=@chat.mistral.ai
```

In the segment selector, choose “Add new segment”, then the referrer URL dimension with the “Contains” operator, one row per domain joined with OR. Make the segment visible to all users of the site. A segment only applies to past periods if the raw visit data is still retained.

Update Matomo as soon as possible to benefit from the native channel.

### With Looker Studio

If your dashboards read GA4 through the Looker Studio connector, create a calculated field in the data source (`Resource > Manage added data sources > Edit > Add a field`):

```txt
CASE
  WHEN REGEXP_MATCH(Session source, r".*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|chat\.mistral\.ai|chat\.deepseek\.com|grok\.com|meta\.ai).*") THEN "AI Assistants"
  WHEN Session medium = "ai-assistant" THEN "AI Assistants"
  ELSE Session default channel group
END
```

`REGEXP_MATCH` requires a match on the entire string, hence the `.*`. Depending on the interface language, field names may be displayed translated (“Source de la session” in French): use the name offered by the formula editor. The `r` prefix declares a raw string: without it, Looker Studio may require you to double every backslash.

### With BigQuery

If the property exports to BigQuery, apply the same rule in your queries to get a definition identical to the one in the reports:

```sql
SELECT
  CASE
    WHEN REGEXP_CONTAINS(collected_traffic_source.manual_source, r'chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai')
      THEN 'AI Assistants'
    WHEN REGEXP_CONTAINS(NET.HOST((SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'page_referrer')), r'chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai')
      THEN 'AI Assistants'
    ELSE 'Other'
  END AS canal,
  COUNT(*) AS sessions
FROM `mon-projet.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20261001' AND '20261031'
  AND event_name = 'session_start'
GROUP BY canal
ORDER BY sessions DESC;
```

Replace the project name, the dataset ID and the dates. The query counts session starts, broken down by UTM source or, failing that, by referrer. Event parameters vary with the implementation: check that `page_referrer` is present in your export.

### Document the definition

Record in your measurement documentation, in one line: the creation date, the regular expression in force, its position in the group and the name of the owner. Review the list every quarter: assistants change domains (ChatGPT moved from `chat.openai.com` to `chatgpt.com`, Gemini from `bard.google.com` to `gemini.google.com`) and new ones appear. See [document the limits of attribution](https://checklist-seo-geo.com/en/tracking-analytics-setup/document-limits-attribution).

## Common mistakes

- **Placing the channel below “Referral”**: the Referral rule catches the visit before yours does.
- **Using patterns that are too broad** (`.*ai.*`, `.*gpt.*`) that catch unrelated sites.
- **Including `google` to catch AI Overviews**: all Google search then switches to the AI channel.
- **Forgetting UTM parameters**: a visit tagged `utm_source=chatgpt.com` without `utm_medium` can fall into “Unassigned” if your rule only looks at the referrer. The condition on the source covers this case.
- **Creating a different channel in each tool**: GA4, Looker Studio and BigQuery must share the same list.
- **Never reviewing the list**: an assistant that changes domain silently disappears from the channel.

## Frequently asked questions

### Does GA4 have a channel for AI traffic?

Yes. The GA4 default channel group includes an AI Assistant channel, which groups visits from sources such as ChatGPT, Gemini, Deepseek, Copilot or Grok, based on a list maintained by Google. It excludes AI Overviews and AI Mode, which are counted as organic search. A custom channel group is still useful to control the list of assistants and apply the definition to past data.

### Why does my custom AI channel stay empty in GA4?

Most often, the channel is placed below Referral in the group's order. GA4 assigns each visit to the first channel whose conditions it meets: the Referral rule catches the visit before yours does. Open the group, click Reorder, place AI Assistants above Referral, then save. Also check that the regular expression matches the sources actually present.

### Does Matomo detect traffic from ChatGPT?

Yes, from Matomo 5.5. This version introduced an AI Assistants channel type that includes ChatGPT, Copilot, Gemini, Claude, Le Chat and Perplexity among others, with a dedicated report in the Acquisition menu. It only applies to visits recorded after the update. On an earlier version, create a segment on a referrer URL that contains chatgpt.com and the other domains.

### Can traffic from Google's AI Overviews be separated into a channel?

No, not at present. Clicks from Google's AI Overviews and AI Mode arrive with the source google and the medium organic, like a click on a classic result, and GA4 excludes them from its AI Assistant channel. No channel rule can tell them apart. Search Console also counts them in web search, with no dedicated filter.

## Resources

- [Google Analytics Help: Default channel group](https://support.google.com/analytics/answer/9756891?hl=en)
- [Google Analytics Help: Custom channel groups](https://support.google.com/analytics/answer/13051316?hl=en)
- [Matomo: How to track and analyze traffic from AI assistants](https://matomo.org/faq/reports/how-to-track-and-analyse-traffic-from-ai-assistants-like-chatgpt-in-matomo-reports/)
- [Matomo: 5.5.0 release notes](https://matomo.org/changelog/matomo-5-5-0/)
- [Looker Studio: REGEXP_MATCH function](https://docs.cloud.google.com/looker/docs/studio/regexpmatch)
- [Google Analytics: BigQuery export schema](https://support.google.com/analytics/answer/7029846?hl=en)

Next steps: [identify organic and AI landing pages](https://checklist-seo-geo.com/en/tracking-analytics-setup/identify-organic-ai-landing-pages) and [measure identifiable AI visits, conversions and revenue](https://checklist-seo-geo.com/en/geo-kpis/measure-identifiable-ai-visits-conversions-revenue).
