Summarise this post with:
Your sales team says a few new leads mentioned finding you “on ChatGPT”. But when you open Google Analytics, there is no “AI” channel anywhere. So is AI search actually sending you business, or not? The good news: you can track AI traffic in GA4 with a few simple settings, and once it is set up you will see exactly which AI tools send visitors, which pages they land on and whether they convert.
This guide walks you through the full setup step by step, in plain language, so a business owner or marketing manager can do it in under an hour.
Key takeaways
- GA4 does not have a built-in AI channel. Most AI visits hide inside “Referral” or “Direct”.
- A custom channel group with a simple regex rule pulls ChatGPT, Perplexity, Gemini, Copilot and Claude visits into one “AI Search” channel.
- Google AI Overviews and AI Mode clicks are counted as Google organic traffic, so you cannot fully separate them in GA4.
- Track key events (form fills, WhatsApp clicks, calls) so you measure leads from AI, not just visits.
- Add a “How did you hear about us?” option for AI tools to capture the visits analytics will always miss.
Why it is hard to track AI traffic in GA4
When someone clicks a link inside ChatGPT, Perplexity or Gemini, their browser usually passes a referrer such as chatgpt.com or perplexity.ai. GA4 sees that and files the visit under the generic “Referral” channel, mixed in with directories, partner sites and random blogs. Nobody notices it.
Other AI visits never show a referrer at all. Mobile apps, desktop apps and copy-pasted links often arrive as “Direct” traffic. And Google’s own AI features, AI Overviews and AI Mode, send clicks that GA4 reports as ordinary google / organic.
So out of the box, AI traffic is scattered across three channels. The steps below fix the biggest and most measurable part: visits from AI assistants that pass a referrer.
Step 1: Check what AI traffic you already get
Before changing any settings, take a quick look at the raw data:
- In GA4, go to Reports > Acquisition > Traffic acquisition.
- Change the primary dimension from “Session default channel group” to Session source / medium.
- Set the date range to the last 3 to 6 months.
- In the search box above the table, type chatgpt, then perplexity, then gemini.
You will typically see sources like chatgpt.com / referral or chatgpt.com / (not set). ChatGPT often adds a utm_source=chatgpt.com tag to the links it shows, which is why it can appear as its own source. If you see even a handful of sessions, AI tools are already recommending your site. This is your baseline.
Step 2: Create an “AI Search” custom channel group
Searching each source every month gets tiring. A custom channel group gives AI its own line in every acquisition report, right next to Organic Search and Paid Social. This is the core of how you track AI traffic in GA4.
- Go to Admin > Data display > Channel groups.
- Click Create new channel group and name it something like “Channels with AI”.
- GA4 copies the default channels into your new group. Click Add new channel.
- Name the channel AI Search.
- Set the condition to Source > matches regex and paste the pattern below.
- Save the channel, then drag AI Search above the Referral channel. This matters: GA4 checks channels top to bottom, and if Referral comes first it will grab the AI visits.
- Save the group.
Here is a starter regex you can paste in:
chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|gemini\.google\.com|bard\.google\.com|copilot\.microsoft\.com|claude\.ai|meta\.ai|deepseek\.com|you\.com|poe\.com
AI tools change their domains from time to time, so review this list every few months and add new sources you spot in the source / medium report.
A few practical notes:
- Custom channel groups work on your past data too, so you can compare months immediately.
- Standard GA4 properties allow only a limited number of custom channel groups, so keep one clean group rather than many test versions.
- To view it, open Traffic acquisition, click the dropdown on the primary dimension and choose your new channel group.
Step 3: Find which pages AI tools send people to
Knowing that ChatGPT sent 40 visits is nice. Knowing it sent them to your “GST registration cost in Mumbai” guide is useful, because now you know what kind of content AI tools trust from you.
Build a quick exploration:
- Go to Explore > Free form.
- Add the dimensions Session source and Landing page + query string.
- Add the metrics Sessions, Engaged sessions and Key events.
- Add a filter: Session source matches regex, using the same pattern from Step 2.
- Put landing page in rows and source in columns.
Patterns jump out fast. A Mumbai interior design firm, for example, might find that AI assistants mostly send visitors to its detailed cost guides and FAQ pages, not its homepage. That tells you to create more of those pages. Our guide on how to rank in AI search across ChatGPT, Gemini and SGE explains how to build that kind of content.
Step 4: Measure leads, not just visits
Traffic only matters if it turns into enquiries. Make sure the actions that bring you business are set up as key events in GA4 (Admin > Data display > Events, then mark the event as a key event):
- Contact form submissions (track a thank-you page view or a form submit event)
- WhatsApp button clicks, which matter a lot for Indian businesses
- Click-to-call taps on mobile
- Add-to-cart and purchase events for ecommerce stores
Once these are in place, your AI Search channel shows key events and conversion rate alongside every other channel. Many businesses find AI visitors arrive better informed, because the assistant already answered their basic questions. If you need help setting up events properly, see how to use Google Analytics to turn your website into a conversion machine.
Step 5: Understand what GA4 cannot show you
Be honest with yourself and your team about the gaps. Even with perfect setup, GA4 will under-count AI influence.
| Source of AI visit | How GA4 records it | Can you isolate it? |
|---|---|---|
| ChatGPT, Perplexity, Gemini, Copilot (web, with referrer) | Referral or utm source | Yes, with the custom channel group |
| AI apps on mobile or desktop | Often Direct | Partly, by watching Direct trends |
| Google AI Overviews and AI Mode | google / organic | No, it is mixed with normal search |
| Someone reads an AI answer, then searches your brand name | Organic or Direct | No, only through branded search growth |
That last row is the biggest one. Many people see your name in an AI answer and then Google you directly. The click never comes from the AI tool, but the AI started the journey. Google itself has had to fix how AI Mode clicks are attributed, which we covered in Google’s AI Mode traffic attribution bug fix.
How to fill the gaps
- Add an AI option to your forms. In your “How did you hear about us?” dropdown, add “ChatGPT / AI assistant”. It is low-tech and very revealing.
- Ask on calls and WhatsApp. Train your sales team to ask new leads where they first heard of you and log it in your CRM.
- Watch branded search in Search Console. Steady growth in searches for your brand name, while other channels stay flat, often points to AI mentions.
- Test prompts manually. Once a month, ask ChatGPT, Gemini and Perplexity the questions your customers ask, such as “best CA firm in Andheri for startups”, and note whether you appear.
Step 6: Build a simple monthly AI traffic report
You do not need a fancy dashboard. A one-page monthly check is enough for most small and mid-sized businesses:
- AI Search sessions this month vs last month
- Top 3 AI sources (for example ChatGPT, Perplexity, Gemini)
- Top 5 landing pages from AI visitors
- Key events and conversion rate from the AI Search channel
- Form responses that mentioned AI tools
- Branded search clicks from Search Console
If you already use Looker Studio, you can connect GA4 and add your custom channel group as a dimension, so the report updates itself. Otherwise, a shared spreadsheet filled in once a month works perfectly well.
Common mistakes to avoid
- Leaving AI Search below Referral. The channel will show zero, and you will think nobody comes from AI.
- Using “contains chatgpt” only. You will miss Perplexity, Gemini, Copilot and newer tools.
- Never updating the regex. New AI tools and domains appear regularly.
- Judging AI on sessions alone. Volumes are usually small compared with Google, but the leads can be high intent. Look at key events and lead quality.
- Treating GA4 numbers as the full picture. They are a floor, not a ceiling.
What to do once you can see AI traffic
Tracking is only the first step. Once you can see which pages AI tools cite, double down on them: add clear answers near the top, FAQ sections, author details, updated facts and strong internal links. Pages that answer specific questions well tend to get picked up again and again.
Then look for gaps. If competitors show up in AI answers for your core services and you do not, that is your content plan for the next quarter.
Conclusion
AI search is already sending visitors to many Indian business websites, but GA4 hides most of it inside Referral, Direct and Google organic. When you track AI traffic in GA4 with a custom channel group, proper key events and a simple monthly report, you swap guesswork for real numbers. Add a “How did you hear about us?” question and a quick monthly prompt test, and you will have a clear view of how much AI is helping your business.
If you want help setting up AI tracking and growing your visibility in ChatGPT, Gemini and Google AI, the team at Velocity Consultancy can help. Explore our AIO agency services to see how we help Mumbai businesses get found, and measured, in AI search.
Frequently Asked Questions
Does GA4 automatically show traffic from ChatGPT?
Not as a separate channel. GA4 usually records ChatGPT visits as referral traffic from chatgpt.com, mixed in with other referring websites. You can find them by switching the Traffic acquisition report to Session source / medium, or by creating a custom channel group with an AI Search channel so these visits appear on their own line in every report.
Can I see Google AI Overviews traffic in GA4?
Not separately. Clicks from Google AI Overviews and AI Mode are recorded as google / organic, the same as regular search results. Search Console also blends this data into overall web search performance. The best you can do is watch landing page and branded search trends, and test your key queries manually to see whether your pages are cited.
Will the AI channel group show my older data?
Yes. Custom channel groups in GA4 are applied to your existing data as well as new data, so once you create an AI Search channel you can compare previous months straight away. This is different from some other GA4 settings, such as new custom dimensions, which only start collecting data from the day you create them.
How often should I update my AI source regex?
Review it every two to three months. New AI assistants launch regularly and existing ones sometimes change domains. Check your Session source / medium report for unfamiliar referrers that look AI-related, add them to the regex in your custom channel, and save. Keeping the list current makes sure your AI Search numbers stay accurate over time.
