A straight clear glass tube on two glass supports with a small paddle wheel inside and a thin blue light stream flowing through it, on a dark wet surface before a rainy window; cover for tracking AI assistant traffic in GA4
AI-generated image
Revenue Systems

How to Track ChatGPT and AI Assistant Traffic in GA4

Answer

Since May 13, 2026, GA4 puts visits from AI assistants it recognizes into a native AI Assistant channel, but Google does not publish which referrers are on its list. To control the definition yourself, create a custom channel group with a regex on Session source for chatgpt.com, perplexity.ai, copilot.microsoft.com, gemini.google.com and claude.ai, then look at landing pages and key events in a free-form exploration. Read the result as a minimum: app clicks without a referrer land in Direct, AI Overviews and AI Mode count as Organic Search, and visitors who decline consent are missing from observed sessions.

Key takeaways
  • GA4's native AI Assistant channel (since May 13, 2026) runs on a referrer list Google does not publish, and neither Google text about it names Perplexity.
  • A custom channel group with an anchored regex on Session source gives you a definition you can audit, and it also applies to data from before May 2026.
  • Put your AI assistants channel above Referral and above the copied AI Assistant channel, because GA4 assigns each session to the first channel that matches.
  • Assistant traffic in GA4 is a minimum: clicks without a referrer count as Direct, Google's AI features count as Organic Search, and declined consent removes sessions.
, Founder/CEO7 min readPublished 23 Nov 2026Updated 23 Nov 2026

What You Can and Cannot See in GA4

GA4 can only attribute a visit from an AI assistant if the click reaches your site with a referrer or a campaign tag. Google added an AI Assistant channel to the default channel group on May 13, 2026. When the referrer is on Google’s list of recognized assistants, GA4 sets the medium to ai-assistant and the campaign to (ai-assistant). The release note gives ChatGPT, Gemini and Claude as examples, and the channel definition page gives ChatGPT, Gemini, DeepSeek, Copilot and Grok. Google has not published the full list.

Source Visible in GA4? Where else to look
ChatGPT on the web Yes, as session source chatgpt.com. OpenAI adds utm_source=chatgpt.com to referral links Your own channel group (step 2)
Perplexity on the web Yes, as perplexity.ai or www.perplexity.ai. Neither Google text on the native channel names Perplexity, so check whether it lands in AI Assistant or Referral Your own channel group (step 2)
Microsoft Copilot, Gemini and Claude on the web Yes, as copilot.microsoft.com, gemini.google.com and claude.ai Your own channel group (step 2)
Assistant apps, in-app browsers, copied links Often no referrer, so GA4 counts the session as Direct A “How did you hear about us?” field on your forms
Google AI Overviews and AI Mode Counted as Organic Search and cannot be separated Search Console’s generative AI report
Answers that mention you but get no click No AI visibility and citation tracking
Visitors who decline analytics consent Not as observed sessions. Standard reports can model them if the property qualifies The consent rates in your consent management platform

OpenAI’s publisher documentation confirms chatgpt.com. The GA4 tracking guides from Ahrefs and Orbit Media list all five hostnames as referrers they have seen in real data.

Step 1: Find AI Referrals in the Traffic Acquisition Report

Go to Reports > Acquisition > Traffic acquisition. The report opens on Session default channel group, so any property that has received assistant clicks since mid-May 2026 will show an AI Assistant row.

Switch the table’s dimension to Session source / medium and set the date range to at least the last 90 days. Search the table for each hostname. Sources with the medium ai-assistant are on Google’s list. Sources that still show referral are not. If perplexity.ai / referral shows up in your data, Google’s list does not cover Perplexity for your property, and the native channel misses those visits.

Google’s release note doesn’t say whether sessions from before May 13, 2026 were reclassified. Look at the AI Assistant row over a longer date range. If it starts on that date, the earlier visits are still sitting in Referral.

Step 2: Create an “AI Assistants” Custom Channel Group

You need your own channel group even though GA4 now has a native AI Assistant channel. You can’t audit a referrer list Google keeps unpublished. Default channel definitions can’t be edited, and Google says they “may evolve as the market changes.” Custom channel groups also apply to your reports retroactively, so your channel covers the months before the native one existed.

You need the Editor role or above on the property. Then:

  1. In Admin, under Data display, click Channel groups.
  2. Click Create new channel group. GA4 starts you with a copy of the default group, which now includes the AI Assistant channel.
  3. Name the group, for example “Channels with AI assistants”.
  4. Click Add new channel and name it “AI assistants”. Add a condition group with Source, “matches regex” and the pattern below. Save the channel.
  5. Click Reorder. Drag “AI assistants” above Referral and above the copied AI Assistant channel, then click Apply.
  6. Click Save group.
