How to Track AI Search Traffic in GA4 (ChatGPT, Gemini and Perplexity)

track AI search traffic in GA4

If you want to track AI search traffic in GA4, the first thing to understand is that a large chunk of it is probably already arriving on your site, hidden inside your “Direct” numbers where you’d never think to look. As tools like ChatGPT, Gemini and Perplexity increasingly recommend businesses and link to sources, the visitors they send are some of the most valuable you’ll get, and yet most GA4 setups quietly mislabel them. This guide shows you how to see them properly.

This matters because AI referral visitors behave differently from ordinary search traffic. They tend to arrive better informed and further along in their decision, and reports suggest they convert several times higher than standard organic visitors, with ChatGPT alone driving the overwhelming majority of AI referral traffic. If you can’t see this traffic, you can’t credit it, optimise for it, or prove its value.

Why AI traffic hides in your GA4 reports

Here’s the core problem. GA4 sorts traffic into channels based on where a visit came from, and it works that out from the “referrer” the browser passes along. The trouble is that a large share of AI referral sessions, by some measures anywhere from a third to two-thirds, arrive with no referrer information at all. When GA4 gets no referrer, it has nowhere to file the visit, so it dumps it into “Direct”, the same bucket as people typing your URL by hand.

The upshot is that your genuine AI-driven traffic is split in two: the sessions that do pass a referrer, and a large silent portion masquerading as Direct. Without a fix, you’ll consistently underestimate how much business AI search is sending you.

Step one: check the native AI Assistant channel

As of 2026, GA4 has started automatically grouping traffic from recognised AI assistants, including ChatGPT, Gemini and Claude, into a native “AI Assistant” channel. That’s a useful starting point, so check whether it’s appearing in your Traffic acquisition reports.

But treat it as a floor, not the full picture. It only captures the sessions that arrive with an intact referrer, which means everything hiding in Direct is still missing. To get closer to the truth, you’ll want your own custom setup.

Step two: build a custom AI channel group

A custom channel group lets you define exactly what counts as AI traffic and pull it out of the Referral and Direct buckets. In GA4, go to Admin, then Data display, then Channel groups, and create a new channel group.

Add a channel for AI traffic and define it by matching the source against the AI platforms’ domains. A practical pattern to match on includes the likes of chatgpt.com, chat.openai.com, perplexity.ai, claude.ai, gemini.google.com, copilot.microsoft.com and other emerging tools. Two details make or break this: first, drag your new AI channel above “Referral” in the list, because GA4 assigns each visit to the first matching channel and you don’t want AI visits swept into generic referrals; second, remember custom channel groups only apply from the date you create them and won’t backfill history, so set this up sooner rather than later.

Step three: see which pages AI is citing

This is the part that turns reporting into strategy. In your AI traffic report, add “Landing page” as a secondary dimension. Now you can see exactly which pages on your site AI tools are sending people to, which is effectively a list of the pages AI engines are citing and recommending.

That list is gold. It tells you which of your content is already trusted by AI, so you can create more like it, strengthen those pages, and make sure they carry clear calls to action for a high-intent audience that’s ready to act.

Step four: keep it maintained

The AI landscape changes fast. New tools appear, and existing ones change how they pass referrer data, so your matching rules will drift out of date. Review and update your AI channel group at least quarterly, adding new platforms as they gain traction. A tracking setup that’s accurate today will be leaking data within a couple of quarters if you leave it untouched.

Frequently asked questions about tracking AI traffic in GA4

Why does my AI traffic show up as Direct in GA4?

Because many AI tools don’t pass referrer information when they send a visitor. With no referrer, GA4 can’t identify the source and defaults to Direct. A custom channel group and awareness of this gap are the ways around it.

Does GA4 track ChatGPT and Gemini automatically?

Partly. GA4 now has a native AI Assistant channel that captures recognised assistants when referrer data is present, but it misses the significant share of sessions that arrive without a referrer, so a custom setup gives a fuller picture.

Will setting up a custom channel group fix my historical data?

No. Custom channel groups only apply from the date you create them and don’t backfill. That’s the main reason to set yours up now rather than later.

How valuable is AI referral traffic really?

Very. These visitors tend to arrive well-informed and closer to a decision, and they’ve been shown to convert at several times the rate of standard organic traffic, so even modest volumes can punch above their weight.

Want reporting that shows the full picture?

You can’t improve what you can’t see, and right now most businesses can’t see how much AI search is already sending them. At SPCE Digital, we set up analytics that track your organic and AI-driven traffic properly, then use it to focus your strategy where the returns are. Get in touch for a free analytics and SEO review and we’ll show you what your data is hiding.

Leave a comment