Book a Call

How Do You Track ChatGPT and AI Traffic in Google Analytics 4 in 2027?

To track AI traffic in GA4, open the built-in AI Assistant channel in Traffic acquisition, then add a custom channel group with an AI referrer regex ranked above Referral.

That is how to track AI traffic in GA4 without guesswork: Google’s channel catches the assistants it recognizes, and your own channel group catches the rest with a rule you can read and edit. Neither one sees AI answers that nobody clicks, so pair the numbers with the prompt checks in our guide on how to rank in ChatGPT.

By Hitesh Lamba, founder of Million Global Leads. Updated . 6 minute read.

How each AI source shows up in GA4 (checked December 5, 2026)
AI sourceWhat GA4 recordsDefault channelCan you isolate it?
ChatGPTSource chatgpt.com, from the referrer and the utm_source=chatgpt.com tag on ChatGPT search linksAI Assistant (Google names ChatGPT)Yes
Gemini appSource gemini.google.com, from the referrerAI Assistant (Google names Gemini)Yes
Microsoft CopilotSource copilot.microsoft.com or copilot.com, from the referrerAI Assistant (Google names Copilot)Yes
DeepSeek and GrokSource chat.deepseek.com or grok.com, from the referrerAI Assistant (Google names both)Yes
PerplexitySource perplexity.ai or www.perplexity.ai, from the referrerNot named by Google, so it may sit in ReferralYes, with the custom regex
ClaudeSource claude.ai, when the browser passes a referrerNot named in Google’s current list, so it may sit in ReferralYes, with the custom regex
Google AI Overviews and AI ModeSource google, medium organicOrganic Search (Google excludes both from AI Assistant)Not in GA4; use the Search Console generative AI report
Any AI link with no referrer and no tagSource (direct), medium (none)DirectNo

How do you check AI traffic in GA4 reports?

Open Reports, then Acquisition, then Traffic acquisition, and set the table to Session primary channel group to see the AI Assistant row. Switch the dimension to Session source / medium and ChatGPT visits read chatgpt.com / ai-assistant.

Google’s default channel definitions describe AI Assistant as visits from sources like ChatGPT, Gemini, DeepSeek, Copilot or Grok, set the medium to ai-assistant, and state that the channel excludes Google’s AI Overviews and AI Mode. Search Engine Journal reported the new channel on May 14, 2026. Google does not publish the full list of assistants it recognizes, so Perplexity and Claude visits can still fall into Referral.

To put AI visitors next to Google visitors in one report, click the comparison icon at the top right, then Create new, pick the session channel group dimension, choose exactly matches and select AI Assistant. Add a second comparison for Organic Search and apply both. The GA4 comparisons guide lists exactly matches and contains as the match types there, so save regex for explorations.

For landing page detail, build a free-form exploration in five steps: To track mentions that never send a visit, compare the options in our answer on AI search optimization tools.

  • Go to Explore and start a Blank exploration.
  • Import the dimensions Session source / medium, Landing page + query string and Session primary channel group.
  • Import the metrics Sessions, Engaged sessions and Key events, then drag Landing page + query string into Rows.
  • Add a filter on Session source, choose matches regex, and paste the AI pattern from the channel group section below.
  • Set the date range to at least 90 days and save the exploration under a name your team will find, such as AI landing pages.

How do you set up an AI channel group in GA4?

Copy the default channel group, add an AI Tools channel with a Source regex, and drag it above Referral so GA4 sorts AI visits correctly.

Order decides the result. Google’s channel group help says traffic joins the first channel whose definition it matches, so an AI rule placed below Referral never fires for Perplexity or Claude. A standard property can hold 2 custom channel groups of up to 50 channels each, and Google says custom groups can be applied to reports retroactively, which gives you one trend line from before and after the AI Assistant channel arrived.

Follow these clicks:

  • In Admin, under Data display, click Channel groups, then Create new channel group, and name the group AI Tracking.
  • Click Add new channel, name it AI Tools, and add the condition Source matches regex with this pattern: .*(chatgpt\.com|chat\.openai\.com|perplexity|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|claude\.ai|deepseek\.com|grok\.com|meta\.ai|mistral\.ai).*
  • Add a second condition joined with OR: Medium exactly matches ai-assistant, so any assistant Google adds to its own list lands here too.
  • Save the channel, click Reorder, drag AI Tools above both AI Assistant and Referral, click Apply, then click Save group.
  • Back in Traffic acquisition, switch the table dimension to your AI Tracking group to see AI Tools as its own row.

