How to Track AI Referral Traffic in GA4

B2B Content Specialist

Content Editor

Content Lead, SEO & AEO

17 min read
TL;DR:

Track AI referral traffic in GA4 by opening Reports > Acquisition > Traffic acquisition and viewing the “AI Assistant” channel, which GA4 has used since May 13, 2026 for visits from assistants such as ChatGPT, Gemini, DeepSeek, Copilot, and Grok. Clicks from Google’s AI Overviews and AI Mode count as Organic Search instead. Switch the table to Session source / medium and filter for “ai-assistant” to see each assistant, create a custom channel group with an AI-address regex placed above Referral to count older visits and assistants GA4 doesn’t label, then use a free-form exploration and key events to see which pages AI visitors land on and whether they convert. GA4 still can’t see AI crawlers, visits with no referrer, or the AI answers that mention your brand without a click.

People click through to sites that appear in answers from ChatGPT, Gemini, Claude, and other AI assistants. Google Analytics 4 (GA4) now groups some of these visits in a channel called “AI Assistant,” but it still doesn’t capture all AI referral traffic.

In this guide, we’ll show you how to track AI referral traffic in GA4 using this channel. You’ll also learn how to see traffic from each AI assistant, add a custom channel for visits GA4 doesn’t label, and see which landing pages and conversions AI traffic touches.

Key Takeaways

  • Since May 13, 2026, GA4 has sorted visits from AI assistants (such as ChatGPT and Gemini) into its own “AI Assistant” channel.
  • The “AI Assistant” channel leaves out clicks from Google’s AI Overviews and AI Mode, and GA4 tracks these under the “Organic Search” channel.
  • A custom channel group lets you track visits from any AI assistant you choose, beyond the ones GA4 groups by default, including visits from before May 2026.
  • Landing page visits and key events show which pages AI visitors reach and whether they go on to convert.
  • GA4 still has blind spots, since some clicks from AI apps show up as “Direct,” and AI crawlers don’t appear in its reports.

How to track AI referral traffic in GA4

Track AI referral traffic in GA4 by clicking “Reports” > “Acquisition” > “Traffic acquisition,” then viewing the “AI Assistant” channel that has appeared in GA4 since May 2026. You can also add a custom channel group to catch the AI assistants GA4 doesn’t include, and you can then check which pages AI visitors land on and whether they convert.

We’ll go over a full walkthrough of each step to track AI traffic in GA4 later in this guide, but here’s a high-level overview:

  • Open the Traffic acquisition report (click “Reports” > “Acquisition” > “Traffic acquisition”) and look for the “AI Assistant” row in the default channel group (GA4’s built-in set of channels).

  • Switch the same table to “Session source / medium” and filter for “ai-assistant” to see how many visits each assistant, such as ChatGPT or Gemini, sends to your site.

  • Create a custom channel group in “Admin” > “Channel groups” (under “Data display”) to count AI visits from every assistant you want.

  • Build a “Free-form” exploration in “Explore” to see which landing pages AI visitors click through to.

  • In the Traffic acquisition report, compare how often AI visitors convert (GA4 calls conversions “key events”) versus visitors from organic search.

GA4’s ‘AI Assistant’ channel covers chatbots but excludes AI Overviews and AI Mode

The AI Assistant channel in GA4 collects visits from AI assistants, such as ChatGPT, Gemini, DeepSeek, Copilot, and Grok. Clicks from Google’s AI Overviews and AI Mode aren’t included, because GA4 reports those as visits from organic search.

Here’s how Google defines the AI Assistant channel on its Default channel group help page:

“AI Assistant is the channel by which users arrive at your site from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok. It excludes Google’s AI Overviews and AI Mode.”

In the Traffic acquisition report, the channel shows up as its own row along with others like “Organic Search,” “Direct,” and “Referral.”

GA4 “Traffic acquisition” table with “Session primary channel group (Default Channel Group)” as the first column, showing the “AI Assistant” row alongside “Organic Search,” “Direct,” “Referral,” and other channels.

When a visit comes from a site on Google’s list of AI assistants, GA4 sets the medium to “ai-assistant” and the campaign to “(ai-assistant).” That’s why you’ll see rows like “chatgpt.com / ai-assistant” in your source/medium reports.

