Back to seo
seo

How To Track Traffic From ChatGPT And AI Search In GA4

The search landscape is changing faster than most marketers are prepared for. Tools like ChatGPT, Perplexity, and Google's AI Overviews are sending traffic to websites every single day, and yet the ma...

August 17, 2026
6 min read
How To Track Traffic From ChatGPT And AI Search In GA4

The search landscape is changing faster than most marketers are prepared for. Tools like ChatGPT, Perplexity, and Google's AI Overviews are sending traffic to websites every single day, and yet the majority of businesses have absolutely no idea it is happening. If you are relying solely on your standard channel reports inside Google Analytics 4 to understand where your visitors are coming from, there is a very real chance that a growing and genuinely significant source of traffic is being misclassified, misattributed, or worse, lumped into direct traffic where it simply disappears from view. Learning how to track traffic from ChatGPT and AI search in GA4 is no longer a nice-to-have for forward-thinking marketers. It is becoming an essential part of understanding your audience and the evolving way people discover content online.

Why AI Referral Traffic Is Hard To Measure

The fundamental challenge with AI-generated traffic is that many of these platforms do not pass referral data in the same way a traditional website link does. When someone clicks a link within ChatGPT or a similar AI tool, the referrer information is often stripped away entirely, which means GA4 records the visit as direct traffic rather than attributing it correctly to its source. This is not a flaw in GA4 itself. It is simply the nature of how these environments handle data privacy and link referrals. The result, however, is that your direct traffic figures may be considerably inflated, and you have no way of knowing which of those sessions actually came from an AI recommendation unless you take deliberate steps to capture that data yourself.

Some platforms, including Perplexity and certain versions of Bing's AI-powered experience through Microsoft Copilot, do pass referral data more reliably. But ChatGPT, which is currently one of the largest drivers of this new category of traffic, remains inconsistent in what it passes through. This makes a proactive approach to tracking absolutely essential.

Setting Up UTM Parameters On Your Key Pages

The most reliable way to begin tracking AI search traffic in GA4 is to use UTM parameters on any links you have control over. If your business is being cited in AI tools through content you have published, press mentions, or third-party directories where you can update your link, adding UTM tracking to those URLs gives you clean, attributable data inside GA4 without relying on referral headers that may never arrive.

A well-structured UTM for this purpose would look something like this: you would set the source as chatgpt or perplexity, the medium as ai-referral, and the campaign name as something descriptive that helps you identify the context. When those visits arrive in GA4, they will appear cleanly under your traffic acquisition reports, properly segmented away from your organic, direct, and paid channels.

Want more insights like this?

Join thousands of marketers getting weekly tips and strategies.

Of course, this only covers links you can directly influence. For organic mentions generated by AI tools recommending your content to users, you will need a different approach entirely.

Creating A Custom Channel Group In GA4

GA4 allows you to build custom channel groupings, and this is one of the most effective ways to start organising AI referral traffic into its own reporting category. Inside your GA4 property, navigate to Admin, then Data Display, and then Channel Groups. From there, you can create a new channel group and define rules that capture sessions where the session source contains known AI domains such as chat.openai.com, perplexity.ai, copilot.microsoft.com, or gemini.google.com.

Once this channel group is in place, any traffic that does arrive with a recognised referrer from these platforms will be correctly bucketed under your new AI referral category rather than being swallowed into the referral or direct channels. It will not solve the problem of sessions arriving with no referrer data at all, but it is a foundational step that starts giving you meaningful visibility over time.

Building A Dedicated Segment To Isolate AI Traffic

Beyond channel groupings, creating a dedicated comparison segment or exploration in GA4 is a smart way to dig deeper into the behaviour of visitors arriving from AI sources. By building a segment that filters sessions where the session source matches the list of known AI platforms, you can compare engagement metrics, conversion rates, and page depth against your other traffic sources side by side.

This kind of analysis can be genuinely illuminating. Visitors arriving from AI search tools often have a very specific intent because they have already asked a detailed question and received a response that directed them to your content. Understanding how they behave differently from someone arriving via a broad Google search, for example, gives you important insight into what these users are looking for and whether your site is actually meeting that need.

Monitoring Direct Traffic For Anomalies

Because a portion of AI-referred traffic will inevitably land in your direct channel regardless of what measures you put in place, it is worth paying close attention to your direct traffic trends over time. If you notice your direct traffic increasing steadily without a clear explanation from offline campaigns or brand activity, AI referrals are one of the most plausible explanations worth investigating. Cross-referencing these spikes with content that you know has been cited or recommended by AI tools can help you build a clearer picture of what is actually driving those numbers.

Using GA4 Explorations To Build A Reporting View

The Explorations section of GA4 is a powerful and often underused area of the platform. Building a custom free-form exploration that pulls together session source, landing page, engagement rate, and conversions gives you a live reporting view that you can revisit regularly to monitor the growth of AI-driven traffic. As the volume of AI referrals increases across the industry, having this report already built and refined will put you in a much stronger position than starting from scratch later when the need becomes more urgent.

The Bigger Picture For SEO And Content Strategy

Tracking traffic from ChatGPT and AI search in GA4 is not just a technical exercise. It is the beginning of understanding a genuinely new discovery channel that is growing in relevance for almost every sector. Brands that are being recommended by AI tools are earning that visibility through authoritative, well-structured, and genuinely helpful content. The more clearly you can see which pages are pulling in AI-referred visitors, the better placed you are to double down on the content formats and topics that appear to be resonating within these platforms.

The measurement infrastructure you build now, through custom channel groups, UTM discipline, and dedicated explorations, will be the foundation on which you make smarter content and marketing decisions as AI search continues to evolve. Get the tracking in place, understand what is arriving and why, and let that data inform where you invest your efforts next.

I

Ian

Ian has worked in Digital Marketing for decades, and is a Google Partner for Google Ads and an expert in onsite and technical SEO. He has worked with hundreds of clients, helping them achieve success online, through SEO, PPC and Digital Marketing, working with local businesses through to national retailers.

View all posts →

Related Articles

The Link Building Mistakes That Will Catch You In The End
seo

The Link Building Mistakes That Will Catch You In The End

Links are still a fundamental part of SEO and improving rankings in the search engines and even though more emphasis than ever has been placed on how good and optimised your website is, link building is simply something that cannot be overlooked if you want long term success.

March 23, 2026
6 min read