โ† Back to blog

How to Segment LLM Traffic in GA4: A Complete Guide

August 2025 ยท 9 min read

๐Ÿš€ TL;DR: Learn how to track AI-powered traffic from ChatGPT, Claude, and Perplexity in Google Analytics 4. Discover three proven methods that will give you a competitive edge in understanding your new AI visitors.

The AI Traffic Revolution is Here

AI is fundamentally changing how users discover your content and website.

With the rise of platforms like ChatGPT, Claude, and Perplexity, search is happening in entirely new ways. This shift creates both massive opportunities and critical challenges for businesses tracking their web traffic.


4 Reasons Why You Should Segment LLM Traffic?

1. Behavior

The simple answer is: to understand your users' behavior.

2. AI Momentum and new traffic sources

AI is gaining a lot of momentum and changing how users discover you or your content. And search is increasingly happening through platforms like ChatGPT, Claude and Perplexity etc.

3. New Traffic Sources

With these new AI platforms, we have entirely new sources of traffic coming to our website that we've never seen before.

You need to be aware of these changes to update your strategy and stay competitive.

4. Monitor Traffic Changes

Certain reliable sources of traffic may have dropped! Most businesses aren't tracking their AI traffic so you'll have a competitive advantage.


The Business Questions We Want to Answer

We want a breakdown of this AI traffic to understand:

  • Where these visitors are landing on our website
  • Analyse if it's sending us quality visitors
  • If these visitors are actually converting (if they are what can we do about it!)

For those reasons understanding AI/LLM traffic needs to be added to your bag of tricks.

Let's dive in and discover how to turn AI traffic insights into business growth.


Three methods diagram showing Custom Channel Group, Exploration Report, and Custom Report for segmenting LLM traffic in GA4

3 Ways to Segment Your AI Traffic in GA4

Here are the three proven methods to track and analyze your LLM traffic, ranked by importance and ease of implementation:

This is the gold standard - the one you should definitely implement first.

Set up the Custom Channel Group to permanently categorize your AI traffic for the long term. This creates a foundation that will serve you for years to come.

Key Benefits:

  • โœ… Permanent categorization - that persists across all reports
  • โœ… Automatic application - to new data as it comes in
  • โœ… Consistent tracking - across your entire analytics setup
  • โœ… One-time setup - works forever

๐Ÿฅˆ 2. Exploration Report (FLEXIBLE ANALYSIS)

Perfect for deep-dive investigations when you need specific insights.

Use the Exploration Report for flexible, one-off analysis when you need to dig deeper into specific aspects of your AI traffic.

Best For:

  • Deep-dive analysis sessions - Investigate specific questions
  • One-time investigations - Ad-hoc research needs
  • Custom visualizations - Create unique insights
  • Data exploration - Discover hidden patterns

๐Ÿฅ‰ 3. Custom Report (QUICK MONITORING)

Your daily dashboard for keeping tabs on AI traffic performance.

Create the Custom Report to give yourself a fast, repeatable way to check in on that traffic without building or modifying an exploration report every time.

Perfect For:

  • Regular monitoring - Daily/weekly check-ins
  • Stakeholder reporting - Share insights with your team
  • Quick performance checks - Fast status updates
  • Trend tracking - Monitor changes over time

Method 1: Creating a Custom Channel Group (Best for Permanence)

  • โœ… Permanent classification - appears in all standard GA4 reports
  • โœ… Fully retroactive - re-categorizes ALL historical data automatically

Let's setup GA4 to automatically recognize AI traffic as its own channel, just like 'Organic Search' or 'Direct'.

For that, we'll create a Custom Channel Group.

In your GA4 environment go to: Adminโ†’Data displayโ†’Channel Groups.

GA4 navigation to Channel Groups

You'll see a list of channel groups. If you never made one, then all you'll see is "Default Channel group".

Default Channel group zoom

There are 18 channel groups (as of writing this - August 2025) that you usually see in your reports.

Now click on "Create new channel group" then:

  • Name it something that makes sense (e.g. AI Platforms)
  • Select your condition to be "Source"
  • Select "matches regex"
  • Paste the following regex:
^.*ai|.*.openai.*|.*copilot.*|.*chatgpt.*|.*gemini.*|.*gpt.*|.*neeva.*|.*writesonic.*|.*nimble.*|.*outrider.*|.*perplexity.*|.*google.*bard.*|.*bard.*google.*|.*bard.*|.*edgeservices.*|.*astastic.*|.*copy.ai.*|.*bnngpt.*|.*gemini.*google.*$

Name it the following:

  • Name: AI Platforms
  • Description: All the traffic that is driven by AI platforms

Note that this regex will most likely have to be updated when new tools/platforms are added.

Channel group configuration details

Sidenote on regex: It doesn't look too pretty, but it's a very powerful pattern matching function for strings (the developers way to say "text").

  • Once you hit "save channel" we need not to forget a very important step!
  • Without this step you won't see any traffic in GA4, so best not to forget.
  • Click the "Reorder" button
Channel group reorder interface

You'll most likely find your newly created channel group at the bottom

New channel group at bottom of list

You need to click and drag the channel above the Referral group.

Click and drag to reorder channels
  • If you're wondering why (then you're wondering well), a "Channel group" is like a bucket that will capture any traffic meeting specific conditions.
  • Because our "Ai Platforms" is actually referral traffic, it will be captured by the "Referral" before it gets to ours.
  • Thus by moving it up and before "Referral" we can label any traffic with "Ai Platforms" before sending any non matching conditions to the next bucket.

Lastly save this new Group and write a description (optional)

Channel groups with AI platform configuration saved

Now if you navigate to: reportsโ†’Acquisitionโ†’Traffic acquisition