^(.+\.)?(chatgpt\.com|perplexity\.ai|copilot\.microsoft\.com|gemini\.google\.com|claude\.ai)$

The pattern matches the five hostnames and any subdomain of them, such as www.perplexity.ai. Because it is anchored at both ends, lookalikes such as chatgpt.com.example.com or myclaude.ai don’t match. We tested it with Python’s re module. All six expected sources matched. None of the 16 negative cases did, including google.com, mail.google.com, bing.com and openai.com. GA4 uses full matching by default, and an anchored pattern behaves the same under full and partial matching.

Order matters because GA4 places each session in the first channel whose definition it matches. Google’s help page says to put the AI channel above Referral. Putting it above the copied AI Assistant channel as well means your regex decides first. Keep the copied AI Assistant channel directly below yours, so that assistants your regex doesn’t cover but Google does (DeepSeek or Grok, for example) still get their own row.

Google’s help page also offers an example pattern, but it is broad: in our test under full matching it also caught any source that ends in “ai” (such as example.ai) and any source that contains “gpt” (such as gptzero.me). Use it only if you would rather overcount than miss an assistant.

Standard properties allow two custom channel groups in addition to the default group, and GA4 360 allows five. Each group can hold 50 channels. Google advises updating the regex whenever the URLs or the assistants you want to measure change. If you want leadership to see your definition in every acquisition report, set the group as the primary channel group in Admin. It populates from that point forward.

Put numbers on it

Estimate the capacity, payback period and 24-month return of governed AI workflows in your marketing team. Your figures, your browser, nothing stored.

Step 3: Build an Exploration for Landing Pages and Key Events

The acquisition report shows how many visits arrive. An exploration shows where they land and what those visitors go on to do.

Click Explore in the left navigation and start a Free form exploration. Import these dimensions: your new channel group, Session source and Landing page + query string. Import these metrics: Sessions, Engaged sessions, Key events and Session key event rate. Then set it up like this:

  • Rows: Landing page + query string
  • Columns: Session source
  • Values: Sessions, Key events
  • Filter: your channel group exactly matches “AI assistants”

The result is a table of the pages assistants send people to, broken down by assistant, with the key events those sessions produced. Free form takes up to five row dimensions, two column dimensions and ten metrics, so there is room for Device category or Country if you need it.

An exploration is private until you share it, and sharing requires the Analyst role. Queries that cover more than 10 million events can be sampled, which GA4 flags with an icon. Explorations only reach back as far as the property’s data retention setting, which is two months by default. Extend it in Admin before you need the history.

If leadership reads a Looker Studio dashboard instead, create a calculated field there that applies REGEXP_MATCH to Session source with the same pattern. Write the pattern as a raw string (R"...") so the backslashes survive.

The Blind Spots and How to Read the Numbers

Treat the AI assistant figure in GA4 as a minimum. It misses visits in three places.

Direct Traffic

GA4 records a session as (direct) / (none) when it has no referrer and no campaign tags. That covers typed URLs, links in PDFs and Word files, and URLs that lost their parameters in a redirect or a link shortener. Clicks from assistant apps and in-app browsers, and links that people copy out of a chat, often arrive the same way. The Direct row in your report therefore includes some assistant visits, and GA4 can’t tell you how many. A self-reported field on your forms recovers some of them. Attribution in a zero-click world explains how to use one.

Google’s Own AI Features

Google defines Organic Search as including AI Overviews and AI Mode, and it excludes both from the AI Assistant channel. Neither GA4 nor a regex can separate those clicks, because they come from the same Google hostnames as ordinary results. Google reports its AI search features in Search Console’s generative AI report.

Consent Mode decides what GA4 receives from visitors who decline analytics storage. In basic mode the Google tag doesn’t fire until the visitor consents, so GA4 gets nothing at all from people who decline. In advanced mode the tag sends cookieless pings, and GA4 can model users and sessions for those visitors in standard reports, under conditions: the property needs at least 1,000 events per day with analytics_storage denied for seven days, and at least 1,000 daily users with it granted on seven of the previous 28 days. The property must also use the Blended reporting identity. Modeled data never reaches the BigQuery export, and several exploration types don’t support it.

When you read the numbers:

  • Track the trend and the AI share of all sessions. Absolute counts move whenever any of these gaps changes.
  • Annotate May 13, 2026 and every edit to your regex, so a jump in the line doesn’t get read as growth.
  • Record which consent mode your site runs and whether the property qualifies for modeling before you compare properties or markets.
  • A stable share only means something if AI visitors accept cookies at roughly the same rate as everyone else, and GA4 can’t confirm that.

