How to Track Traffic From ChatGPT and Other AI Tools in Google Analytics 4
Quick answer
In Google Analytics 4, AI assistant traffic appears under Referral with sources such as chatgpt.com, perplexity.ai and gemini.google.com. To see it separately, create a custom channel group with an "AI assistants" channel that matches those sources by regex, and place it above Referral. Traffic from Google AI Overviews cannot be separated, because it arrives as ordinary Google organic search.
When ChatGPT, Perplexity or Gemini mentions your business with a link, some people click it. That traffic is growing, but in Google Analytics 4 it is usually hidden inside "Referral" next to every other site that links to you. This guide shows how to see it separately in about ten minutes.
Where AI traffic shows up by default
GA4 identifies where a visit came from by its source, usually the domain of the referring site. Visits from AI assistants appear with sources such as:
chatgpt.com(ChatGPT also often addsutm_source=chatgpt.comto links it shows)perplexity.aigemini.google.comcopilot.microsoft.comclaude.ai
Without changes, they are grouped into the Referral channel alongside directories, partner sites and everything else.
The quick check (two minutes)
- In GA4, open Reports → Acquisition → Traffic acquisition.
- Change the table's main dimension to Session source.
- In the search box above the table, type
chatgpt, thenperplexity, and so on.
That tells you whether AI tools send any visits at all, and which pages they land on if you add Landing page as a secondary dimension.
The proper setup: an "AI assistants" channel
To see AI traffic as its own line in every report, create a custom channel group:
- Go to Admin → Data display → Channel groups.
- Copy the default channel group so you can edit it, and give it a name such as "Channels with AI".
- Add a new channel called AI assistants.
- Set the condition: Source → matches regex →
.*(chatgpt|openai|perplexity|gemini\.google|copilot\.microsoft|claude\.ai|deepseek|meta\.ai).* - Move the new channel above "Referral" in the list. GA4 applies channels in order, so if Referral comes first it will still catch these visits.
- Save, then pick your new channel group in the Traffic acquisition report.
The change also applies to past data, so you can see the trend straight away.
What you cannot measure
- Google AI Overviews and AI Mode traffic arrives as ordinary Google organic search. Google Search Console includes it in its totals but does not separate it.
- Mentions without clicks. An assistant may recommend your business by name and the user calls you or searches your name later. That shows up as direct or branded search traffic, if at all.
- Apps that hide the referrer. Some mobile apps send visits with no source, so they land in "Direct".
Because of this, AI traffic in analytics understates AI influence. A rise in branded searches in Search Console can be a sign that AI tools are mentioning you.
Check your AI visibility by hand too
Once a month, ask ChatGPT, Perplexity, Gemini and Google the five to ten questions your customers ask most, such as "best car garage in Bettembourg" or "how much does a boiler service cost in Leeds". Note whether you are mentioned, what is said, and which sources are cited. A simple spreadsheet with dates is enough to see progress.
What to do with the data
- Landing pages that get AI traffic show what assistants find useful. Keep them accurate and up to date.
- Engagement and conversions from AI visits are often higher than average, because the visitor already got a recommendation. Track enquiries from this channel.
- No AI traffic at all? Check you are not blocking AI crawlers, then work through how to get mentioned in AI answers.
Frequently asked questions
Can I see traffic from Google AI Overviews?
Not separately. It is counted as Google organic search in both Google Analytics and Search Console.
Does a custom channel group change past data?
Custom channel groups in GA4 apply to historical data, so you can see past AI traffic once the channel is set up.
Why is some AI traffic counted as Direct?
Some apps and browsers do not pass the referring site, so those visits have no source and land in Direct.