AI Source Segmentation: Building Clean Analytics Views

Aggregating all AI traffic into a single bucket hides critical differences between platforms. ChatGPT visitors behave differently from Perplexity visitors....

Dilshad Akhtar
Dilshad Akhtar
Published: 31 July 2026
4 min read
TL;DRAI summary
  • Aggregating all AI traffic into a single bucket hides critical differences between platforms.
  • The recommended segmentation architecture uses three tiers: Tier 1: AI Platform aggregate .
  • GA4 segments can be created at the report level or the property level.
  • With segmentation in place, build a comparison report using these metrics: Sessions per source : Raw traffic volume from each AI platform.
  • AI source segmentation must account for non-human traffic.
  • Build and apply the three-tier segment architecture to your GA4 property.

Aggregating all AI traffic into a single bucket hides critical differences between platforms. ChatGPT visitors behave differently from Perplexity visitors. Gemini users show different engagement patterns than Claude users. Mixing them together in a single "AI Traffic" channel produces...

Why Segmentation Matters

Illustration for: Why Segmentation Matters

Aggregating all AI traffic into a single bucket hides critical differences between platforms. ChatGPT visitors behave differently from Perplexity visitors. Gemini users show different engagement patterns than Claude users. Mixing them together in a single "AI Traffic" channel produces averages that describe no platform accurately and mask opportunities for platform-specific optimization.

Segmentation at the source level is the minimum viable approach. The goal is a reporting structure where you can compare ChatGPT conversion rate against Perplexity conversion rate, or compare Claude bounce rate against Gemini bounce rate, without manual filtering each time.

Source-Level Segment Architecture

Illustration for: Source-Level Segment Architecture

The recommended segmentation architecture uses three tiers:

Tier 1: AI Platform (aggregate). A single segment that captures all AI-driven referral traffic. This is useful for executive reporting and high-level trend monitoring. The segment condition is:

source matches_regex (chatgpt\.com|chat\.openai\.com|perplexity\.ai|pplx\.ai|claude\.ai|gemini\.google\.com|grok\.com|copilot\.microsoft\.com)
AND medium matches_regex (referral|social|none)

The medium condition accounts for cases where GA4 classifies the traffic as social or (none) instead of referral.

Tier 2: Platform Category. Group AI sources into behavioral categories. This is the most useful tier for analysis:

  • AI Chat Assistants: ChatGPT, Claude, Grok, Copilot, Gemini. These platforms provide answers within a chat interface. Users click citation links to verify or explore further.
  • AI Answer Engines: Perplexity, You.com, Bing Chat. These platforms present answers alongside explicit source citations. Users click links with specific intent to read the source.
  • AI Content Generators: Tools that generate content on the user's behalf and may link to sources (e.g., Jasper, Copy.ai). Traffic from these sources behaves differently because the content is consumed programmatically, not by a human researcher.

Tier 3: Individual Platform. One segment per AI platform. This enables platform-by-platform performance comparison and early detection of platform-specific traffic changes.

Implementation in GA4

Illustration for: Implementation in GA4

GA4 segments can be created at the report level or the property level. For persistent segmentation, create a set of property-level audiences that mirror the segments above. Each audience should use an event-scoped condition on page_referrer or source dimension.

The segment definitions should use regex to catch subdomain and URL variations:

Segment: AI Chat Assistants
Condition: page_referrer matches_regex (chatgpt\.com|chat\.openai\.com|claude\.ai|claude\.anthropic\.com|grok\.com|copilot\.microsoft\.com|gemini\.google\.com)

Test each segment against raw event data before relying on it. Use the GA4 DebugView or a server-side log to confirm that the referrer values you expect are actually arriving at the property. A common failure mode is a regex that looks correct but does not match because the actual referrer value includes www. prefix or a path suffix.

Cross-Source Comparison Metrics

With segmentation in place, build a comparison report using these metrics:

  • Sessions per source: Raw traffic volume from each AI platform.
  • Engaged session rate: Sessions lasting over 10 seconds or with a conversion event. This distinguishes bot-driven pings from human engagement.
  • Conversion rate by source: Macro and micro conversion rates per platform.
  • Average session duration: Indicates whether users stay to consume content or leave immediately.
  • Pages per session: A proxy for how deeply users explore after arriving from each source.

The Bot Traffic Problem

AI source segmentation must account for non-human traffic. Crawlers operated by AI platforms to index content consume pages but never produce engagement. These crawls appear as zero-second sessions with no conversions. If your segmentation treats all AI-origin traffic as human, you will make decisions based on inflated session counts and artificially low engagement rates.

Use the user_agent dimension to filter sessions where the user agent contains GPTBot, Claude-Web, PerplexityBot, Google-Extended, or similar crawler identifiers. GA4 does not automatically separate crawler sessions from human sessions, so this filtering must be done at the segment level or in the reporting layer.

Audit This Quarter

Build and apply the three-tier segment architecture to your GA4 property. Run the cross-source comparison report for the last 90 days. Identify any AI platform where session volume exceeds 1,000 sessions but the engaged session rate is below 30 percent. Investigate whether crawler traffic is inflating that figure. Add user agent exclusions for known AI crawlers and re-run the report. Document the difference between raw and filtered session counts. Set a quarterly review cadence to update source regex patterns as new AI platforms emerge.

References

  1. Google. (2025). "Create segments in Google Analytics 4." Analytics Help.
  2. Simkin, I. (2025). "AI Crawler Identification and Segmentation in GA4." Analytics with Simkin.
  3. BrightEdge. (2025). "AI Platform Traffic Segmentation: A Publisher's Guide."

Ready to Build Your Dream Website?

Let's discuss your project and create something amazing together.