AI Search Optimization (AEO)SEOFree ToolsWalmart Tool
Paid AdsGoogle AdsMeta AdsWhite Label PPC + AI SEO
Case StudiesBlogAbout All Services Marketplace Tools Get AI Audit Contact
Full AI Visibility Audit: $99 Start with the Walmart tool
Client loginMarketplace tools login
AI & Automation

GA4 Custom Channel Groups: Track AI Assistant Referrals

GA4 Custom Channel Groups: Track AI Assistant Referrals

To track ChatGPT and other AI assistant traffic in GA4, create a custom channel group with an "AI assistants" channel that matches AI referral sources, place it above Referral in the channel order, and then report on it in the Traffic acquisition report. Google documents this exact setup in its custom channel groups help page, and custom channel groups apply to your reports retroactively, so you see past AI traffic too. One thing GA4 cannot split out for you: visits from Google's own AI Overviews and AI Mode, which Google counts as regular search traffic. This guide shows both pieces.

Why AI Traffic Is Hidden by Default

GA4's default channel group sorts visits into channels such as Organic Search, Paid Search and Referral. AI assistants are not one of the default channels, so a visit from chatgpt.com or perplexity.ai usually lands in Referral, mixed with every blog and directory that links to you. A dedicated channel pulls it out so you can see sessions, engagement and revenue from AI assistants on their own.

ChatGPT makes this easier. OpenAI's publisher FAQ said ChatGPT automatically includes utm_source=chatgpt.com in referral URLs (archived copy, October 2026), so ChatGPT visits carry a clear source value.

How to Set Up an AI Assistants Channel in GA4: 6 Steps

1. Open channel groups

In GA4, go to Admin, then Data display, then Channel groups, and create a new channel group. Google's per property limits allow 2 custom channel groups on a standard property, in addition to the predefined one, with up to 50 channels in each group. Copying the default group first keeps all your existing channels intact.

2. Add a channel named "AI assistants"

Add a new channel and set the condition to Source, "matches regex."

3. Use a precise regex

Google's example regex covers ChatGPT, Gemini, Microsoft Copilot, Claude and Perplexity, but its first branch, "^.*ai", matches any source containing the letters "ai," which would also catch sources such as "mail" or "gmail." For a store, a tighter pattern avoids that:

chatgpt\.com|openai|perplexity|gemini\.google|copilot\.microsoft|claude\.ai

Check the Source report first and add any AI assistant domains that appear in your own data. Google's note on this example applies to any regex: update it when the assistants you want to measure, or their URLs, change.

4. Move the channel above Referral

Google says to reorder the list so "AI assistants" appears above "Referrals," because GA4 assigns each session to the first channel whose rules match. Without this step, AI visits keep landing in Referral.

5. Save and report

Open Reports, then Acquisition, then Traffic acquisition, and choose your new channel group as the primary or secondary dimension. Google notes that custom channel groups can be applied retroactively, so historical sessions are reclassified too.

6. Add revenue and landing pages

Add Landing page as a secondary dimension and look at key events and purchase revenue for the AI assistants row. That tells you which pages AI tools send people to, and whether those visitors buy.

What About Google AI Overviews and AI Mode?

Clicks from Google's AI features do not arrive with a separate source. Google says in its guidance on AI features and your website that sites appearing in AI features such as AI Overviews and AI Mode are included in the overall search traffic in Search Console, in the Performance report. In GA4 these visits appear as google / organic, together with regular search. Track them through Search Console's Performance report and the queries and pages that gain or lose clicks, not through a GA4 channel.

How to Read the Numbers

Metric What it tells you
Sessions from AI assistants Whether AI tools are sending visitors at all, and the trend
Top landing pages Which pages AI tools cite and link to, often guides and comparison pages
Engagement rate Whether visitors find what the AI promised them
Purchase revenue and key events Whether AI traffic converts compared with other channels

Expect small numbers at first for most stores. The trend and the landing pages are more useful than the absolute count. If a buying guide keeps showing up as an AI landing page, that is the page to keep updated.

Quick Checklist

  • Custom channel group created, copied from the default
  • AI assistants channel with a precise source regex
  • Channel ordered above Referral
  • Traffic acquisition report saved with the new group
  • Landing pages and revenue reviewed monthly
  • AI Overviews and AI Mode tracked in Search Console

Where an Agency Fits

Measuring AI traffic is the first step; growing it is the work. Our guide on getting your store recommended by ChatGPT covers the inputs, and our AI search optimization service handles the setup and content for stores that want help. For GA4 basics, see our GA4 ecommerce tracking guide.

Want to see where AI assistants already mention you? The Full AI Visibility Audit ($99) includes a site scan of AI crawler access, and the Deep Growth Audit ($249) adds search, traffic and product feed checks with a 90 day plan.

Frequently Asked Questions

How do I see ChatGPT traffic in Google Analytics 4?

Create a custom channel group with an AI assistants channel that matches sources such as chatgpt.com, and place it above Referral. OpenAI adds utm_source=chatgpt.com to ChatGPT referral links, which makes the source easy to match.

Can GA4 custom channel groups show past data?

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

How many custom channel groups can a GA4 property have?

A standard property can have 2 custom channel groups in addition to the predefined one, and up to 50 channels in each group. Analytics 360 properties can have 5.

Why does my AI traffic still show as Referral?

The AI assistants channel must sit above Referral in the channel order, because GA4 assigns each session to the first channel whose rules match.

Can GA4 separate traffic from Google AI Overviews?

No. Google counts clicks from AI Overviews and AI Mode as part of overall search traffic in Search Console, and in GA4 they appear as google / organic.

Which AI assistants should the regex include?

At minimum ChatGPT, Perplexity, Gemini, Microsoft Copilot and Claude, then any other AI source that appears in your own Source report.

Free download

AI search and ads readiness checklist

25 checks for Amazon, Walmart and Shopify sellers: tracking, product feeds, Google, Bing and Meta ads, and getting cited by ChatGPT, Perplexity and Google AI Overviews. Two pages, about 20 minutes.

  • Break-even ROAS table by margin
  • The AI search (AEO) checks most stores miss
  • A simple score that tells you what to fix first

    No spam. We use your email to send the checklist and follow up about it.

    Filed underAI & Automation
    SS
    Shlomie SpielmanShlomie leads Seller Splash, a New York team running Google, Bing and Meta ads, SEO and AI search for ecommerce brands.
    Next step

    Want this applied to your account?

    Tell us about your brand and we'll book a free strategy call. A strategist reviews your goals, channels and budget before the call, and you leave with clear next steps.

    Free strategy call · Month-to-month after a 3-month ramp-up · We reply within 24 hours