How to Track AI Traffic in Google Analytics (2026)
See how to find and track visitors from ChatGPT, Gemini, and other AI tools in GA4 — using the 2026 AI channel group and a simple custom setup.
5 min read · Updated 2026-06-22

Short answer
When someone follows a link to your site from ChatGPT, Gemini, Perplexity, or Copilot, that visit shows up in GA4 as referral traffic — with a source like chatgpt.com or perplexity.ai. In 2026 GA4 also started grouping these into an AI-assistant channel. To track it: check that channel, then build a custom channel group so every AI tool is counted together.
Why AI traffic matters now
More and more people ask an AI assistant — "what's the best invoicing app for freelancers?" — instead of searching Google. If the AI mentions your business and the person clicks through, that's a visitor who never touched a search results page.
Tracking this tells you two things: whether AI tools know your business exists, and which of your pages they trust enough to cite. That's a signal worth watching as this traffic source grows.
- Title tag under 60 characters
- Sitemap submitted to Search Console
- Google Analytics set up correctly
- + 24 more
Free checklist
The Small Business SEO Checklist
Covers Google Analytics setup, keyword basics, on-page SEO, and local SEO — free to use, no signup.
Open the checklistStep 1: Check the AI channel in GA4
In early 2026, GA4 began recognising major AI assistants as their own traffic channel.
- Go to Reports → Acquisition → Traffic acquisition
- Look at the Session primary channel group column
- Check for an AI-assistant (or "AI") channel in the list
If you see it, GA4 is already bucketing AI traffic for you. If you don't see it yet — the rollout is gradual, and it only appears once you've actually received AI traffic — use the manual method below.
Step 2: Find AI referrals manually
Whether or not the channel shows up, you can always find AI traffic by source:
- Go to Reports → Acquisition → Traffic acquisition
- Set the dimension to Session source / medium
- Look for these AI hostnames:
chatgpt.comandchat.openai.com— ChatGPTperplexity.ai— Perplexitygemini.google.com— Google Geminicopilot.microsoft.com— Microsoft Copilotclaude.ai— Claude
Each one that appears is a real person who reached you through an AI tool.
Step 3: Group every AI tool together
Checking hostnames one by one is tedious. Create a custom channel group so they're counted as one line:
- Go to Admin → Data display → Channel groups
- Click Create new channel group
- Add a channel called "AI assistants"
- Set the condition to Source matches regex:
chatgpt|openai|perplexity|gemini|copilot|claude - Save, and order it above Referral so AI visits land in the right bucket
Now your reports show AI traffic as a single, trackable channel. (New channel groups only apply going forward, not to historical data.)
Step 4: Recover the AI traffic you're missing
Some AI tools hide the referrer, so a share of AI visits land as direct or unassigned. Two ways to claw some of it back:
- Tag links you share. When you post a link inside an AI-friendly context, add UTM parameters (
?utm_source=chatgpt&utm_medium=ai) so the visit is labelled correctly. - Watch your landing pages. A sudden rise in direct traffic to one deep article is often an AI tool citing it. Cross-check in where your traffic comes from.
What to do with the data
If a page is pulling AI referrals, it's earning AI trust — make more like it. If you're getting none, that's a prompt to publish clear, factual, well-structured content (the kind AI tools quote). Treat AI traffic as one of the website metrics that matter and check it monthly.
Frequently asked questions
Does GA4 track traffic from ChatGPT and other AI tools?
Yes — when someone clicks a link to your site from a tool like ChatGPT, Perplexity, or Gemini, that visit arrives as referral traffic and GA4 records the source (for example chatgpt.com or perplexity.ai). In 2026 GA4 also began grouping these sources into an AI-assistant channel in its default reports, so you can see them without building anything custom.
Why does my AI traffic show as 'direct' or 'unassigned'?
Some AI tools strip the referrer or open links in an in-app browser, so the visit lands in GA4 as direct or unassigned instead of as a referral. You can recover some of it by adding UTM tags to links you share inside AI tools, and by checking landing-page reports for unusual spikes on pages an AI is likely to cite.
Is AI traffic worth tracking for a small business?
It's becoming worth it. A growing share of buyers now ask an AI assistant for recommendations before they ever reach Google. Even a small amount of AI referral traffic tells you the AI tools know your business exists and are sending people your way.
How do I see which page an AI tool sent traffic to?
In GA4 go to Reports → Engagement → Landing page, then add Session source / medium as a secondary dimension. Filter the source to the AI hostnames to see exactly which pages AI tools are pointing people to.
Related questions
Free SEO checklist
Grab our free Small Business SEO Checklist — a step-by-step guide to ranking your site higher.