How to track traffic from ChatGPT, Perplexity and other AI assistants in GA4
Some AI-driven visits show up in Google Analytics and your logs; many never click at all. Here is how to measure what you can and read the gaps honestly.
By the Get AI Picked team · Published 30 November 2026 · Updated 4 December 2026
Once you start working on AI visibility, the obvious question is whether any of it brings customers. Some of it you can measure directly in Google Analytics 4 and your server logs. Some of it you can't, because many people read an AI answer and then phone or search for you by name without ever clicking a link. This guide shows what you can track, how to set it up, and how to read the gaps honestly.
Three different things to measure
| What | Where you see it | What it tells you |
|---|---|---|
| Visits from AI assistants | GA4 referral traffic | People who clicked a link in ChatGPT, Perplexity, Gemini, Copilot, Claude or Grok and landed on your site |
| AI crawlers reading your site | Server or CDN logs | Whether search and AI bots can reach your pages at all |
| Whether you're named | Asking the assistants | The thing you actually care about, which no analytics tool shows directly |
Swipe sideways to see the full table →
Step 1: find AI referrals in GA4
In GA4, go to Reports › Acquisition › Traffic acquisition, change the primary dimension to Session source, and add a filter using a regular expression that matches the AI assistants' domains. A starting pattern:
chatgpt\.com|openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|grok\.com|you\.com|meta\.ai
Save it as a comparison or build an Exploration so you can see it every month. ChatGPT search usually adds utm_source=chatgpt.com to the links it shows, so those visits normally appear with chatgpt.com as the source even when the browser doesn't pass a referrer.
Step 2: make a permanent "AI assistants" channel
GA4 lets you create custom channel groups (Admin › Data display › Channel groups). Add a channel called "AI assistants" using the same source pattern, and move it above "Referral" so those sessions don't get lumped in with ordinary referrals. Custom channel groups also apply to your past data in reports, so you can see the history straight away.
Step 3: check which pages they land on
Add Landing page as a secondary dimension. This is often the most useful view: it shows which of your pages the assistants are linking to, which tells you what they find most useful about you. If they all land on an old blog post and none on your service pages, that's a signal about what to improve.
Step 4: look at the crawlers in your logs
GA4 doesn't record bots. Your hosting or CDN logs do. The user agents worth recognising include:
- OAI-SearchBot (used for ChatGPT search results) and ChatGPT-User (fetches a page when a user's conversation needs it). GPTBot is OpenAI's training crawler.
- PerplexityBot and Perplexity-User.
- ClaudeBot and related Anthropic agents.
- Bingbot, which matters because Bing's index feeds several assistants, and Googlebot.
Note that Google-Extended is not a separate crawler; it's a robots.txt setting that controls whether content Googlebot fetches can be used for Gemini. Blocking it doesn't remove you from Google Search. If you use Cloudflare, its dashboard can show AI crawler activity for your domain. See our guide to robots.txt, llms.txt and AI crawlers.
Step 5: catch the visits analytics misses
- Ask new customers how they found you, with "ChatGPT or another AI assistant" as an option on your enquiry form and in your phone script.
- Watch branded searches in Google Search Console and Bing Webmaster Tools. If more people search for your business name after you've improved your AI visibility, some of that is likely people checking you out after an AI answer.
- Test the answers themselves each month, with the same questions, and keep a simple record. Our guide to checking whether ChatGPT recommends you explains how.
Track clicks from Google's AI answers (UK)
Since 1 December 2026, when someone in the UK clicks a link in Google's AI Overviews, AI Mode or the AI features in Discover, Google adds googsrc=ai-uk to the web address, for example:
https://yourbusiness.co.uk/?googsrc=ai-uk
It is only added to organic links, not Google Ads.
How to see it in GA4:
- Reports › Engagement › Landing page (or Explore › Free form).
- Add a filter: Landing page + query string contains
googsrc=ai-uk. - Save it as a comparison or exploration called "Google AI answers (UK)".
Check that any redirects on your site keep the query string, or the tag is lost before GA4 records the visit.
Limits (from Google): UK visitors only; it doesn't say whether the click came from AI Overviews, AI Mode or Discover; and privacy settings or ad blockers can strip it. For the full picture use the generative AI performance report in Search Console.
Reading the numbers honestly
For most local businesses, AI referral visits are small in absolute terms, and many AI-influenced customers never click at all. Small numbers don't mean nothing is happening, and a sudden spike doesn't prove a strategy works. Look at the trend over several months alongside how often you're named when you test, and what new customers tell you.
Frequently asked questions
Can I see ChatGPT traffic in Google Analytics?
Yes, visits from people who click a link in ChatGPT usually show chatgpt.com as the session source, because ChatGPT search adds utm_source=chatgpt.com to many links. Filter GA4 traffic acquisition by session source.
Why is my AI referral traffic so low?
Many people read an AI answer and then phone you or search your name without clicking. Low referral numbers don't mean you aren't being recommended; test the answers directly too.
Does GA4 show AI crawlers like GPTBot?
No. GA4 doesn't record bots. Check your server or CDN logs for user agents such as OAI-SearchBot, GPTBot, PerplexityBot and ClaudeBot.
Related guides
- How to Check if ChatGPT Recommends Your Business (UK, 2026)
- llms.txt, robots.txt & AI Crawlers: Small Business Guide (UK)
- Bing Places & Bing Webmaster Tools: Why They Matter for ChatGPT
- Free DIY AI visibility checklist for UK small businesses
- Why does ChatGPT recommend my competitor and not me?
See whether AI models recommend your business today
We help businesses like yours across the UK get recommended by AI assistants like ChatGPT, Gemini, Perplexity and Claude. Run our free AI visibility check in 30 seconds (no sign-up). Want us to sort everything for you? Our AI Visibility Fix is £295 one-off, with optional £49/month monitoring.