Free resource

ChatGPT Traffic in Google Analytics: A Copy-Paste GA4 AI Channel

By , Lead SEO & Co-founder 6 min read
An analytics room at night where light streams from several sources are sorted into separate glowing channels on a big wall panel, one new channel glowing crimson, workstations with monitors showing abstract bars in front

To see ChatGPT traffic in Google Analytics, open the Traffic acquisition report and look for the "AI Assistant" channel that Google added to GA4 in May 2026. That's a decent start. But Google hasn't published which AI tools it recognizes, so this page gives you a custom channel with a regex (a pattern that matches text) you can see and edit, covering ChatGPT, Perplexity, Copilot, Gemini, Claude and the smaller ones.

Setup takes about ten minutes and needs Editor access to your GA4 property. It works on past data too.

If you'd rather have the whole tracking setup checked (calls, forms, bookings and AI traffic), the tracking questionnaire is short. I reply with a plan and a fixed quote within one business day.

What GA4's built-in AI Assistant channel does (and doesn't)

Google's default channel group definitions now include an "AI Assistant" channel for visitors arriving "from sources like ChatGPT, Gemini, Deepseek, Copilot, or Grok." When the referrer matches Google's list, GA4 sets the medium to ai-assistant.

Three gaps are worth knowing:

  1. The list is private. Google names examples but doesn't publish the full set of recognized referrers. You can't check whether Perplexity, Claude or a new tool is included.
  2. No referrer, no credit. Visits from mobile apps, in-app browsers and copied links often arrive without a referrer. Search Engine Journal's coverage of the launch notes those still land in Direct.
  3. Google's own AI isn't in it. The channel explicitly excludes AI Overviews and AI Mode. Clicks from those count as regular Google organic traffic.

A custom channel fixes the first gap. Nothing in GA4 fixes the other two, but I'll show you where to look instead.

The AI referrer list (checked October 2026)

Referrer domain Product Notes
chatgpt.com ChatGPT OpenAI also adds utm_source=chatgpt.com to links
chat.openai.com ChatGPT (old domain) Still appears in older data
perplexity.ai Perplexity The regex also catches www.perplexity.ai
claude.ai Claude
gemini.google.com Gemini app Not AI Overviews or AI Mode
copilot.microsoft.com Microsoft Copilot
copilot.com Microsoft Copilot Alternate domain
edgeservices.bing.com Copilot in the Edge sidebar Reported by several analysts, not documented by Microsoft
chat.deepseek.com DeepSeek
grok.com Grok
meta.ai Meta AI
chat.mistral.ai Mistral Le Chat
you.com You.com
poe.com Poe

OpenAI says ChatGPT automatically adds the utm_source=chatgpt.com parameter to referral URLs. That's why ChatGPT tends to show up cleanly even when the referrer is missing. Most other tools don't tag their links.

The regex (copy and paste)

Text
^(.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|edgeservices\.bing\.com|chat\.deepseek\.com|grok\.com|meta\.ai|chat\.mistral\.ai|you\.com|poe\.com)$

What each part does:

  • ^ and $ pin the match to the whole source value, so notchatgpt.com.example.net won't sneak in.
  • (.*\.)? allows an optional subdomain, so www.perplexity.ai matches as well as perplexity.ai.
  • \. is a literal dot. Without the backslash, a dot means "any character".

Could it break anything? No. A channel group only changes how reports label traffic. It never changes the data GA4 collects.

How to add the AI channel in GA4, step by step

These steps follow Google's help page on custom channel groups, current as of October 2026.

  1. In GA4, click Admin (the gear, bottom left). Under Data display, click Channel groups.
  2. Click Create new channel group. GA4 starts you with a copy of the default group, which is what you want.
  3. Name it something obvious, like "Channels + AI".
  4. Click Add new channel. Name it "AI Assistants (all)".
  5. Click Add condition group. Choose the Source dimension, set the match type to matches regex, and paste the regex above. Click Save channel.
  6. Click Reorder and drag your new channel above Referral, and above Google's built-in AI Assistant channel if you want every AI visit in one bucket. GA4 puts each session in the first channel it matches, top to bottom. Click Apply.
  7. Click Save group.

Now open Reports, then Acquisition, then Traffic acquisition. Click the dimension drop-down above the table (it says "Session primary channel group" by default) and choose your new group.

A few limits from Google's help page: a standard property gets two custom channel groups, each with up to 50 channels. Deleting a group can't be undone. Channel definitions aren't case-sensitive.

How to check ChatGPT traffic in Google Analytics is being counted

Don't trust a regex until it catches a real visit.

  1. Open ChatGPT, ask a question your site answers, and click the link to your site if it's cited. Or paste your URL into a chat and click it.
  2. In GA4, open Reports, then Realtime. Your visit should appear within a minute or two with source chatgpt.com.
  3. A day later, check that it lands under "AI Assistants (all)" in Traffic acquisition.

If a tool sends traffic under a domain that isn't on the list, you'll find it in the Referral channel. Add it to the regex with a | and a backslash before each dot.

Three reports worth building once it's running

Which pages AI sends people to. In Reports, open Engagement, then Landing page. Add a filter for your custom channel equal to "AI Assistants (all)". The pages at the top are the ones AI tools cite. Those are your best candidates to keep accurate and up to date.

Do AI visitors convert? In Traffic acquisition, add your key events (the actions GA4 counts as conversions, like form submits and calls) as a column. AI referrals are usually small in number. Whether they turn into leads is the more useful question.

Month-over-month trend. Set the date range to the last 12 months and compare. The channel works on past data, so you'll see the trend from the day you set it up.

What GA4 can't show you (and where to look instead)

You want to know GA4 shows it? Where to look
Clicks from ChatGPT, Perplexity, Copilot, Claude Yes, with the channel above GA4
Clicks from Google AI Overviews and AI Mode No, mixed into organic search Search Console Performance report
How often Google's AI features showed your pages No Search Console Generative AI report (impressions only)
How often Copilot cited your pages No Bing Webmaster Tools AI Performance report
AI visits with no referrer No, they land in Direct Watch for unexplained Direct growth on deep pages

Google's Generative AI performance report in Search Console counts impressions in AI Overviews and AI Mode by page, country, date and device. Bing's AI Performance report counts citations in Copilot and Bing's AI answers. Neither gives clicks or full query lists, but together with GA4 they're as close to a full picture as an owner can get for free.

If your AI referrals are flat at zero, measurement may not be the problem. Your site may be blocked from AI crawlers. My robots.txt setups for AI crawlers and the owner's guide to AI search cover that side.

Keeping the list current

AI tools launch, rebrand and change domains. The "checked" date above tells you when this list was last verified. Between updates, glance at your Referral channel once a month. Any AI-looking domain there belongs in the regex.

When to hand this off

The AI channel is a ten-minute job. The harder part is everything around it: calls, forms and bookings recorded as key events, Google Ads imports, consent mode. If those aren't right, your AI numbers sit next to conversion numbers you can't trust.

That's what my analytics and tracking setup covers. I'll also check whether AI traffic is worth chasing for your business, through AI search visibility work if it is. Tell me about your current setup and I'll reply with a fixed quote. No pressure either way.

Want a second pair of eyes on your site?

Tell me what's going on in the analytics & tracking setup questionnaire. I reply with a plan and a fixed quote within one business day.

Starting at $750 Start the questionnaire