ZenWeb - Blog - How to Track AI Search Traffic in GA4

How to Track AI Search Traffic in GA4

Jian Tat Lee
July 4, 2026

Share this post:

How to Track AI Search Traffic in GA4
TL;DR: AI search traffic is the visits people send to your site after asking ChatGPT, Perplexity, Gemini or Copilot. By default GA4 buries most of it under “Referral” or lumps it into “Direct”. You see it clearly by building a custom AI channel group with a regex on session source, then watching it in Explore. This guide gives Malaysian SMEs the exact setup.

1. Introduction

A growing share of your customers now begin their research inside an AI tool. They ask ChatGPT for a recommendation, ask Perplexity to compare two suppliers, or read Google’s AI answer and click through to one site. That click is real traffic with real buying intent. But open your Google Analytics 4 report and most of it is invisible, hidden inside “Referral” or quietly folded into “Direct”.

We are the team at ZenWeb, and we help Malaysian SMEs stay visible as search shifts from blue links to AI answers. If you cannot measure AI search traffic, you cannot prove it is working or decide where to spend your effort. This guide shows you how to track AI search traffic in GA4: what to look for, the exact channel-group setup, and how to report it without guesswork.

We will keep it practical and Malaysian. Before the step-by-step, here is a clear walkthrough from Ahrefs on spotting AI traffic in GA4.

How to Track AI Traffic in GA4 and Ahrefs Web Analytics (ChatGPT & More) | 4.1. AEO Course by Ahrefs

Source video: Ahrefs on YouTube


2. What Counts as AI Search Traffic?

Quick Answer: AI search traffic is any visit that lands on your site after someone uses an AI tool — ChatGPT, Perplexity, Gemini, Copilot or Claude — instead of clicking a normal search result. It behaves like a referral: the AI names your site, the user taps the citation, and they arrive already informed. It is the traffic side of generative engine optimization.

There are two distinct flavours, and they show up differently in your data. The first is a true referral click, where someone reads an AI answer and clicks a linked source to your site. The second is a click from Google’s own AI Overview, which still arrives as ordinary Google organic, not as a separate AI source.

The AI engines that send Malaysian businesses the most referral traffic today are a short, stable list:

  • ChatGPT. The largest single source, arriving from chatgpt.com when a user clicks a cited link.
  • Perplexity. A search-first AI that shows sources prominently, so it clicks through more than most.
  • Google Gemini and AI Mode. Gemini referrals plus AI answers blended into Google search.
  • Microsoft Copilot and Claude. Smaller but rising, especially among office and research users.

If the difference between ranking and being cited is still fuzzy, our explainer on SEO, AEO and GEO lays out where each one fits.

Key takeaway: AI search traffic splits into referral clicks from AI tools and blended clicks from Google’s AI Overviews. The first is trackable as a source; the second hides inside organic.

Want AI engines sending you this traffic in the first place?

Getting cited is what creates the visits you are about to measure. See how our SEO service helps you get cited →


3. Why AI Traffic Is Hard to See in GA4 by Default

Quick Answer: GA4 has no built-in “AI” channel. Visits from ChatGPT or Perplexity drop into the generic “Referral” bucket, and when an AI app strips the referrer, they vanish into “Direct”. The traffic is in your data — it is just mislabelled and scattered, which is why AI clicks feel invisible even as click-through behaviour shifts.

Three things conspire to hide AI traffic from a standard report:

  • No native AI channel. GA4’s default channel groups were built before AI search existed, so nothing labels these sources as “AI”.
  • Referrer stripping. Many AI tools open links inside an app or strip the referrer, so the visit lands as “Direct” with no source at all.
  • AI Overviews look organic. A click from Google’s AI answer is still tagged as Google organic search, blending in with every other Google visit.

The result is an undercount. Your real AI traffic is higher than the “Referral” line suggests, because a chunk of it has scattered into “Direct” and into organic. Fixing the labelling is what turns a vague hunch into a number you can report.

Key takeaway: GA4 does not hide AI traffic on purpose — it simply has no AI label, so the visits scatter across Referral, Direct and organic until you build a rule to catch them.

4. How AI Platforms Show Up in GA4

Quick Answer: Each AI platform arrives under a different source name, and most default to “Referral”. Knowing the exact referrer domains is the key to capturing them all with one rule. The table below maps the main AI engines to how they appear in your GA4 reports, the same way they surface when you get cited in AI answers.

Build your tracking around these source names. They change slowly, so one well-made rule lasts for months.

How AI Platforms Appear in GA4
Mapping of major AI platforms to their GA4 session source and default channel, ZenWeb summary of observed behaviour.
AI platformTypical source in GA4Default channel
ChatGPTchatgpt.com, chat.openai.comReferral (or Direct if stripped)
Perplexityperplexity.aiReferral
Google Geminigemini.google.comReferral
Microsoft Copilotcopilot.microsoft.comReferral
Claudeclaude.aiReferral
Google AI OverviewsgoogleOrganic Search (blended)

Source: ZenWeb summary of observed AI referrer behaviour in GA4, Malaysia, 2025–2026.

