Skip to content

Get cited in ChatGPT, Gemini and Google AI Overviews. Free AI visibility check  Claim it

Analytics

How to Track ChatGPT and AI Search Traffic in GA4

Create a custom AI channel in GA4 so referrals from ChatGPT, Perplexity, Gemini, Copilot and Claude stop hiding inside "Referral", then report AI visits and leads properly.

ShareLinkedInXWhatsAppEmail

To track ChatGPT and AI search traffic in GA4, create a custom channel group with an “AI assistants” channel that matches AI referrers such as chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com and claude.ai, and place it above Referral. Your AI visits, engagement and leads then show up as their own line in every report.

Key takeaways

  • By default GA4 files AI visits under Referral, where they are easy to miss.
  • A custom channel group with one regex fixes that in about ten minutes, and it applies to past data too.
  • Clicks from Google AI Overviews still count as Organic Search; use Search Console for those.

Step-by-step: create the AI channel

  • Open channel groups. In GA4 go to Admin, then Data display, then Channel groups, then Create new channel group. Name it “Channels incl. AI”.
  • Add a new channel. Name it “AI assistants”. Set the condition: Session source matches regex (see below).
  • Reorder. Drag “AI assistants” above “Referral” so AI visits are classified first, then save.
  • Use it in reports. In Reports, then Acquisition, then Traffic acquisition, switch the dimension to your new channel group.
  • Mark key events. Make sure form submissions, calls and WhatsApp clicks are key events so you can see AI leads, not just visits.

The regex to use

^(.*\.)?(chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai|deepseek\.com|chat\.deepseek\.com|meta\.ai|you\.com|phind\.com)$

Add new AI tools as they appear in your referral list. Review the Referral report monthly for sources you do not recognise.

Want this set up for you?

Get GA4 configured with an AI channel, lead tracking and a monthly AI visibility report. Call or WhatsApp +91-8840146999.

Set up my tracking

What to report every month

A simple AI search report
Metric Where Why it matters
AI assistant sessions GA4, custom channel Shows whether AI tools are sending visitors
AI landing pages GA4, landing page by channel Shows which pages AI tools link to
AI key events and conversion rate GA4 Shows whether AI visitors become leads
Citation and mention share Prompt tracking Shows visibility that never becomes a click
CTR on AI Overview queries Search Console Shows the effect of AI summaries on organic clicks

Limits to keep in mind

  • Some AI apps strip the referrer, so part of AI traffic arrives as Direct
  • AI Overviews and AI Mode clicks are counted as Organic Search, not as AI
  • Many people read an AI answer and later search your brand name: that shows up as branded search, not AI
  • Small numbers swing a lot; compare quarters, not days

Frequently asked questions

Does ChatGPT traffic show up in GA4?

Yes, when users click a link in ChatGPT. It usually appears with the source chatgpt.com, often tagged with utm_source=chatgpt.com, and by default lands in the Referral channel.

Why is AI traffic sometimes counted as Direct?

Some apps and browsers strip the referrer, so the visit arrives without a source. This is why AI influence is usually larger than what analytics shows.

Can I track AI Overviews clicks separately in GA4?

No. Clicks from Google AI Overviews and AI Mode come from google.com and are counted as Organic Search. Search Console also groups them with normal web results.

Should AI traffic be its own channel?

Yes. A custom “AI assistants” channel makes the trend visible and lets you compare its conversion rate with other channels.

How much AI traffic is normal?

For most sites it is still a small share of sessions, but it often converts well because visitors arrive with a specific need. Track the trend, not just the total.

AI referral trafficanalyticsGA4Perplexitytrack ChatGPT traffic in GA4
ShareLinkedInXWhatsAppEmail

Written by

Anup Srivastava

SEO, GEO and AEO specialist with over 13 years in search. Anup builds and runs a network of live websites that double as test beds for AI search ideas, and helps brands get found, cited and chosen in Google and AI answers.

Related services

Keep reading

Related articles

Ready to be the answer AI recommends?

Book a free consultation and AI visibility check. You get a clear view of where you stand and what to fix first, with no obligation.

Free consultation