How to Set Up AI Search Tracking in GA4
AI search tracking in GA4 needs six steps: the native AI Assistant channel, a custom channel group for the assistants Google does not name, key events, and a monthly routine.
Quick answer: To set up AI search tracking in GA4, start with the native AI Assistant channel, then build a custom channel group for the assistants Google does not name, mark your conversions as key events, and save an exploration that reports sessions and key events by assistant. The whole setup takes about an hour, needs no code, and applies retroactively where custom channel groups are used.
TL;DR: Native channel first, custom channel group second, key events third, exploration fourth. Then check it monthly with a fixed prompt set and a Direct-traffic estimate.
Key takeaways
- Google added a native AI Assistant channel to GA4's Default Channel Group on May 13, 2026, according to SEO Sherpa's 2026 report on the change, and it needs no configuration.
- The native channel covers recognized referrers only, and Google has not published the full list, according to Google's own help page on default channel groups.
- Custom channel groups apply retroactively, according to the Terminus guide to tracking AI referral traffic, so the history fills in the day the group is saved.
- A standard GA4 property allows up to 30 key events, according to Trackingplan's 2026 guide, and marking one does not backfill history, according to Mayab Media's 2026 guide to GA4 key events.
- AI platforms sent 0.32% of all website traffic in SE Ranking's June 2026 study of 101,574 websites, up from 0.02% in 2024, according to the same study.
Step 1: confirm GA4 is collecting
Before building anything, confirm the property collects data. Open Reports, then Realtime overview, and visit the site in another tab. The visit should appear within seconds, and the source should read correctly for a normal search visit. If it does not, the tagging is broken, and no channel group will fix it.
Check DebugView next. DebugView shows the raw events as they arrive, including session start and the source and medium attached to it, according to the Terminus guide to tracking AI referral traffic. Click a real citation from ChatGPT or Perplexity, then watch DebugView for the session start event carrying the source you expect. For assistants on Google's list the medium reads ai-assistant, while for the others it reads referral, according to the same guide.
Fix the basics before the AI work. Confirm the GA4 tag fires on every page, including the thank-you pages where key events happen. A key event that never reaches GA4 cannot be marked, because the event must have fired at least once before it appears in the Events list, according to Mayab Media's 2026 guide.
Step 2: read the native AI Assistant channel
Google added a native AI Assistant channel to GA4's Default Channel Group on May 13, 2026, according to SEO Sherpa's 2026 report. When GA4 detects a referrer matching a recognized AI assistant, it assigns ai-assistant as the medium, groups the session under AI Assistant, and labels the campaign "(ai-assistant)", according to the same report. No configuration is needed, and the rollout reached most properties by early June 2026, according to Promptwatch's November 2026 glossary entry.
Find it in Reports, then Acquisition, then Traffic acquisition, with Session default channel group as the primary dimension. Add Session source as a secondary dimension to split the AI Assistant row by assistant, according to Metric Raven's November 2026 guide to tracking ChatGPT traffic. That split shows which assistant sent the visit, not just that an assistant did.
Know what the channel excludes. Google's default channel group definitions say AI Assistant excludes Google's own AI Overviews and AI Mode, according to Google's own help page, and clicks from those features stay in Organic Search. To see Google's AI visibility, use Search Console's generative AI performance report, which reports impressions but not clicks, according to Promptwatch's November 2026 glossary entry.
The measurement routine around the channel is in how to measure AI visibility, which sets out the four core metrics to pair with the channel numbers. Read it before choosing which metrics to report, because sessions alone understate the channel.
Step 3: build a custom channel group
The native channel is a floor, not a ceiling, because it only covers the referrers Google recognizes. Build a custom channel group in Admin, under Data display, then Channel groups, and copy the default group, according to Metric Raven's November 2026 guide. Add a channel named AI Assistants whose source matches a regex of AI domains, and move it above Referral so it wins, according to the same guide.
Use a regex that covers chatgpt.com, chat.openai.com, gemini.google.com, copilot.microsoft.com, claude.ai, perplexity.ai, chat.deepseek.com, grok.com, meta.ai, chat.mistral.ai, and notebooklm.google.com, according to Kevin Leary's 2026 guide to AI attribution. Rules evaluate top down and first match wins, so order the AI rule above Referral and Organic Search, according to the Terminus guide.
Custom channel groups apply retroactively, according to the same guide, so the channel populates with history as soon as it is saved. That is the one advantage the custom group has over the native channel, which does not reclassify history before its rollout date. A year-over-year comparison that mixes the two will show growth that partly reflects the switch itself, according to Promptwatch's November 2026 glossary entry.
Set the custom group as the primary channel group in reports once it is built. The default group stays available, so the team can compare the two and see exactly which sessions the custom rules claim that the native channel missed.
Step 4: add explorations and landing page reports
Standard reports answer the first question, and explorations answer the rest. Open Explore and build a free-form exploration with Session default channel group as the rows, Session source and medium as a second dimension, and sessions plus a key event as the values. Save it with a clear name, so the monthly check takes minutes instead of a rebuild.
Add the landing page as a dimension in a second exploration. Open Engagement, then Landing page, and add a filter on Session default channel group equal to AI Assistant, according to Metric Raven's November 2026 guide. That view shows which pages AI readers arrive on, which is the page-level signal the channel report hides.
Build a funnel exploration for the conversion path. A funnel shows how many AI sessions reach the pricing page, how many reach the form, and how many complete it, which is the drop-off the session count cannot show. Keep the funnel to four steps or fewer, because a long funnel spreads the small AI sample too thin to read.
For the reporting side, how to report AI visibility results covers how to present these numbers to clients and managers. The exploration is the working view; the report is the version other people see.
Step 5: mark conversions as key events
A tracking setup without a conversion measures traffic, not business. Open Admin, then Data display, then Events, and click the star next to the event for each action that matters, according to Mayab Media's 2026 guide to GA4 key events. The event must have fired at least once before it appears, so trigger it yourself first if it is new.
Marking an event as a key event does not backfill history, according to the same guide, and a standard property allows up to 30 key events, according to Trackingplan's 2026 guide. Keep the list short: one or two primary actions, such as a purchase or a demo booking, and a few secondary ones, such as a pricing page view or a guide download.
Choose the counting method when you mark the event. GA4 offers once per event and once per session, and Google labels once per event as recommended, according to Mayab Media's 2026 guide. Use once per event for purchases, where every order counts, and once per session for lead forms, where a second submit in the same visit adds nothing.
The money view is in how to measure GEO ROI, which sets out how to turn tracked conversions into a return figure. The key event is the input that calculation needs, so mark it before the first report, not after.
Step 6: build the monthly routine
Set a monthly check with a fixed prompt list and a fixed report. Run the same 20 to 30 buyer questions on the same engines, record mentions and citations, and compare the tracker numbers with the GA4 numbers for the same month. A fixed routine is the only way to tell a trend from noise.
Watch Direct as part of the routine. About 70.6% of AI traffic arrived without a referrer header and landed as Direct in GA4, according to an analysis of 446,405 visits published by SEO Sherpa in 2026. If Direct grows while the AI Assistant channel stays flat, the hidden share is growing, not the channel shrinking.
Watch for tagging breaks the same way. From October 8 to 15, 2026, most links in ChatGPT answers lost their utm tag, and GA4 showed ChatGPT sessions down about 46% while the visits moved to Direct, according to Optimize for SEO's November 2026 guide. A sudden drop in the AI Assistant channel with a matching rise in Direct is a tagging break until proven otherwise.
| Step | What it adds | Retroactive |
|---|---|---|
| Native AI Assistant channel | Recognized assistant clicks, no setup | No, from rollout date only |
| Custom channel group | All named assistant referrers | Yes, history fills on save |
| Key events | Conversions by channel | No, from the moment marked |
| Explorations | Landing pages and funnels | Yes, on existing data |
| Monthly routine | Trends, tagging breaks, Direct estimate | No, needs a baseline |
According to SE Ranking's June 2026 study of 101,574 websites, AI platforms sent 0.32% of all website traffic, up from 0.02% in 2024, a 16-fold rise in two years. ChatGPT supplied 74.78% of AI referrals in the same study, while Gemini supplied 11.56% and Perplexity supplied 7.23%.
For the tracker side, the best AI visibility tracking tools compares the trackers by price and engine coverage.
For the ChatGPT half of the setup, how to measure ChatGPT referral traffic covers the referrer and tag behaviour in detail.
Frequently Asked Questions
How long does it take to set up AI search tracking in GA4?
About an hour for the channel group, the key events, and one saved exploration. The native channel needs no setup at all. The monthly routine takes longer to build, because it needs a fixed prompt list and a baseline month to compare against.
Do I need a custom channel group if GA4 has a native AI Assistant channel?
Yes. The native channel only covers the referrers Google recognizes, and Google has not published the full list. A custom channel group catches Perplexity, Claude, and the rest, and it applies retroactively, so the history fills in the day it is saved.
Why does my AI Assistant channel show zero sessions?
The channel only counts sessions that carried a recognized referrer. App clicks and copied URLs carry none, so they land in Direct. Check the custom channel group, then check Direct, and confirm the property actually receives AI clicks by testing a real citation in DebugView.
Can I track AI Overview clicks in GA4?
No. Clicks from AI Overviews and AI Mode stay in Organic Search, according to Google's own help page on default channel groups. Use Search Console's generative AI performance report for impressions, and treat GA4 as the click and conversion view for the assistants.
How do I track AI search conversions in GA4?
Mark the conversion action as a key event, then read it by channel in the Traffic acquisition report. The AI Assistant row shows conversions from recognized assistants, and the custom channel group shows the rest. The conversion setup is covered in detail in the key events guide linked in the sources.
How often should I check AI search tracking?
Monthly, with a fixed prompt list and a fixed report. Weekly checks are too noisy at AI traffic volumes, and a single month is the smallest window that shows a trend instead of a wobble.
Expert verdict
Best for: sites that already get AI referrals and want a repeatable, documented setup instead of ad-hoc checks.
Not for: sites with no AI citations yet, because the setup measures visits that exist, and there is nothing to measure until the citations do.
Pros: no code needed; custom channel groups apply retroactively; key events are free to set up.
Cons: most AI visits are invisible to GA4; AI Overview clicks stay in Organic Search; small samples make monthly numbers noisy.
For the referral half of the picture, how to track referral traffic from backlinks covers how to separate AI referrals from ordinary link referrals.
Bottom line
Native channel first, custom channel group second, key events third, exploration fourth, and a monthly routine to hold it together. The setup is an hour of work, and the routine is what makes it worth doing.
Sources
The BacklinkPrice Team researches backlink prices, publisher sites and link building tools. We check prices and plans against each provider's own pages and date them, so you know how current the numbers are.
More from BacklinkPrice TeamRelated guides



