AskAeo logo

How to Track AI Traffic in GA4 A Step-by-Step Guide

How to track AI traffic in GA4 guide

Short answer: To track AI traffic in GA4, create a custom channel group with an “AI Assistants” channel that matches AI sources such as chatgpt.com, perplexity.ai, gemini.google.com and copilot.microsoft.com. Place it above Referral, then report sessions, landing pages and key events for that channel. Some AI visits still arrive as Direct.

You hear that buyers now ask ChatGPT and Perplexity for recommendations. Then you open Google Analytics 4 (GA4) and see nothing labeled “AI”. That doesn’t mean AI tools send you no visitors. By default, GA4 mixes those visits into Referral, Direct or Organic Search, where they are easy to miss.

This guide shows how to track AI traffic in GA4 step by step. You will set up a dedicated channel, check which pages AI visitors land on, connect those visits to leads and understand the blind spots no setup can fully fix. No coding is needed, and the setup takes about 15 minutes.

Why doesn’t GA4 show AI traffic by default?

Because GA4’s default channel group sorts visits by older rules. A click from a link in a ChatGPT answer usually lands in Referral, next to links from blogs and directories. A visitor who copies your URL from an AI app may show as Direct. Clicks from Google AI Overviews and AI Mode come through Google, so they normally look like regular organic search visits.

The result is that AI visits are spread across three or four channels and never add up to one number you can watch. A custom channel group pulls the clearly labeled ones into a single line in your reports.

Which AI sources should you track in GA4?

Start with the AI tools that link to websites and pass a recognizable source. These are the most common ones to include:

AI tool Source you may see in GA4 Notes
ChatGPT chatgpt.com (older visits: chat.openai.com) Many links also carry utm_source=chatgpt.com
Perplexity perplexity.ai Shows numbered citations, so clicks are common
Gemini gemini.google.com Separate from Google Search traffic
Microsoft Copilot copilot.microsoft.com Answers often draw on Bing search results
Claude claude.ai Smaller volumes for most sites
Others meta.ai, chat.mistral.ai, grok.com, deepseek.com Worth including so the list stays future-proof

Before you build anything, look at your own data. In GA4, go to Reports, then Acquisition, then Traffic acquisition. Change the table dimension to “Session source” and search for “chat”, “perplexity” or “gemini”. This tells you which sources already appear on your site.

How do you set up an AI channel in GA4 step by step?

Create a custom channel group. Google’s help page on custom channel groups explains that you need the Editor role or above, and that standard properties can have two custom groups as well as the default one. Follow these steps:

  1. In GA4, open Admin, then under Data display click Channel groups.
  2. Find the default channel group and choose Copy to create new. Copying keeps all the normal channels, so your other reports stay the same.
  3. Name the new group, for example “Channels with AI”.
  4. Click Add new channel and name it “AI Assistants”.
  5. Set the condition to Source, matches regex, and paste the expression below.
  6. Click Save channel, then Reorder. Drag “AI Assistants” above “Referral”.
  7. Click Apply, then Save group.

Here is a regular expression (a short text pattern that matches many sources at once) you can start with:

.*(chatgpt|openai|perplexity|gemini.google|copilot.microsoft|claude.ai|meta.ai|mistral|grok|deepseek).*

Use bare names like these, not full web addresses that start with “https://”. The Source dimension stores hostnames such as chatgpt.com, so a pattern that starts with “https” may never match. Also avoid very short patterns such as “ai” on their own, because they can match unrelated sources like email providers.

The order step matters. Google says GA4 puts each visit into the first channel whose rules it matches. If Referral sits above your AI channel, Referral catches those visits first.

How to track AI traffic in GA4: custom channel group setup steps
The seven steps to add an AI Assistants channel in GA4.

Will the AI channel include traffic from before you set it up?

Yes. Google states that custom channel groups can be applied to your reports retroactively. Once the group is saved, you can open the Traffic acquisition report, switch the primary dimension to your new channel group and compare past months. This makes it easy to see whether AI visits are growing.

How do you see which pages get AI traffic?

Use a landing page report filtered to your AI channel. This shows which pages AI tools send people to, which often differs from your top Google pages.

  1. Go to Reports, then Engagement, then Landing page.
  2. Add a filter or comparison for your custom channel group equal to “AI Assistants”.
  3. Sort by sessions and note the top 10 pages.

