GuidesAI search

Tutorial: measuring traffic from ChatGPT and other AIs in GA4

By the Banzai Labs teamUpdated on 2 min read

chatgpt.comperplexity.aigemini.google.comcopilot.microsoft.comGA4Channel groupSearchDirectAISocialA separate “AI” channel, to track how it grows
Visits from AI assistants grouped into their own GA4 channel.

1. The regular expression

.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai).*

2. Create the channel

  1. 1AdminData display, then Channel groups.
  2. 2New groupA copy of the default group.
  3. 3“AI” channelCondition: the source matches the regular expression.
  4. 4Above ReferralOrder matters: the first matching channel wins.

3. The report

In Reports, Acquisition, Traffic acquisition, pick your channel group as the dimension. Add the landing page as a secondary dimension to see the recommended pages.

4. Reading the numbers

Metric What it tells you
AI channel sessions The trend, to follow every month
Landing pages The pages AIs cite
Engagement rate A visitor from an AI often arrives well informed
Conversions The real value of this channel

To get cited more: generative engine optimization. Full tracking: e-commerce tracking.

Frequently asked questions

Are these numbers complete?
No. Some visits from an AI arrive with no referrer (mobile app, copy and paste) and land in “Direct”. The measured number is a minimum.
Does the change apply to past data?
Custom channel groups also apply to past data in reports. Check on your own property.
How do I know which pages are cited?
Cross the AI channel with the landing page: those are the pages the assistants recommend.

Read next

All guides