All articles

SEO & AI SEARCH

How to track AI referral traffic in your analytics

If people find you through ChatGPT, Perplexity or Claude, do you know about it? Until recently, most of that traffic hid inside other channels in Google Analytics. Here is how to see it clearly, and where the numbers still fall short.

Ana Maria Tudorache3 min read

Good news: GA4 now has an AI channel

In May 2026, Google added a new AI Assistant channel to Google Analytics 4. When a visitor arrives from a recognized AI assistant, GA4 now labels the medium "ai-assistant" and groups the visit under an AI Assistant channel. Google names ChatGPT, Gemini and Claude as examples. You don't need to set anything up.

To see it, go to Reports → Acquisition → Traffic acquisition and look for AI Assistant in the channel list.

The gap: not every AI tool is covered

Google hasn't published the full list of recognized assistants. Several analytics writers, including TechWyse, note this uncertainty, and some report that Perplexity visits still appear as ordinary referrals. So it's worth adding your own check.

Quick check with a filter

  • In Traffic acquisition, change the main dimension to Session source.
  • Add a filter: Session source matches regex.
  • Paste this pattern:
chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com

This shows visits from the main AI tools, whichever channel GA4 put them in.

Make it permanent with a custom channel group

If you check this often, create a custom channel group:

  • Go to Admin → Data display → Channel groups.
  • Create a new group, based on the default one.
  • Add a channel called "AI Search", with the condition Session source matches the regex above.
  • Move it above Referral, so AI visits are sorted there first.

Google notes custom channel groups apply to your reports retroactively, so you can see past data too.

What analytics can't show you

Be honest with yourself about the limits.

  • Google's own AI features count as search. Google says clicks from AI Overviews and AI Mode are counted in your overall search traffic in Search Console, as its AI features documentation explains. In GA4 they generally arrive as ordinary Google organic visits. Use Search Console's AI insights for those.
  • Some AI visits look direct. If a referrer isn't passed, the visit can appear as direct traffic.
  • Most AI influence leaves no click at all. Someone may read about you in an answer, then search your name later. That visit shows up as branded search or direct.

So treat AI referral numbers as a minimum, not the full picture.

What to watch each month

  • How many visits come from AI tools, and the trend over time
  • Which landing pages they arrive on
  • Whether they contact you, book or sign up

The landing pages are often the most useful clue. They show which of your content AI tools trust enough to link to.

Related: Search Console's Generative AI report: what to look at

Sources