ServicesSEOAds Lead GenWeb DesignAboutBlogCareers Book Free Audit →

How to track ChatGPT and other AI assistant traffic in Google Analytics 4

GA4 now has an AI Assistant channel. Where to find it, the places AI visits slip past it, and a filter and channel group that catch the rest.

To track ChatGPT traffic in Google Analytics 4, go to Reports, then Acquisition, then Traffic acquisition, and find the AI Assistant row in the channel table. GA4 now files visits referred by assistants such as ChatGPT, Gemini and Claude there by itself. Switch the table to Session source / medium to see each assistant by name. Visits that reach you without a referrer still land in Direct, so read the figure as a floor.

Everything below happens in the standard GA4 reports and the Admin area, and none of it needs a developer. The only setup is one report filter and, if you want older data as well, one channel group of your own.

This is the Analytics half of measuring AI search. Our guide to what AI SEO is and how to measure it covers the rest, such as AI crawler visits in your server logs and checking what the assistants say about you. If you pay someone for AI SEO, this is the part of the reporting you can check yourself.

Does GA4 track ChatGPT traffic without any setup?

Largely, yes. In its release notes for 13 May 2026, Google added an AI Assistant channel to the default channel group. When a visit's referrer matches an assistant Google recognises, GA4 gives it the medium ai-assistant and the campaign name (ai-assistant), and counts it under AI Assistant. The release note mentions ChatGPT, Gemini and Claude, and Google's default channel group page gives ChatGPT, Gemini, DeepSeek, Copilot and Grok as examples.

Two limits come with it. Google's help pages give examples rather than the full list of assistants it recognises. The downloadable source list on the channel page covers search, social, shopping and video sites only, so whether a smaller assistant your customers use is recognised is something you find out from your own data.

The channel also leaves out the AI features inside Google Search. GA4 counts clicks from AI Overviews and AI Mode under Organic Search, and Google's documentation says Search Console reports them within its ordinary web search figures. They're a separate question from this one.

Where do you find AI assistant visits in GA4?

In the Traffic acquisition report, which opens on the channel view.

  1. Sign in to Google Analytics and select Reports from the menu on the left.
  2. Select Acquisition, then Traffic acquisition.
  3. Pick a recent date range and find the AI Assistant row.
  4. To see which assistants sent the visits, open the dimension drop-down above the first column and choose Session source / medium.
  5. Read across to Engaged sessions, Key events and Session key event rate. They show whether those visitors did anything once they arrived.

If there's no AI Assistant row, nothing in that period matched Google's list. That doesn't mean nobody came from an assistant, and the next section shows where else those visits can sit.

Why do some AI visits end up in other channels?

GA4 labels a visit from what arrives with it: the referrer, plus any tracking tags on the link. Google's channel rules then sort it, and an assistant visit can end up in any of five places.

Where it showsWhat the row looks likeWhy it lands there
AI AssistantAn assistant's domain, medium ai-assistantThe referrer matched Google's list
ReferralAn assistant's domain, medium referralThe assistant isn't on Google's list. Visits from before Google added the channel may also sit here, as Google's note doesn't say older data was relabelled
UnassignedAn assistant's name, medium (not set)The link carried a source tag but no medium tag. Google says missing tags show as (not set), and Unassigned is the label for visits no channel rule matches
Direct(direct) / (none)Nothing to trace, for example a link copied out of a chat and pasted into a browser
Organic Searchgoogle / organicA click from AI Overviews or AI Mode, which Google counts as search

Only the first row is labelled for you. OpenAI's publisher FAQ says ChatGPT automatically includes utm_source=chatgpt.com in its referral links. That tag names the source and says nothing about the medium, so if chatgpt.com turns up with a medium of (not set), the tag is the likely reason.

Google's page on (direct) / (none) traffic adds that ad blockers can push visits into Direct as well, and once a visit is there, nothing in the report says where it came from.

How do you see every AI source in one table?

