TutorialPractitioner5 min readPart of GEO Practitioner

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.

Dipuck Jones
Written by Founder of MentionX · 13+ years in B2B SaaS growth and SEO
ReviewedUpdated
Short answer

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.

01Default channel or custom group?

Default AI Assistant channelCustom "AI assistants" channel
SetupNoneAbout 15 minutes
RulesGoogle's, not editableYours, editable
Source listGoogle's list, not fully publishedThe sources you choose
Applies to past dataYes, as part of the default groupYes, custom groups apply retroactively
Best forA consistent headline numberCatching assistants Google's list misses

For the full walkthrough of both, see the GA4 for Marketers lessons The default channel group, explained and AI referral traffic: the AI Assistant channel and a custom regex.

02Find 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.

03Create 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.

04Order 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 valueShould match?Tight regex
chatgpt.comYesYes
perplexity.aiYesYes
gemini.google.comYesYes
mail.google.comNoNo
news.ycombinator.comNoNo

05Read 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.

06What this won't capture

GapWhyWhat to do
AI Overviews and AI Mode clicksGoogle counts them as Organic SearchUse Search Console alongside
People who read an AI answer, then search your brandArrives as Organic SearchTrack branded search trends
People who type your URLArrives as DirectAsk "How did you hear about us?" (self-reported attribution)
Apps that strip referrersNo source passedAccept the gap; trend over time
New assistantsNot in your regexReview 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.

07Before 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

08Where to go next

09Common 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.

Questions people ask

4 answers

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

  1. Google Analytics Help, Default channel groupsupport.google.com
  2. Google Analytics Help, Custom channel groupssupport.google.com
  3. All accessed 4 Nov 2026.
Written and reviewed by Dipuck JonesHow we research and testReport an error

Keep learning

All Measurement →