Google doesn’t publish a full list of AI assistants the new channel recognizes. Step 3 will show you how to catch unsupported AI assistants with your own channel.

LLM Analytics

See AI referrals and AI crawlers side by side

Connect GA4 and a crawler-log source to Searchable to see visits from each AI assistant next to your organic traffic, plus which AI crawlers read your pages.

Start your free trial

Detailed steps for tracking referral traffic in GA4

Tracking referral traffic in GA4 starts with using default reports to find AI Assistant sessions and the assistants that send them. You can then also create a custom channel group to track even more AI sources. And GA4 also allows you to inspect where AI visitors land and whether they convert. We’ll go over this in the steps below.

Step 1: Find AI Assistant sessions in the Traffic acquisition report

View AI Assistant sessions in GA4’s Traffic acquisition report in the “AI Assistant” row alongside other default channel groups like “Organic Search” and “Referral.”

Here’s how to open the report and set it up:

  • Click “Reports” > “Acquisition” > “Traffic acquisition” in the left menu

  • Click the date picker in the top right, pick a start date after May 13, 2026, and click “Apply.” The “AI Assistant” channel has no data before that date, so an earlier start date wouldn’t display this channel at all.

In the “AI Assistant” row, you can see how many sessions AI assistants sent you in the selected date range. Compare that number with the numbers in the “Organic Search” and “Referral” rows to see how much traffic AI assistants send relative to other sources.

Note that Google added the “AI Assistant” channel on May 13, 2026, and announced it on its “What’s new in Google Analytics” page. It only labels visits from mid-May 2026 onward.

Step 2: Track ChatGPT traffic and other AI sources by source / medium

To track how much traffic each AI assistant sends, switch the first column in the table to “Session source / medium” and filter it to the medium “ai-assistant.” You’ll then see each assistant in a separate row along with the number of sessions each one sent you.

Here’s how to set it up in the Traffic acquisition report:

  • Click the drop-down above the table’s first column and select “Session source / medium”

  • Click “Add filter” at the top of the report

  • In the “Build filter” panel, choose “Session medium” in the “Dimension” drop-down, “exactly matches” in the “Match Type” drop-down, and “ai-assistant” in the “Value” drop-down

  • Click “Apply”

The screenshot below shows the filtered table, with one row for each assistant that sent visits.

GA4 “Traffic acquisition: Session source / medium” report filtered to the “ai-assistant” medium, with a chart and one row per assistant, such as “gemini.google.com / ai-assistant” and “chatgpt.com / ai-assistant.”

To find ChatGPT (or other assistant) visits outside the AI Assistant channel, remove the filter, set a start date before May 13, 2026, and search the table for “chatgpt.” Rows like “chatgpt.com / referral” or “chatgpt.com / (not set)” show visits from before the channel existed.

Step 3: Add a custom channel group for every AI source you want to monitor

Create a custom channel group that contains all the AI assistant addresses you want to monitor. And then move that channel above “Referral,” so it holds every AI visit that GA4 labels by default plus the ones it doesn’t.

Maintaining your own list of AI assistants prevents problems when their addresses change. For example, copilot.microsoft.com now redirects to copilot.com, links from Meta AI can arrive from l.meta.ai, and Meta’s Muse agent has its own address, muse.ai. A list you control can cover old and new addresses without waiting for Google to update its list.

Here’s how to set it up, assuming you have the proper permissions and availability on your property, following Google’s custom channel groups instructions:

  • Go to “Admin,” and click “Channel groups” under “Data display”

  • Click “Create new channel group.” GA4 starts you with a copy of the default channel group, which includes its “AI Assistant” channel

  • Enter a group name, such as “AI traffic”

  • In the row for the “AI Assistant” channel, click the arrow icon to open its “Channel details”

  • Under the existing condition, click “Or,” choose “Source” in the “Add new condition” drop-down, select “matches regex,” and paste this regex below

.*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|claude\.ai|chat\.deepseek\.com|grok\.com|meta\.ai|muse\.ai|chat\.mistral\.ai).*
  • Click “Save channel”

  • Click “Reorder,” drag “AI Assistant” above “Referral,” and click “Apply”

  • Click “Save Group”