Can you track AI Overview traffic in GA4?

GA4 cannot separate AI Overview or AI Mode clicks, because Google sends them as ordinary google / organic visits inside the Organic Search channel. Search Console is where those clicks become visible.

The Search Console generative AI performance report shows clicks, impressions and click-through rate for AI Overviews and AI Mode, broken down by page, country, date and device. Google says the report reached all properties worldwide by August 31, 2026, and that it draws on the Web search data in the Performance report, so read those clicks as a slice of your Google totals rather than extra visits. Google’s help page lists no query breakdown for it, and the report leaves out the Gemini app, which GA4 already tracks as gemini.google.com.

To join the two tools, export the top AI pages from Search Console, then filter a GA4 exploration to those landing pages with the channel set to Organic Search. You get engagement and key events for the pages Google cites, though not for the AI clicks alone. For how those answers choose sources, read how to appear in Google AI Overviews and whether AI Mode is the same as Gemini. For mentions that never become a click, use the methods in our answer on how to measure AI search visibility.

What does source chatgpt.com mean in GA4?

Source chatgpt.com means the visitor clicked a link inside ChatGPT, and GA4 read it from the referrer or from the utm_source=chatgpt.com tag on the link.

OpenAI’s Publishers and Developers FAQ said ChatGPT "automatically includes the UTM parameter utm_source=chatgpt.com in referral URLs," as an archived copy of the OpenAI FAQ from October 4, 2026 shows; the live address now opens a different help article. Because the tag travels inside the URL, a ChatGPT search click keeps its source even when an app drops the referrer. That makes the tag the simplest way to track ChatGPT traffic in Google Analytics.

Even with the tag, GA4 misses part of the picture, so measure the gap with repeated prompt checks, as set out in how to get cited by ChatGPT, and a "How did you hear about us?" field on your demo or checkout form. For product catalogs, an ecommerce SEO program tracks the same gap page by page. These are the three blind spots:

  • Answers nobody clicks: a buyer reads your name in ChatGPT, then returns days later through branded search or Direct.
  • Links with no referrer and no tag, such as a URL copied out of an AI app and pasted into a browser, which GA4 records as Direct.
  • AI crawlers such as OAI-SearchBot and PerplexityBot, which do not show up as GA4 sessions; check your server logs for them.

How can a SaaS or D2C brand track AI traffic in GA4?

A SaaS or D2C brand tracks AI traffic in GA4 by reading the built-in AI Assistant channel, then adding a custom channel group whose AI Tools channel matches AI sources by regex and sits above Referral. Google says traffic joins the first channel it matches, so that order decides the result. Million Global Leads helps SaaS founders, D2C brands and growing businesses in the United States and Canada earn more of those AI visits in the 45-day AI Search Sprint, and teams that prefer to start alone can use the AI Search Readiness Kit.

Frequently asked questions

A ChatGPT visit shows as Direct when it arrives with no referrer and no utm tag, for example when someone copies a URL out of the ChatGPT app and pastes it into a browser. GA4 then has nothing to read, so it records (direct) / (none). Watch for Direct visits rising on deep pages that people rarely type in by hand, because those are often AI clicks.

Sources

  1. Google Analytics Help, [GA4] Default channel group, accessed December 5, 2026.
  2. Google Analytics Help, [GA4] Custom channel groups, accessed December 5, 2026.
  3. Google Analytics Help, About regular expressions (regex), accessed December 5, 2026.
  4. Google Analytics Help, [GA4] Compare subsets of data, accessed December 5, 2026.
  5. Search Console Help, Generative AI performance report (Search), accessed December 5, 2026.
  6. Search Engine Journal, Google Analytics adds AI Assistant as a default channel group, May 14, 2026.
  7. OpenAI Help Center (Internet Archive copy), Publishers and Developers FAQ, captured October 4, 2026.

Want more AI visits to track?

The AI Search Readiness Kit ($199) includes a 45-minute masterclass, JSON-LD templates and an answer-first copywriting outline, so your pages give AI engines more reasons to send clicks.

Get the Readiness Kit