How to Track AI Traffic in GA4 and Search Console: A Practical 2026 Setup Guide

How to Track AI Traffic in GA4 and Search Console: A Practical 2026 Setup Guide

TL;DR

You can track AI traffic in GA4 today, but only the part that arrives with a referrer. Check GA4’s new AI Assistant channel, add a custom channel group with the regex below to catch Perplexity, Claude, and history before May 2026, and treat Direct visits to deep pages as a proxy for the rest. Search Console now shows AI Overviews and AI Mode impressions, not clicks. Report citations, branded search, and AI-referred conversions together, because no single tool sees the whole picture.

Marketing manager reviewing a Google Analytics traffic report on a laptop in a small office
How to Track AI Traffic in GA4 and Search Console: A Practical 2026 Setup Guide 4

A prospect asks ChatGPT for a commercial electrician in the Inland Empire, gets three names, and clicks yours. Two days later they call. In your analytics, that lead might show up as a ChatGPT referral, as Direct, or not at all if they typed your name into Google first. Most owners we talk to know AI search is sending them something. Few can say how much.

Below is the setup we use to get from guessing to a number we can defend: GA4, the Search Console reports that exist as of September 2026, server logs, and a one-page KPI table for a partner or board.

Why Is AI Search Traffic So Hard to Measure?

AI traffic splits into four buckets, and each tool sees a different slice. Some visits arrive with a clean referrer like chatgpt.com. Some arrive with no referrer and get filed as Direct. Clicks from Google’s own AI Overviews and AI Mode come through as ordinary Google organic traffic. And a large share of AI “visibility” produces no visit at all, because the person got the answer and left.

That last bucket is bigger than most people assume. In a Pew Research Center study of 68,879 real Google searches by 900 US adults in March 2025, users clicked a traditional result on 8% of visits when an AI summary appeared, against 15% when it did not. They clicked a link inside the summary on just 1% of visits. About 18% of searches in the sample produced an AI summary. We covered what that shift means for content strategy in our AI Overviews and AEO breakdown.

The visits you can measure are also small. An Ahrefs study of 3,000 websites published in February 2025 found AI chatbots sent an average of 0.17% of visitors, with ChatGPT responsible for about half of that. Ahrefs noted the true figure is probably higher because of missing referrer data. Get the tracking in place now, while the numbers are small, so you have a baseline when someone asks where the leads came from.

Diagram showing four paths AI search visits take into analytics: AI assistant referral, Direct, Google organic, and zero-click
Where AI search activity lands: only the referral path is labeled cleanly. The rest needs proxies.

Step 1: Check GA4’s Built-In AI Assistant Channel

On May 13, 2026, Google added a dedicated AI Assistant channel to GA4’s Default Channel Group. No configuration is needed. When GA4 recognizes an AI assistant referrer, it sets the medium to ai-assistant, sets the campaign to (ai-assistant), and groups the session under AI Assistant in your acquisition reports.

Open Reports > Acquisition > Traffic acquisition, keep the primary dimension on Session default channel group, and look for the new row. Add Session source as a secondary dimension to see which assistants are sending visits.

Three limits to know before you trust it:

  • It is not retroactive. Sessions before the change stay in Referral or wherever they landed. Your year-over-year comparison starts in May 2026.
  • The source list is partial. Google’s channel definitions describe the channel as covering sources “like ChatGPT, Gemini, Deepseek, Copilot, or Grok.” Perplexity and Claude are not named, so check where their sessions land in your own property.
  • It excludes Google’s AI features. The same documentation says AI Overviews and AI Mode are excluded. Those clicks stay in Organic Search.

Step 2: Build a Custom Channel Group for AI Referrers

A custom channel group fixes two of those gaps. Google’s custom channel group documentation says custom groups apply to your reports retroactively, so you get history from before May 2026, and you control the source list. Standard GA4 properties get two custom groups, with up to 50 channels in each.

  1. Go to Admin > Data display > Channel groups and click Create new channel group. GA4 starts you with a copy of the default group.
  2. Name it something plain, like “Default + AI.”
  3. Click Add new channel, name it “AI assistants,” and set the condition to Source > matches regex.
  4. Paste the regex below and save the channel.
  5. Use Reorder to drag “AI assistants” above Referral and above Organic Search. GA4 assigns each session to the first channel whose rules it matches, so a channel sitting below Referral will catch nothing.
  6. Click Save group.
.*(chatgpt\.com|openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|deepseek\.com|grok\.com|meta\.ai|you\.com|mistral\.ai).*

GA4 treats regex as a full match by default, so keep the leading and trailing .*, or “www.perplexity.ai” will fail to match. The pattern spells out gemini.google.com so ordinary google.com organic traffic stays in Organic Search. Google’s help page offers a looser example pattern, but terms as broad as “gpt” and “ai” can sweep in unrelated sources. An explicit domain list is easier to audit, and you can add to it as new assistants appear.

Then switch the Traffic acquisition report to your new group and compare its AI assistants row with the built-in AI Assistant row for the same dates. When ours runs larger, the gap tends to be Perplexity or Claude.