Key takeaway: Five referral sources cover almost all of your trackable AI traffic. AI Overviews are the exception — they hide inside Google organic and need a different method.

5. How to Build an AI Channel Group in GA4

Quick Answer: The cleanest way to track AI search traffic is a custom channel group that catches every AI source with one regex rule. It takes about five minutes in GA4 Admin, and once saved it works across your reports and Explore. Pairing it with a focused SEO plan, like our SEO service, turns the numbers into a growth lever.

How to set up an AI channel group in GA4

Follow these steps inside your GA4 property. You need Editor access to save a channel group.

  1. Open Admin then Channel groups. Click the Admin gear at the bottom left, then find Channel groups under Data display.
  2. Create a new channel group. Click Create new channel group and name it something clear, like “AI / LLM traffic”.
  3. Add a channel and a condition. Add a new channel called “AI”, then set its rule to Source matches regex.
  4. Paste an AI regex. Use a pattern that covers the main engines, for example: chatgpt|openai|perplexity|gemini|copilot|claude|deepseek
  5. Order it above Referral. Drag the AI channel above Referral so it catches these sources before the generic bucket does.
  6. Save and apply. Save the group. It now appears as a “Session custom channel group” dimension across your reports.

One extra habit helps a lot. When you paste your own links into an AI tool, add UTM tags such as utm_source=chatgpt so those clicks self-label even if the referrer is stripped.

Key takeaway: One regex-based channel group is the single highest-value setup step. Put the AI channel above Referral, save it once, and every report can break out AI traffic.

6. How Fast AI Referral Traffic Is Growing

Quick Answer: For most Malaysian SMEs that publish helpful, well-structured content, AI referral traffic starts small and compounds month over month. The illustrative ramp below shows the shape we see across client accounts: quiet at first, then a steady climb as more pages get cited and the question of whether SEO is dead answers itself.

The numbers below are a modelled example for a site starting consistent AI-visibility work in month one. The exact figures vary by industry, but the shape is what matters.

Illustrative AI Referral Traffic Ramp Over Six Months
Modelled month-by-month growth in AI referral sessions and their share of total sessions for a Malaysian SME.
MonthAI referral sessionsShare of total sessions
Month 1120.4%

Month 2280.9%

Month 3551.7%

Month 4902.6%

Month 51403.8%

Month 62105.2%

Source: ZenWeb modelled projection based on Malaysian SME observations, 2025–2026; illustrative.

Key takeaway: AI referral traffic compounds. A share that looks tiny in month one can pass 5% within half a year, which is exactly why you want it labelled and tracked from the start.

Want this curve climbing for your business?

Tracking shows the trend; content and citations create it. See how our SEO agency builds AI visibility →


7. AI Referral Visitors vs Google Organic: How They Behave

Quick Answer: AI referral visitors are not the same as Google organic visitors. In our client data they arrive in smaller numbers but more pre-qualified — they have already read an AI summary, so they spend longer and convert at a higher rate. That is the upside hiding behind the zero-click search shift.

When you compare the two channels side by side, the pattern is consistent: fewer AI visits, but better ones. The figures below are an illustrative view from accounts we manage.

AI Referral vs Google Organic: Behaviour Compared
Comparison of engagement, pages per session, conversion rate and arrival intent for AI referral versus Google organic visitors.
MetricAI referralGoogle organic
Avg engagement timeLongerBaseline
Pages per session2.82.1
Conversion rate4.6%3.1%
Intent at arrivalHigh, pre-qualifiedMixed

Source: ZenWeb client tracking across Malaysian SME accounts, 2024–2026; illustrative view.

The lesson is to judge AI traffic on quality, not just volume. A channel that sends 200 pre-qualified visits a month can out-earn one that sends 2,000 cold ones.

Key takeaway: AI visitors are fewer but warmer. Track conversion rate and engagement, not just session counts, or you will undervalue your best new channel.

8. How to Track Google AI Overviews and AI Mode Clicks

Quick Answer: Clicks from Google AI Overviews and AI Mode do not appear as a separate source — they count as normal Google organic in GA4. To see their effect, pair GA4 with Search Console and watch impression and landing-page trends on your most answer-style pages, the ones built to rank in Google AI Overviews.

Because the source is invisible, you measure this one indirectly. Three signals work well together:

  • Search Console impressions vs clicks. Rising impressions with flat clicks on a query often means an AI Overview is answering it without the click.
  • Landing-page trends in GA4. Watch organic sessions to pages written as direct answers; movement there hints at AI-answer pickup.
  • Self-reported attribution. A simple “How did you hear about us?” field captures AI-assisted visits that never carry a referrer.

The Ahrefs walkthrough above also covers bot analytics, separating training crawlers from citation bots, which is a useful third lens once your referral and organic tracking is solid.

Key takeaway: You cannot see AI Overview clicks directly, so triangulate. Search Console, answer-page trends and a “how did you hear about us” question together reveal the impact.

Not sure your pages are built to be cited?

We structure content so Google and AI engines pull from it. Put your SEO on a clear plan →


