How to track ChatGPT traffic and leads in GA4
Visits from AI assistants already arrive in Google Analytics 4, mixed into referral traffic. With one regex and one custom channel you see them per assistant, and with key events you see the leads they bring. Here is how, and where GA4 stays blind.
Short answer
- AI assistants send visitors with a referrer or a utm_source such as chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com or claude.ai.
- Create a custom channel group in GA4 with a channel “AI assistants” whose source matches one regex, placed above Referral.
- Mark your lead events as key events. The traffic acquisition report then shows sessions and leads per assistant.
- Clicks from Google AI Overviews and AI Mode cannot be separated: GA4 counts them as Google organic search.
Step 1: Find AI visits in your data
chatgpt|openai|gemini|perplexity|copilot|edgeservices|claudeOpen Reports, Acquisition, Traffic acquisition and switch the primary dimension to Session source. Search the table for the names below. ChatGPT adds utm_source=chatgpt.com to the links it cites, so those visits show the source chatgpt.com even when the browser sends no referrer.
This regex covers the assistants we see in GA4 data (Copilot can also arrive through edgeservices.bing.com):
Step 2: Create an “AI assistants” channel
Without the channel, AI visits stay inside Referral, next to links from blogs and partner sites, and nobody sees them in the default reports.
- Admin, Data display, Channel groups, Create new channel group. GA4 starts from a copy of the default channels.
- Add new channel, name it “AI assistants”, condition: Source matches regex, the regex from step 1.
- Move the new channel above Referral (channels match from top to bottom) and save.
- In Traffic acquisition, choose your channel group as the primary dimension.
Step 3: Count leads, not only visits
Visits from AI assistants are few compared with search, but they come with a recommendation. What matters is whether they turn into enquiries.
- Admin, Data display, Events: mark the events that stand for a lead (form sent, booking, trial started) as key events.
- In Traffic acquisition, pick these events in the key events column. Now you see leads per channel, including “AI assistants”.
- Add Session source as a secondary dimension to split the channel into ChatGPT, Perplexity, Gemini, Copilot and Claude.
What GA4 cannot see
- Google AI Overviews and AI Mode: clicks arrive with source google and medium organic, like any search click. GA4 offers no filter for them.
- Visits without a referrer: some apps open links without passing one on. Those visits land in Direct.
- Answers without a click: most AI answers are read and not clicked. Whether ChatGPT names you at all only shows in the answers themselves, see how to measure AI visibility.
So read the two together: AI visibility tells you how often the assistants name you, GA4 tells you what those mentions bring.
kennt.ai connects your GA4 property read-only (after you verify your domain) and shows sessions and leads per assistant next to how often each engine names you, with the same source rules as above. Free: 50 prompts in ChatGPT, Gemini, Google AI Overviews and AI Mode, every 3 days. Start with the free check.
Questions
Can I see ChatGPT traffic in Google Analytics 4?
Yes. Visits from ChatGPT arrive with the source chatgpt.com, usually through utm_source=chatgpt.com on cited links. Put them into a custom channel with the regex chatgpt|openai|gemini|perplexity|copilot|edgeservices|claude.
Can GA4 show traffic from Google AI Overviews or AI Mode?
No. Those clicks arrive as Google organic search and cannot be told apart from normal search clicks.
How do I see leads from ChatGPT in GA4?
Mark your lead events as key events, then open Traffic acquisition with your AI channel as the primary dimension and Session source as the secondary dimension.
Why is my AI traffic so small?
Most AI answers are read and not clicked, and some app visits arrive without a referrer. Low visits do not mean low visibility: measure how often the assistants name you as well.
Does AI recommend you?
The free AI visibility check asks ChatGPT, Gemini and Google AI Mode 10 buyer questions each, live. 45 seconds, no sign-up.