GA4 custom channel group editor showing the “Channel group details” and “Channel list” sections, with the “Reorder” and “Add new channel” buttons, and the “AI Assistant” channel placed above “Referral”.

In the regex we shared, “.” means a real dot instead of “any character,” and “.*” at each end lets the address sit inside a longer value, such as www.perplexity.ai or l.meta.ai. You need both, because GA4 only counts a match when the regex matches the entire source, not just part of it.

The screenshot below shows the “AI Assistant” channel with both conditions in one group.

GA4 “Channel details” screen for the “AI Assistant” channel, with a “Default channel group” condition that matches exactly “AI Assistant” and a “Source” condition that matches a regex, joined by “OR.”

Because both conditions sit in one group, GA4 will include in the channel visits that match any of these two conditions.

Dragging “AI Assistant” above “Referral” is important because GA4 puts each visit in the first channel it matches. This means that only the “AI Assistant” channel will show visits from AI.

Your edited “AI Assistant” channel also counts AI visits from before May 13, 2026. Meanwhile, Google’s default “AI Assistant” channel only labels visits from that date onward, so a ChatGPT visit from April 2026 can still show up as “Referral” in the default group.

And when an AI assistant moves to a new address, as Microsoft Copilot did, or a new one starts sending you visits, you can add it to the regex immediately instead of waiting for Google to update its list.

Addresses change often enough that the list needs regular upkeep, and our FAQ on how often to update the AI regex covers when to do it.

Step 4: See which landing pages AI assistants send visitors to

To see which pages AI assistants send visitors to, build a free-form exploration with “Landing page + query string” as the rows and a filter that keeps only your AI channel traffic. The table then lists the pages people reach from AI answers, with their sessions, engaged sessions, key events, and other selected values.

Here’s how to build it:

  • Click “Explore” in the left menu, then select “Free form”

  • In the “Variables” panel, click the plus icon next to “DIMENSIONS” and check the boxes next to “Landing page + query string” and your custom channel group (look for the name you gave it in Step 3) and click “Confirm”

  • Click the plus icon next to “METRICS” and check the boxes next to “Sessions,” “Engaged sessions,” and “Key events”. Click “Confirm” after this.

  • In the “Settings” panel, remove the template’s “City” from “ROWS,” “Device category” from “COLUMNS,” and “Active users” from “VALUES”

  • Drag “Landing page + query string” to “ROWS” and the three metrics to “VALUES”

  • Drag your custom channel group to “FILTERS,” set it to exactly match “AI Assistant,” and click “Apply”

GA4 free-form exploration with “Landing page + query string” as rows, “Sessions,” “Engaged sessions,” and “Key events” as values, and a filter that keeps only the custom channel group’s “AI Assistant” channel.

Use your custom channel group in the filter, not the default one, because only yours includes AI visits from before May 13, 2026.

Explorations only show data inside your property’s data retention period, which is either two or 14 months. Google says the retention setting doesn’t affect standard reports, so use the Landing page report for older AI visits.

Go to “Reports” > “Engagement” > “Landing page,” click “Add filter,” choose your custom channel group in “Dimension,” “exactly matches” in “Match type,” and “AI Assistant” in “Value,” then click “Apply.”

AI assistants already link to these pages in their answers, so keep the facts on them current.

Step 5: Measure key events from AI referral traffic

To measure key events from AI referral traffic, open the Traffic acquisition report with your custom channel group as the first column and compare the “AI Assistant” row’s key event rate with the “Organic Search” row’s rate. The comparison shows whether AI visitors convert as often as search visitors.

Here’s how to set it up:

  • Click “Reports” > “Acquisition” > “Traffic acquisition”

  • Click the dimension drop-down above the table’s first column and select your custom channel group from Step 3

  • Scroll to the “Key events” and “Session key event rate” columns, and compare the “AI Assistant” row with the “Organic Search” row

Key events count how many times visitors completed a key event, and Session key event rate is the share of sessions that included a key event.

The screenshot below shows both columns for several channels, including “AI Assistant” and “Organic Search.”

GA4 “Traffic acquisition” table with a custom channel group as the first column, showing “Key events” and “Session key event rate” for the “Organic Search,” “Direct,” “AI Assistant,” and “Paid Social” rows.

