AI tools like ChatGPT, Google Gemini and Perplexity are quickly becoming part of how people discover websites. Instead of searching Google directly, users are asking AI tools questions – and sometimes, those tools recommend your site.
But here’s the catch: GA4 doesn’t yet have a neat “AI traffic” channel – at least not yet anyway. If you don’t filter it out (or isolate it), AI referrals will get lumped into referrals or organic search, making it difficult to measure the impact.
But, you can create a custom segment in GA4 to track traffic coming from AI tools. Let’s show you how.
Step 1: Open GA4 Explorations
-
Log in to your GA4 property.
-
In the left-hand menu, click Explore.
-
Click + Create new exploration.
Step 2: Build a Segment for AI Tools
-
In your new exploration, click Add segment.
-
Choose Session segment.
-
Under Condition, select Session source/medium.
-
Change the match type to matches regex.
-
Paste in the following regex and click save:
(chatgpt|openai|anthropic|deepseek|grok).com|(gemini|bard).google.com|(perplexity|claude).ai|(copilot.microsoft|edgeservices.bing).com|edge\scopilot
This regex captures traffic from:
-
ChatGPT (when it links to your site)
-
Google Gemini
-
Perplexity search
-
Claude’s browsing
-
Bing Copilot
-
You.com AI search
-
Anthropic
Step 3: Create Two Segments
To get the most out of this analysis, you can create both:
-
AI Tool Traffic: Shows only visits from AI tools (what we’ve created above)
-
Exclude AI Tools: Filters them out so your “traditional” traffic analysis isn’t skewed
Step 4: Analyse the Behaviour
Once applied, you can compare how AI-referred users behave versus your other channels.
Why is this important?
It’s a whole new channel of discovery that didn’t exist two years ago.
Your attribution models don’t yet account for AI referrals. But with this setup, you can start measuring it and get ahead of the curve.
Need help setting this up or interpreting the results? Get in touch with our team to uncover what AI-driven discovery means for your business.
When you think about it, Pinterest is not really a social media platform but more of a search engine. While it does allow users to follow and [...]
One of our biggest takeaways from State of Social 2024 was the evolution of zero-click searches and the impact it will have on the way we do [...]
Have you noticed a drop in engagement on your brand’s Instagram posts? Likes not flowing as much as what they used to? The good news is you’re [...]
When it comes to protecting your intellectual property (IP), it’s essential to understand the distinctions between copyright and trade marks, as each serves a unique purpose in safeguarding your creative and business assets.
When you think about it, Pinterest is not really a social media platform but more of a search engine. While it does allow users to follow and [...]
When a social media post starts gaining traction, you’ll often receive prompts from the platform encouraging you to reach a wider audience by boosting the post. A [...]
In our last article, we explored the rise of zero-click searches and its impact on how we find information online. This shift in user behaviour has also [...]
One of our biggest takeaways from State of Social 2024 was the evolution of zero-click searches and the impact it will have on the way we do [...]
Have you noticed a drop in engagement on your brand’s Instagram posts? Likes not flowing as much as what they used to? The good news is you’re [...]
Did you know that after approximately 4 exposures to your ad, your conversions can drop by almost half? As Meta increasingly emphasises broad targeting, the effectiveness of [...]
This year has been challenging for both businesses and consumers, with rising cost-of-living pressures leading to shifts in retail habits. During these quieter times, it’s crucial to [...]
When it comes to protecting your intellectual property (IP), it’s essential to understand the distinctions between copyright and trade marks, as each serves a unique purpose in safeguarding your creative and business assets.
If you’ve recently created a paid campaign on Facebook (or Meta as it’s now known), you’ve probably noticed the platform is trying to skew you towards using [...]
The results from our Audience Intelligence Reports for Q2 have incited some interesting conversations amongst our team. For those of you who don’t know, our quarterly Audience [...]