Add a regex filter to the Traffic acquisition report. GA4's report filters accept regular expressions, and the match type you want is matches partial regex, which finds a name anywhere in the source.

  1. In Traffic acquisition, with Session source / medium as the dimension, click + Add filter.
  2. Choose Session source as the dimension.
  3. In the Match Type field, choose matches partial regex.
  4. In the text box, enter chatgpt|openai|perplexity|claude|gemini|copilot|deepseek|grok
  5. Click Apply.

The vertical bars separate the alternatives, so the table keeps every source that contains one of those names, whichever channel it landed in. Regex in GA4 is case sensitive, so each name has to be spelt the way it appears in your own source list. A short name can also match a site that has nothing to do with AI. Read down the rows before you trust the total, add any assistant you spot among your Referral rows, and take out anything that catches the wrong sites.

How do you build an AI channel that covers older data too?

Use a custom channel group. Google says custom channel groups can be applied to your reports retroactively, so your own AI channel can show assistant visits from before Google's channel existed, and you decide which assistants count. You need the Editor role or higher, and a standard property can hold two custom groups alongside the default one.

  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. Give it a name.
  3. Click Add new channel, call it AI assistants, and click + Add condition group.
  4. Set the condition to Source, matches regex, and enter .*(chatgpt|openai|perplexity|claude|gemini|copilot|deepseek|grok).* before you click Save channel.
  5. Click Reorder and drag AI assistants up the list, above Referral, Organic Search and any AI channel the copy already contains, then click Apply.
  6. Click Save group.

The .* at each end matters. GA4 regex matches the whole value by default, so without them the pattern would only catch a source that is exactly chatgpt, or exactly one of the other names. Order matters as well. GA4 puts each visit in the first channel it matches, working down the list, which is why Google's own example places the AI channel above Referral.

To use the group, open Traffic acquisition and choose it from the dimension drop-down. Custom groups also appear in explorations and in the audience builder.

Which pages do AI visitors land on, and do they get in touch?

The Landing page report answers both. Select Reports, then Engagement, then Landing page. Click + Add filter, choose Session default channel group, set the Match Type to Exactly matches, select AI Assistant and click Apply. If you built your own group, add it as a secondary dimension instead and read the AI assistants rows.

You now have the pages the assistants send people to, with Key events beside each one. Read those pages the way a stranger would. Check that each one answers the question that probably brought the visitor, and that the way to contact you is obvious on a phone.

The Key events column only counts what you've told GA4 to count. It fills from events you mark as key events, so if the events that record enquiries, such as form submissions or taps on your phone number, aren't marked, the column won't count them, however many enquiries arrive. Once it's right, judge AI traffic like any other source: by the enquiries it brings and what each one is worth to you. Our post on how much a lead is worth shows how to work that out.

How does Position Xero handle Analytics on client sites?

When we build a website, setting up Google Analytics and Search Console and submitting the sitemap are part of the launch, so the site is tracked from its first day. Our page on SEO in South Africa lists analytics configured to measure enquiries rather than sessions as part of the first stage of the work.

The same page says your Analytics, Search Console and ad accounts should be in your name, with the agency holding access, and our terms say the data and reports produced for you belong to you. Getting quoted by the assistants in the first place is the AI search side of our SEO service. A channel like the one above is how you'd see whether that work sends anyone to the site.

What should you check this week?

Start with what GA4 already gives you, then fill the gaps.

  • Open Traffic acquisition for the last three months and note the AI Assistant sessions and key events.
  • Switch to Session source / medium and look through the Referral, Unassigned and (not set) rows for assistant names.
  • Make sure the events that record enquiries are marked as key events.
  • If you need older data, or you found assistants outside Google's list, build the custom channel group.
  • Write the figures down once a month and compare like with like, remembering that Direct holds some visits you'll never be able to attribute.

Related Articles

Want help implementing this for your business?

Book a free 30-minute audit. We'll review your current setup and show you exactly what we'd change.

Book My Free Strategy Call