From Traffic to Revenue

Once the exploration shows which pages AI assistants send people to and which of those sessions reach a key event, connect key events to pipeline in your CRM and compare AI-referred deals with the rest. Attribution in a zero-click world covers the models that also credit influence without a click. AI traffic conversion rate looks at how chatbot visitors behave once they arrive, and server-side tracking deals with the measurement loss that hides part of every channel.

If the conversation with leadership moves on to what AI inside marketing should return, the AI Marketing ROI Calculator estimates payback and 24-month return from your own figures.

This guide belongs to the Revenue Systems pillar of the kōdōkalabs Intelligence Hub.

Want Help Connecting AI Traffic to Pipeline? Talk to Us

Contact kōdōkalabs

Frequently asked questions

Does GA4 show ChatGPT traffic?

Yes, when the click carries a referrer or a UTM tag. Session source is chatgpt.com, OpenAI adds utm_source=chatgpt.com to referral links, and since May 13, 2026 GA4 sorts recognized assistant visits into the AI Assistant channel with the medium ai-assistant.

Why does some ChatGPT traffic show as Direct?

GA4 records a session as (direct) / (none) when it receives no referrer and no campaign tags. Clicks from assistant apps and in-app browsers, and links people copy and paste, often arrive that way, so those visits count as Direct.

Can GA4 separate AI Overviews clicks?

No. Google defines Organic Search as including AI Overviews and AI Mode and excludes both from the AI Assistant channel. Google reports its own AI search features in Search Console's generative AI report.

Which hostnames should the regex include?

At minimum chatgpt.com, perplexity.ai (including www.perplexity.ai), copilot.microsoft.com, gemini.google.com and claude.ai. Check Session source in your own property for other assistants, and update the regex when the list changes.

Yes, as it affects every channel. In basic mode GA4 receives nothing from visitors who decline. In advanced mode it receives cookieless pings and can model users and sessions in standard reports, but only for eligible properties using the Blended reporting identity, and modeled data is not in the BigQuery export.

Sources

  1. Google Analytics Help: What's new in Google Analytics (May 13, 2026: New AI Assistant traffic measurement) (opens in a new tab) · accessed 23 Nov 2026
  2. Google Analytics Help: [GA4] Default channel group (opens in a new tab) · accessed 23 Nov 2026
  3. Google Analytics Help: Custom channel groups (opens in a new tab) · accessed 23 Nov 2026
  4. Google Analytics Help: [GA4] Traffic acquisition report (opens in a new tab) · accessed 23 Nov 2026
  5. Google Analytics Help: Get started with Explorations (opens in a new tab) · accessed 23 Nov 2026
  6. Google Analytics Help: [GA4] Free-form exploration (opens in a new tab) · accessed 23 Nov 2026
  7. Google Analytics Help: [GA4] Understand (direct) / (none) traffic (opens in a new tab) · accessed 23 Nov 2026
  8. Google Analytics Help: About regular expressions (regex) (opens in a new tab) · accessed 23 Nov 2026
  9. Google Analytics Help: [GA4] Behavioral modeling for consent mode (opens in a new tab) · accessed 23 Nov 2026
  10. Google for Developers: Consent mode overview (opens in a new tab) · accessed 23 Nov 2026
  11. Google Search Central Blog: Introducing Search Generative AI performance reports in Search Console (opens in a new tab) · accessed 23 Nov 2026
  12. Looker Studio: Regular expressions in Looker Studio (opens in a new tab) · accessed 23 Nov 2026
  13. OpenAI Help Center: Publishers and Developers FAQ (opens in a new tab) · accessed 23 Nov 2026
  14. Ahrefs: How to track and analyze AI traffic (opens in a new tab) · accessed 23 Nov 2026
  15. Orbit Media: How to Track AI Referral Traffic (and Leads) in GA4 (opens in a new tab) · accessed 23 Nov 2026
  16. Search Engine Journal: Google Analytics adds AI Assistant as default channel group (opens in a new tab) · accessed 23 Nov 2026

Founder/CEO of kōdōkalabs. 20+ years in SEO, AI in marketing, performance marketing and enterprise content strategy across DACH and the Nordics.

Contact kōdōkalabs

Questions about this article or your own marketing organization? Get in touch.

Get new research from the Intelligence Hub

New articles and research, delivered by email.

We send you a confirmation email first. Unsubscribe anytime. Privacy policy This site is protected by reCAPTCHA. The Google Privacy Policy (opens in a new tab) and Terms of Service (opens in a new tab) apply.