9. Which AI Engines Send the Most Traffic

Quick Answer: Across Malaysian SME sites we track, ChatGPT sends the largest slice of AI referral traffic, followed by Perplexity and Gemini. Knowing the split tells you where to focus, and which AI marketing tools are worth testing for your own research.

This breakdown helps you prioritise. If ChatGPT drives half your AI visits, that is where a citation is worth the most.

Share of AI Referral Sessions by Engine
Share of AI referral sessions by engine across Malaysian SME accounts, ZenWeb illustrative view.
AI engineShare of AI referral sessions
ChatGPT51%

Perplexity19%

Google Gemini14%

Microsoft Copilot9%

Claude7%

Source: ZenWeb illustrative view across Malaysian SME accounts, 2025–2026.

Key takeaway: ChatGPT and Perplexity together drive most AI referral visits today. Track each engine separately so you can spot shifts as Gemini and Copilot grow.

10. Common Mistakes When Tracking AI Search Traffic

Quick Answer: The biggest mistakes are ignoring “Direct” inflation, building a regex that misses new engines, and reporting AI traffic in isolation instead of against leads. Avoid these and your AI numbers stay trustworthy enough to guide where your SEO investment goes.

These are the slips we see most often when businesses first start measuring AI traffic:

  • Treating all Direct as type-ins. A jump in Direct often hides AI clicks whose referrer was stripped. Investigate before you dismiss it.
  • A brittle regex. A pattern that only lists today’s engines misses tomorrow’s. Review it every quarter and add new sources.
  • No conversion tracking. Counting sessions without leads tells you nothing about value. Tie AI traffic to your key events.
  • Reporting volume, not value. AI sends fewer but warmer visits, so a quality lens beats a raw-traffic one.
  • Checking once, then never again. AI search is moving fast. A monthly look keeps your view current.
Key takeaway: Most tracking errors come from stale rules and volume-only reporting. Keep the regex fresh, connect AI traffic to conversions, and review monthly.

11. Conclusion

AI search traffic is no longer a rounding error. It is a small, fast-growing, high-intent channel that most Malaysian businesses cannot see because GA4 was not built to label it. The fix is straightforward: know the source names, build one AI channel group with a regex, and read AI Overviews indirectly through Search Console and self-reported attribution.

Do that, and you turn a blind spot into a number you can act on. You will know which engines send buyers, how those buyers behave, and whether your AI visibility is climbing month over month — the foundation for deciding where to invest next.


12. Frequently Asked Questions

1. Can GA4 track AI search traffic automatically?

Not on its own. GA4 has no built-in AI channel, so visits from ChatGPT, Perplexity or Gemini land in the generic “Referral” group, and some slip into “Direct” when the referrer is stripped. You get a clear AI view only after you build a custom channel group with a regex that matches the AI source names. It takes about five minutes and then works across all your reports.

2. Why does my AI traffic show as Direct?

Many AI tools open links inside an app or strip the referrer for privacy, so the visit arrives with no source attached. GA4 files anything without a source under “Direct”. This is why a rise in Direct traffic often hides real AI clicks. Adding UTM tags to links you share in AI tools, and using a “how did you hear about us” question, helps recover some of that lost attribution.

3. What regex should I use for an AI channel group in GA4?

Start with a pattern that matches the main engines by source, such as chatgpt|openai|perplexity|gemini|copilot|claude|deepseek. Set the channel rule to “Source matches regex”, paste the pattern, and drag the AI channel above the Referral channel so it catches these visits first. Review the pattern every few months and add new engines as they appear, since the AI landscape changes quickly.

4. Do Google AI Overviews show up in GA4?

No, not as a separate source. A click from a Google AI Overview or from AI Mode is recorded as ordinary Google organic search, so it blends in with all other Google visits. To gauge its impact, pair GA4 with Search Console, watch impressions against clicks on answer-style queries, and track organic sessions to the pages you have written as direct answers.

5. How much traffic should AI send to a Malaysian SME site?

It varies, but the shape is consistent. AI referral traffic usually starts under 1% of total sessions and compounds as more of your pages get cited, often passing 3 to 5% within six months of steady content work. The volume stays modest compared with Google organic, but the visits tend to be more pre-qualified, so judge the channel on conversions rather than raw session counts.

Want more AI search traffic worth tracking?

Book a free 30-minute session. We’ll review your site, your search visibility, and where AI engines pull answers in your niche, then give you a clear plan to earn more citations and clicks.

Get my free AI visibility review →

Table of Contents

Table of Contents

See Also

How to Set Up a Faster Marketing Approval Workflow

How to Set Up a Faster Marketing Approval Workflow

Google Keyword Planner: Is the Free Tool Any Good?

Google Keyword Planner: Is the Free Tool Any Good?

How to Handle Last-Minute Marketing Requests Calmly

How to Handle Last-Minute Marketing Requests Calmly

Get A Free Proposal

Complete the form and our team will contact you to discuss your goals. Let’s grow your business.

Meowketing Specialist

Online

Today

Meow! 👋

We are Official Google Partner,
Ask us anything about Marketing!