Click the "Session primary channel group" dropdown

Session primary channel group dropdown in GA4 reports

Then select the new Group we just created:

Selecting the new AI Platforms channel group from dropdown

You will now be able to see how much AI traffic is coming to your website:

AI traffic data table showing visitor metrics


Method 2: The Exploration Report (Best for Flexibility)

โŒ Shows AI traffic mixed in with "Referral," "Direct," etc. based on original GA4 categorization
โœ… Immediate setup - works right away with existing data
โœ… Flexible - can change regex anytime without permanent effects

There are four steps to doing this:

1. Go to Explore โ†’ Create a new Blank Exploration report:

Create new blank exploration report in GA4

2. In the dimensions section select "Session source" and "Landing page + query string":

Selecting Session source and Landing page dimensions
  • You can select the combination you want of course, we chose "Session source" because it's simpler and won't confuse users as much as "Session source / medium" does.
  • Also because we are going to filter on "Session source"

3. In the metrics section we're going to select "Views", "Key Events" and "Engaged sessions":

  • Those 3 metrics will inform us well on the total traffic driven by AI platforms, if they were interested (engaged) and if they actually converted.
Selecting Views, Key Events, and Engaged sessions metrics

4. Lastly in the Filters section select "Session source":

Setting up Session source filter in exploration report
  • Then you will select the "matches regex" condition and paste the same regex we used above:
^.*ai|.*.openai.*|.*copilot.*|.*chatgpt.*|.*gemini.*|.*gpt.*|.*neeva.*|.*writesonic.*|.*nimble.*|.*outrider.*|.*perplexity.*|.*google.*bard.*|.*bard.*google.*|.*bard.*|.*edgeservices.*|.*astastic.*|.*copy.ai.*|.*bnngpt.*|.*gemini.*google.*$
Applying regex filter to match AI platform sources

Click apply and you will get a clean breakdown:

  • Now for the interesting part. We want to know which pages are used by the AI platforms that send you traffic.
  • Simply add the "Landing page + query string" to the dimensions (or simply double click on it). You'll be able to see which pages from your website are actually referenced in the AI platforms responses.
Adding Landing page dimension to see which pages AI platforms reference

Method 3: Creating a Report - Speed

Create the report

For this step to work you'll need to have created a new "Channel Group" (following method 1).

Once you have your channel group, that we called "Ai Platforms", you're ready to go.

Let's create a new report in order for you to have a dedicated AI traffic dashboard in GA4. That way you can check out your AI traffic in 2 clicks.

Go to: Reportsโ†’Libraryโ†’Create new reportโ†’Create detailed report

Creating new detailed report in GA4 Reports Library

Select the Traffic Acquisition report:

Selecting Traffic Acquisition report type
  • Once in the report we're just going to add a filter to the report.
  • For dimensions select the new channel group we created, in this case "Session Default Channel Groups (Ai Platforms)"
  • Then the "match type" โ†’ exactly matches
  • Value โ†’ "Ai Platforms". This the channel group we reordered in our channel group.
  • This means that anytime traffic is "labelled" with "Ai Platforms" it will show in this report.
Building filter for Ai Platforms channel group

Click Apply and you will see a chart and table.

Report view after applying Ai Platforms filter

Don't forget to save your report:

Saving the new AI traffic report

Show your report on the dashboard

Lastly we want to get quick access to this report.

For this want to add it to our reports section, under the Acquisition lifecycle.

Go to: Reportsโ†’Library(at the bottom of the sections)

Accessing Reports Library sidebar in GA4

Select the life cycle panel, click the three dots and click edit:

Editing lifecycle panel in Reports Library

Search the "Ai" in the reports, then click and drag it into the correct section:

Customizing collection by adding AI traffic report

Finally don't forget to save it to the current collection.

Saving changes to current collection

In your reports, you'll now be able to see the "Ai Traffic" report:

AI Traffic report view in lifecycle reports

Extra Tips & Considerations

For Client Reporting:

If you have clients asking about AI traffic volume, consider building a Looker Studio dashboard. This gives them a professional, shareable view of their AI traffic trends and insights.

Important Limitations to Know:

Audiences are NOT retroactive - If you build an Audience for "AI visitors," it only fills from that point forward. This is different from Exploration segments, which are retroactive and can analyze historical data.

Pro tip: Start building your AI Audiences early so they have time to populate with data!

Keep Your Regex Updated:

New AI platforms emerge weekly/monthly - don't let your tracking become outdated!

Platforms to watch for:

  • New ChatGPT competitors
  • Enterprise AI tools
  • Niche AI platforms in your industry
  • Regional AI services

Conclusion

Now you have a complete system to understand how much traffic AI is driving to your website and which landing pages are being referenced across different AI platforms.

What We've Built:

We've covered three complementary approaches to AI traffic tracking:

  1. ๐Ÿฅ‡ Systematic Approach - Using Custom Channel Groups (your foundation)
  2. ๐Ÿฅˆ Flexible Approach - Using Explorations (for deep-dive analysis)
  3. ๐Ÿฅ‰ Speed Approach - Using Custom Reports (for daily monitoring)

Your Competitive Edge:

While most businesses are still trying to figure out how to track AI traffic, you now have:

  • โœ… Permanent categorization that works automatically
  • โœ… Flexible analysis for any specific questions
  • โœ… Quick access to daily AI traffic insights
  • โœ… Professional reporting for clients and stakeholders

The Future:

AI traffic is only going to increase exponentially. With this system in place, you'll be ahead of the curve, understanding your visitors' behavior and optimizing your content strategy accordingly.

Don't wait - implement Method 1 (Custom Channel Group) today, and you'll start building your competitive advantage immediately!