# GA4 Custom Channel Group for AI Referrals

> GA4's default AI Assistant channel vs a custom channel group: when you need both, a tighter regex and the right channel order.

Source: https://mentionx.ai/learn/measurement/ga4-custom-channel-group-ai-referrals  
Author: Dipuck Jones, founder of MentionX  
Updated: 31 October 2026  
Level: Practitioner

**GA4's default channel group now has a built in AI Assistant channel, so you no longer need a custom group just to see AI referrals. Build one anyway if you want control: add an "AI assistants" channel with your own regex and place it above Referral.** The default group can't be edited and Google doesn't publish its full list of assistants, so a custom group is how you catch sources it misses.

> **Key takeaways**
>
> - The default AI Assistant channel matches medium `ai-assistant`, which GA4 sets when the referrer is on Google's list of assistants.
> - Google names ChatGPT, Gemini, Deepseek, Copilot and Grok as examples. AI Overviews and AI Mode stay in Organic Search.
> - Custom channel groups live in Admin → Data display → Channel groups. Standard properties get 2, each with up to 50 channels.
> - Channel order matters: put your AI channel above Referral.
> - Tighten Google's example regex; it matches unrelated sources.

*Checked and updated 4 November 2026 (CET) to reflect GA4's AI Assistant default channel, checked against Google Analytics Help. Menus change, so confirm in your own property.*

## Default channel or custom group?

| | Default AI Assistant channel | Custom "AI assistants" channel |
|---|---|---|
| Setup | None | About 15 minutes |
| Rules | Google's, not editable | Yours, editable |
| Source list | Google's list, not fully published | The sources you choose |
| Applies to past data | Yes, as part of the default group | Yes, custom groups apply retroactively |
| Best for | A consistent headline number | Catching assistants Google's list misses |

For the full walkthrough of both, see the GA4 for Marketers lessons [The default channel group, explained](https://mentionx.ai/learn/ga4/ga4-default-channel-group-explained) and [AI referral traffic: the AI Assistant channel and a custom regex](https://mentionx.ai/learn/ga4/ga4-ai-assistant-channel-regex).

## Find the sources you have

In **Reports → Acquisition → Traffic acquisition**, first read the **AI Assistant** row. Then switch the primary dimension to **Session source / medium** and search for `chatgpt`, `perplexity`, `gemini`, `copilot`, `claude`, `deepseek` and `grok`. Any assistant like source still sitting in Referral is one the default channel didn't catch, and the reason to build a custom group.

## Create the channel group

1. Go to **Admin → Data display → Channel groups** and click **Create new channel group**.
2. Name it, for example "Channels with AI". GA4 starts with a copy of the default channels; keep them.
3. Click **Add new channel**, name it "AI assistants", and add the condition **Source** → **matches regex**.
4. Paste your regex and save the channel.

Google's example regex is:

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

The first part, `^.*ai`, matches any source containing "ai", such as `mail.google.com`. A tighter version based on explicit domains:

```
^(chatgpt\.com|chat\.openai\.com|perplexity\.ai|www\.perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|chat\.deepseek\.com|grok\.com)$
```

*Illustrative.* Replace these with the exact source values in your property. GA4 regex uses RE2 syntax.

## Order and test the channel

GA4 checks channels top to bottom and assigns a session to the first match. Google's instructions say to move "AI assistants" above Referral, and optionally above other channels such as Organic Search. Drag it up and save.

Test the regex against real values first:

| Source value | Should match? | Tight regex |
|---|---|---|
| chatgpt.com | Yes | Yes |
| perplexity.ai | Yes | Yes |
| gemini.google.com | Yes | Yes |
| mail.google.com | No | No |
| news.ycombinator.com | No | No |

## Read the report

Open **Traffic acquisition**, change the primary dimension to your custom group, and add **Session source** as a secondary dimension. Useful columns: sessions, engaged sessions, engagement rate, key events and key event rate. Report the default AI Assistant number as the headline and your custom channel as the fuller view, and say which one any chart uses.

> **Pro move:** build a free form exploration with **Landing page + query string** as rows and your custom group as a filter. Google notes custom channel groups also work in explorations and audience conditions, so you can see which pages AI users reach and build an audience of them.

## What this won't capture

| Gap | Why | What to do |
|---|---|---|
| AI Overviews and AI Mode clicks | Google counts them as Organic Search | Use Search Console alongside |
| People who read an AI answer, then search your brand | Arrives as Organic Search | Track branded search trends |
| People who type your URL | Arrives as Direct | Ask "How did you hear about us?" ([self reported attribution](https://mentionx.ai/learn/measurement/self-reported-attribution-adding-chatgpt-forms)) |
| Apps that strip referrers | No source passed | Accept the gap; trend over time |
| New assistants | Not in your regex | Review sources monthly |

*Our view:* keep the custom group secondary rather than making it your primary channel group, unless other teams agree. It changes a definition they rely on.

## Before you rely on it

- AI source values collected from Traffic acquisition
- Custom group created with default channels preserved
- AI channel added with a tested regex, above Referral
- Regex reviewed monthly, for example with the [GA4 monthly AI search routine](https://mentionx.ai/learn/ga4/ga4-ai-search-monthly-measurement-routine)

## Where to go next

- [GA4 for Marketers track](https://mentionx.ai/learn/ga4/ga4-for-marketers)
- [AI visibility KPIs for marketing teams](https://mentionx.ai/learn/measurement/ai-visibility-kpis-marketing-teams)
- [Self reported attribution: adding "ChatGPT" to your forms](https://mentionx.ai/learn/measurement/self-reported-attribution-adding-chatgpt-forms)

## Common questions

**Does GA4 have an AI channel by default?** Yes. Google's default channel group now includes an AI Assistant channel for sources such as ChatGPT, Gemini, Deepseek, Copilot and Grok. AI Overviews and AI Mode count as Organic Search.

**Why build a custom channel group as well?** The default group can't be edited, and Google doesn't publish its full assistant list. A custom group lets you add sources you see in your own data.

**Do custom channel groups apply to past data?** Yes. Google says custom channel groups can be applied to reports retroactively.

**Will this capture all AI influenced visits?** No. It only captures visits with a referrer or source matching the rules. Many AI influenced visits arrive as direct or branded search.

## Sources

- 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)
- All accessed 4 Nov 2026.

## Frequently asked questions

### Does GA4 have an AI channel by default?

Yes. Google's default channel group now includes an AI Assistant channel for sources such as ChatGPT, Gemini, Deepseek, Copilot and Grok. AI Overviews and AI Mode count as Organic Search.

### Why build a custom channel group as well?

The default group can't be edited, and Google doesn't publish its full assistant list. A custom group lets you add sources you see in your own data.

### Do custom channel groups apply to past data?

Yes. Google says custom channel groups can be applied to reports retroactively.

### Will this capture all AI influenced visits?

No. It only captures visits with a referrer or source matching the rules. Many AI influenced visits arrive as direct or branded search.

---

Written and reviewed by Dipuck Jones for MentionX Academy. The HTML version of this page: https://mentionx.ai/learn/measurement/ga4-custom-channel-group-ai-referrals