Your “AI Assistant” row likely holds far fewer sessions than “Organic Search,” so a few signups can move its rate a lot. Look at several months together before you decide AI visitors convert better or worse.

GA4 helps with tracking business outcomes of AI traffic. But you may also want to look at AI visibility metrics, like presence rate or share of voice in AI, that are analyzed by specialized AEO tools.

GA4’s blind spots for AI referral traffic

GA4 knows where an AI visit came from only when someone clicks a link and the visit carries a referrer or UTM tags. GA4 misses visits that arrive without that information, can’t separate clicks from Google’s own AI answers, doesn’t see AI crawlers, and doesn’t know the question that led to each click.

The sections below cover each blind spot, then how to measure what GA4 misses.

AI visits without a referrer show up as Direct

When a visit arrives with no referrer and no UTM tags, GA4 classifies it as direct traffic. These are sessions with the source “(direct)” and the medium “(none)” or “(not set),” the same label as a typed-in URL.

Clicks from the ChatGPT desktop app, for example, tend to show up in GA4 as “Direct,” not “AI Assistant.” To check your own site, open “Reports” > “Realtime,” click a link to your site from inside a ChatGPT desktop app, and see which source the “Active users by First user source” card shows.

Google counts clicks from its own AI answers as organic search traffic, and Google Search Console (GSC) reports those clicks “within the “Web” search type.”

GA4 takes a visit’s source and medium from UTM tags, such as utm_medium=email. If ChatGPT cites your page through a URL you tagged for an email newsletter, the visit can land in your “Email” channel instead of “AI Assistant.”

Rows like “chatgpt.com / (not set)” come from links tagged with a source but no medium, which GA4 reports as “(not set).” Your custom channel from Step 3 still counts those visits as AI, because the regex matches the source, not the medium.

AI crawlers never appear in GA4

AI crawlers don’t appear in GA4 because GA4 automatically excludes traffic from known bots and spiders. Examples include OpenAI’s OAI-SearchBot, which surfaces sites in ChatGPT’s search results, and GPTBot, which collects content that may be used to train OpenAI’s models.

To see crawler visits, look for their names in your server or hosting logs.

GA4 doesn’t show which AI answer sent the visit

GA4 shows neither the AI answer that sent a visit nor the question a user asked. The visit only carries the assistant’s address, such as chatgpt.com.

GA4 also can’t see people who read an answer that mentions your brand and never click. To see those answers, you need a separate way to track whether AI answers mention your brand.

Measuring AI crawlers and referrals alongside GA4 in Searchable

Searchable measures AI crawlers and AI referral visits in LLM Analytics. Connect a crawler-log source, such as Cloudflare or Vercel, to see which AI crawlers read your site and which pages they visit, with crawler visits kept separate from human visits.

Searchable also connects to GA4 and Search Console, so you can see visits from each AI assistant next to your organic search traffic in one dashboard.

In AEO Insights, you can see which of your pages AI answers cite for the prompts you track. The screenshot below shows the LLM Analytics overview with demo data.

Searchable LLM Analytics “Overview” tab with “AI Citations,” “AI Training,” “AI Referrals,” and “% AI Referrals” cards above a daily chart of AI referrals from Google Analytics 4.

Where to start with AI referral traffic in GA4

Start tracking AI referral traffic by checking the AI Assistant row in your Traffic acquisition report, and click a link to your site from ChatGPT to see which channel the visit lands in. Next, set up the custom channel from Step 3 so older visits and missed assistants count, and monitor key events from AI visits for several months.

GA4 only shows the people who click, so the next step is finding out how often AI answers mention and cite your brand to people who never visit your website. Start by doing Searchable’s free AI visibility report. It will show how your brand compares against competitors across several AI assistants and what to fix first.

Free AI visibility report

See where AI sends people, and where it doesn’t

Get a free report that shows how your brand compares with competitors across AI assistants and what to fix first.

Get your free report

Frequently asked questions

GA4’s AI Assistant channel only groups visits from mid-May 2026 onward, so earlier ChatGPT visits keep the label they had then. Untagged ChatGPT referral traffic shows as “chatgpt.com / referral,” and a link tagged with a source but no medium shows as “chatgpt.com / (not set).” A custom channel that matches AI assistant addresses counts both as visits from AI, because Google applies custom channel groups to past data.