Add an Exploration for Landing Pages and Conversions

Channel totals tell you volume. An exploration tells you which pages AI tools send people to, which often differs from your top organic pages. In Explore, start a Free form exploration. Add Session source and Landing page + query string as dimensions, and Sessions, Engaged sessions, and Key events as metrics. Filter Session source with the same regex. Expect a handful of pages to carry most of the AI traffic, often detailed service pages and how-to posts that answer one question well.

Step 3: Understand Why AI Traffic Shows Up as Direct

GA4 picks a channel from two signals: the referrer header the browser sends, and any UTM tags on the URL. When both are missing, the session goes to Direct. AI tools create that situation often.

  • App clicks. Links tapped inside mobile AI apps can open without passing a referrer, depending on the app and the in-app browser.
  • Copy and paste. Someone copies your URL out of a chat window and pastes it into a browser tab. No referrer exists.
  • Browser and privacy settings. Some browsers and extensions trim or drop referrers.
  • The delayed visit. A buyer reads your name in an AI answer, then types your domain or searches your brand days later. GA4 credits Direct or branded organic, and nothing links the visit back to the AI answer.

GA4 can’t recover these visits, but you can watch a proxy: Direct sessions landing on deep pages such as individual blog posts and specific service pages. People rarely type those URLs from memory. If deep-page Direct traffic climbs while email and offline campaigns stay flat, AI answers are a likely cause. Call it a directional signal in your reports, because that is all it is.

Step 4: Know What Search Console Shows (and What It Doesn’t)

Search Console answers a narrower question than GA4: how often Google shows your pages, AI features included. It gives you two views.

The Standard Performance Report

Google’s AI features documentation states that sites appearing in AI Overviews and AI Mode are included in overall search traffic in Search Console, reported in the Performance report under the Web search type. There is no filter to separate them. A click from an AI Overview and a click from the tenth blue link look identical in that report.

The Generative AI Performance Report

Google introduced a separate Search generative AI performance report in June 2026, first for a select group of UK site owners. Per the Search Console help page, it rolled out to all websites worldwide on August 31, 2026, though a property needs enough AI feature impressions before the report appears.

What Search Console’s Generative AI Performance Report Includes (September 2026)
Included Not included
Impressions in AI Overviews and AI Mode Clicks or click-through rate
Breakdowns by page, country, device, and date The queries that triggered the AI answer
Preliminary data for the most recent period Rows beyond the 1,000-row table limit

Use it to see which pages Google pulls into AI answers, then check in GA4 whether those pages convert. Trend total AI impressions month over month; it is the cleanest Google AI visibility number you have. Skip the temptation to divide Performance report clicks by these impressions to get an “AI Overviews CTR.” The two figures cover different scopes, and the result means nothing.

Step 5: Use UTM Tags Where You Control the Link

UTM tags travel in the URL, so they survive when the referrer gets dropped. You can’t tag the links an AI tool writes, but some tools tag their own, and you control more links than you might think.

OpenAI’s publisher FAQ says ChatGPT adds utm_source=chatgpt.com to referral URLs from its search results. GA4 can attribute those visits even without a referrer, which helps explain why ChatGPT is usually the best-measured assistant in a property.

Tag the links you place where AI tools read and cite: your Google Business Profile website link, directory listings, partner pages, press releases. Something like ?utm_source=gbp&utm_medium=organic&utm_campaign=profile keeps those visits identifiable however the visitor found the listing. Keep UTM tags off internal links on your own site, though. They overwrite the visitor’s original source in GA4 and damage the data you are trying to clean up.

Step 6: Check Server Logs for AI Crawlers

Analytics measures visitors. Server logs measure whether AI systems are reading your site in the first place. If an AI search crawler never fetches a page, that page cannot show up in its answers, so log checks are the earliest signal you have.

AI User Agents Worth Watching in Your Logs
Company Search / index bot User-triggered fetcher Training crawler
OpenAI OAI-SearchBot ChatGPT-User GPTBot
Anthropic Claude-SearchBot Claude-User ClaudeBot
Perplexity PerplexityBot Perplexity-User None listed

On a Linux server with a standard Apache or Nginx access log, this one-liner counts hits by bot:

grep -oE "GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User" access.log | sort | uniq -c | sort -rn

Each column means something different. Search bots show you are in the index. User-triggered fetchers like ChatGPT-User and Perplexity-User are the ones to watch: a hit usually means a person asked an AI tool a question and the tool went to your page for the answer. Training crawlers tell you little about this month’s visibility. No shell access on your WordPress host? The host’s raw log download or your CDN’s log view shows the same user agents.

User agent strings are easy to fake, so if a count looks odd, check the source IPs against the ranges vendors publish (Perplexity lists its ranges in the documentation linked above). And don’t look for Google-Extended. Google’s crawler documentation says it has no separate user agent string; it is a robots.txt control token, and Googlebot does the actual crawling.

How Do You Report AI Visibility to Leadership?

Give them a short set of numbers and mark which are exact and which are proxies. Leadership wants to know whether AI tools mention the business, whether that produces visits, and whether the visits produce revenue.

