How do I set up an AI traffic channel in GA4?
The short answer
In GA4, create a custom channel group, add a channel for AI tools with a rule that matches AI sources such as chatgpt, perplexity, gemini, copilot and claude, and move it above the Referral channel so those visits are not counted as ordinary referrals. Then select that channel group in your acquisition reports.
Why a separate channel helps
By default, GA4 sorts most AI visits into the Referral channel, mixed in with links from every other website. That makes them easy to miss. A dedicated AI channel puts visits from ChatGPT, Perplexity, Gemini, Copilot and Claude together, so you can see the trend, the landing pages and the conversions at a glance.
The steps
GA4's interface changes from time to time, so treat these as a guide and check Google's current help pages if the menus look different. At the time of writing:
- Go to Admin, then Data display, then Channel groups
- Create a new channel group, starting from a copy of the default one so your other channels stay the same
- Add a new channel and name it something clear, such as AI assistants
- Set the condition to session source matches regex, with a pattern like `chatgpt|perplexity|gemini|copilot|claude`
- Save the channel, then move it above Referral in the list, because GA4 assigns each visit to the first channel whose rule it matches
- Save the channel group
Then open the traffic acquisition report and switch the primary dimension to your new channel group.
Keep the rule up to date
New AI tools appear and source names change. Check your referral sources every few months for anything AI-related that your rule misses, and add it. Be careful that the pattern does not catch unrelated sites with a similar name; reviewing the sources the rule matches will show any mistakes.
Some links from ChatGPT carry a utm_source tag at the time of writing. If your rule matches on session source, tagged and untagged ChatGPT visits will both be caught.
What the channel cannot show
The channel only counts visits that arrive with an AI source attached. Visits from AI apps that lose their referrer are recorded as direct, explained in why some AI traffic shows up as direct. Clicks from Google's AI Overviews and AI Mode count as Google organic search and cannot be separated in GA4.
So the channel gives you a floor, not a full count. It is most useful for trends, for seeing which pages AI tools send people to and, once conversions are set up, for checking whether those visitors become leads or sales. How to track leads and sales that came from ChatGPT covers that next step, and whether you can see ChatGPT traffic in Google Analytics explains where to look before you build the channel.