Patterns are usually clear. Guides, comparison pages, pricing pages and FAQ-rich service pages tend to appear, because they answer the specific questions people ask AI tools. If a key service page never appears, that’s a sign it may not answer buyer questions clearly enough to be cited.

How do you connect AI traffic to leads and sales?

Mark your lead actions as key events, then read them by channel. GA4 calls important actions “key events”. Common examples are a contact form submission, a booked call, a phone click or a purchase.

  • In Admin, under Data display, open Events and mark your lead event as a key event.
  • In the Traffic acquisition report, choose your custom channel group and add the key event column.
  • Compare the key event rate for AI Assistants with Organic Search and Referral.

Many site owners find AI visitors arrive later in their research, because the AI tool has already explained their options. Check this in your own data rather than assuming it.

What AI traffic can’t GA4 see?

GA4 only sees visits that pass a source. Some AI traffic will always be hidden or mixed in, and it’s better to know where the gaps are than to treat one number as the full story.

Blind spot What happens What to do
AI apps that strip the referrer Visits show as Direct Watch for Direct spikes on deep pages, not only the home page
Google AI Overviews and AI Mode Clicks look like normal Google organic visits Use Search Console reports for Google’s AI features
Answers with no click The user reads your name but never visits Track brand searches and ask leads how they found you
Visits later on another device The return visit has a different source Add a “How did you hear about us?” field to forms

For Google’s own AI features, Google’s guide to AI features and your website points site owners to Search Console’s Generative AI performance and Insights reports to see how content performs in AI Overviews and AI Mode. Use those reports alongside GA4, since GA4 alone can’t separate those clicks.

AI traffic blind spots in GA4: Direct, AI Overviews and zero-click answers
Where AI visits hide in GA4, and what to use instead.

What should you check if AI traffic stays at zero?

Look at access before content. If AI crawlers can’t reach your pages, AI tools are unlikely to cite or link to them.

  1. Check robots.txt and your firewall for blocks on crawlers such as OAI-SearchBot, PerplexityBot and Bingbot. Our free AI Crawler Checker tests this in seconds.
  2. Check your regex against the real source names in your Traffic acquisition report.
  3. Check the channel order, so AI Assistants sits above Referral.
  4. Ask the questions yourself. Search your top buyer questions in ChatGPT and Perplexity and see whether your pages are cited at all.

If you aren’t cited, the fix is content and authority, not analytics. Our guide on how to get cited by Perplexity walks through the steps that make pages easier to quote.

How often should you review AI traffic?

Monthly is enough for most small businesses. Look at three numbers each month: AI Assistants sessions, key events from AI Assistants and the top AI landing pages. Add a short note on what changed on the site that month, such as new pages or updated FAQs. Over three months or more, that log shows which changes moved the numbers.

GA4 tells you about visits. It doesn’t tell you how often AI tools mention you without a click. For that, track a fixed set of prompts over time. Our AI search tracking service combines GA4 data, Search Console and monthly prompt checks in one report.

How to track AI traffic in GA4: frequently asked questions

Does GA4 have a built-in AI traffic channel?

Check your default channel group first, since Google updates it from time to time. If you don’t see an AI channel there, a custom channel group is the reliable way to report AI visits today.

Is AI traffic counted as Referral in GA4?

Usually, yes. Clicks from ChatGPT, Perplexity and similar tools mostly land in Referral unless you move them into a custom AI channel. Some arrive as Direct when no referrer is passed.

Can I track Google AI Overviews traffic in GA4?

Not separately. Those clicks come through Google and look like organic search. Use Search Console’s reports for Google’s AI features instead.

Will the AI channel change my historical data?

No. Custom channel groups are applied to reports without changing your raw data, and you can view past dates with the new grouping.

How much AI traffic is normal?

It varies widely by industry and site. Treat your own trend over several months as the benchmark rather than comparing with other sites.

Get a free audit of your AI visibility

Want to know how often AI tools send visitors your way, and how often they mention you without a click? Request a free audit and we’ll review your GA4 setup, your AI crawler access and the buyer questions where you appear today.

Find Out What AI Says About Your Brand

Get a free audit showing which buyer questions you appear in, who gets named instead, and the first fixes to make.