Start with citations, since they happen before any click. Pick 20 to 30 prompts a real buyer would type (“best industrial HVAC contractor near Riverside,” “how much does a commercial roof inspection cost”), run them monthly in ChatGPT, Perplexity, Gemini, and Google AI Mode, and record whether your business or pages appear. AI answers vary from run to run, so keep the prompt list fixed and read the trend across months, not any single result. Our GEO playbook on getting cited by ChatGPT, Perplexity, and Gemini covers how to raise that number once you are tracking it.

A One-Page AI Search KPI Table for Leadership
KPI Where it comes from Exact or proxy What it tells leadership
AI citation rate Fixed monthly prompt panel (manual or a tracking tool) Sample How often AI answers mention us for buyer questions
Google AI impressions Search Console generative AI report Exact (impressions only) How often Google shows our pages in AI Overviews and AI Mode
AI referral sessions GA4 AI Assistant channel plus custom AI group Exact, undercounted Visits we can attribute to AI tools
AI-referred key events GA4 key events filtered to the AI channel Exact, undercounted Form fills, calls, and purchases from AI visits
Branded search impressions Search Console Performance report, query filter for brand terms Proxy Whether more people search our name after seeing it in AI answers
Direct sessions to deep pages GA4 exploration Proxy Hidden AI traffic arriving without a referrer

For branded search lift, filter Search Console queries with a custom regex for your business name and common misspellings, then trend impressions over six to twelve months. If citations rise and branded impressions follow, you have a reasonable story even when referral counts stay small. It won’t prove causation, and the report should say so.

Put the conversion numbers in context. AI referrals are a small channel for most small businesses, growing fast from a low base. Adobe’s 2025 holiday season report, based on more than a trillion visits to US retail sites, found traffic from generative AI tools rose 693.4% year over year. Your B2B numbers will differ, but the direction gives leadership a reason to track the channel before it is large. If someone asks whether any of this matters for a business with a solid website, point them to our look at what AI search changed for small business websites.

Monthly is enough for most teams. Put the six numbers on one slide with the last six months of history, plus a few sentences on what changed and what you did about it. When someone asks for more metrics, push back; leadership will read one slide every month, and they will stop opening a 20-tile dashboard by the second quarter.

Frequently Asked Questions

Does GA4 track ChatGPT traffic automatically now?

Partly. Since May 13, 2026, GA4’s Default Channel Group includes an AI Assistant channel that picks up visits from sources like ChatGPT, Gemini, DeepSeek, Copilot, and Grok when the browser passes a referrer. It is not retroactive, and Google’s documentation does not name every assistant, so a custom channel group is still worth building as a backstop.

Why does so much AI traffic show up as Direct in GA4?

GA4 assigns a channel from the referrer and UTM tags. When someone clicks a link inside a mobile AI app, copies a URL out of a chat, or uses a browser that strips the referrer, GA4 receives neither and files the visit under Direct. Watch for Direct sessions landing on deep pages like specific service or blog URLs, since few people type those from memory.

Can I see AI Overviews clicks in Google Search Console?

Not separately. Clicks from AI Overviews and AI Mode count inside the Web search type of the standard Performance report, blended with regular results. The generative AI performance report, rolled out to all sites on August 31, 2026, shows impressions in AI Overviews and AI Mode by page, country, device, and date, but no clicks or queries.

Which AI crawlers should I look for in my server logs?

Start with OpenAI’s GPTBot, OAI-SearchBot, and ChatGPT-User; Anthropic’s ClaudeBot, Claude-SearchBot, and Claude-User; and Perplexity’s PerplexityBot and Perplexity-User. Search-indexing bots and user-triggered fetchers tell you more about AI answer visibility than training crawlers do. Google-Extended has no user agent of its own, so it never appears in logs.

What AI search metrics should I report to leadership?

Keep it to five or six numbers on one page: AI citations from a fixed monthly prompt panel, AI Overviews and AI Mode impressions from Search Console, AI referral sessions and key events from GA4, branded search impressions, and Direct sessions to deep pages. Report trends month over month rather than single values.

Key Takeaways

  • GA4’s AI Assistant channel, added May 13, 2026, catches AI referrals with a referrer, but it is not retroactive and does not name every assistant.
  • A custom channel group with an explicit domain regex, placed above Referral and Organic Search, fills the gaps and applies to past data.
  • Much AI traffic lands in Direct. Direct sessions to deep pages are your best proxy.
  • Search Console blends AI Overviews and AI Mode clicks into Web search results. Its generative AI report, live for all sites since August 31, 2026, shows impressions only.
  • Server logs show whether AI search bots and user-triggered fetchers read your pages at all.
  • Report citations, AI impressions, AI referrals, AI-referred key events, branded search, and deep-page Direct traffic together, and label which are proxies. For the strategy side, start with our complete AEO guide.

Want this set up without spending a weekend in GA4 Admin? Talk to our team. We can build the channel groups, the log checks, and a one-page monthly AI visibility report for your business.

Written by The WinTech Desk, WinTechnology Inc. | https://www.wintechnology.ai

Scroll to Top