# 2026 Umsetzbarer Leitfaden: Wie kann man AI-Traffic in GA4 verfolgen? Vollständiger Leitfaden zur GEO-Analyse (ChatGPT/Claude)

- Canonical: https://www.geoly.ai/de/blog/how-to-track-geo-analyze-ai-traffic-ga4-looker-studio
- Published: 2026-01-22
- Updated: 2026-11-05
- Author: [GEOly AI](https://www.geoly.ai/de/blog/author/geoly-ai)

> **Summary:** Stoppen Sie, dass AI-Traffic Ihre GA4-Daten verfälscht! Dieser Leitfaden bietet die neueste Lösung für 2026, um über 50 AI-Quellen wie ChatGPT und Claude mithilfe von Regex & GTM genau zu verfolgen. Beherrschen Sie jetzt Ihre GEO-Marketing-Performance.

While configuring GA4 recently, I noticed an interesting trend: an increasing amount of traffic is coming from AI platforms like ChatGPT, Perplexity, and Claude. However, GA4 lumps all of this into the generic 'referral' bucket, making it impossible to analyze separately.

To fix this, I spent some time putting together a complete **AI traffic tracking solution** (the foundation for tracking **GEO** - Generative Engine Optimization - performance today), and I'm sharing it with you.

## 1. Why Track AI Traffic Separately?

Let's look at the context. By 2026, there are already over 50 mainstream AI platforms influencing user behavior:

- **Conversational AI:** ChatGPT, Claude, Gemini, DeepSeek, Grok, Meta AI…

![GEO tracking GA4](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/ai-traffic-ga4.png)

- **AI Search Engines:** Perplexity, You.com, Phind, Andi Search…

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T113929.559.png)

- **Other Tools:** Poe, Character.AI, BlackBox, Pi…

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T114011.868.png)

User behavior on these platforms is very different from traditional search engines. Mixing them together skews your data. Additionally, there are over 30 types of AI bots visiting websites (GPTBot, ClaudeBot, PerplexityBot, etc.), so you need to distinguish between real users and bot traffic.

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T114926.205.png)

## 2. Core Regex for Identification

Here is the master **Regular Expression (Regex)** I compiled to match referrers from 50+ mainstream AI platforms:

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/screenshot-20260123-115016.png)

## 3. GA4 Configuration Strategies (Two Options)

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T115123.412.png)

### Option A: Direct GA4 Configuration (Simple & Fast)

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T115151.458.png)

**Step 1: Create a Custom Channel Group**

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/screenshot-20260123-141221.png)

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T142555.179.png)

1. Go to: **Admin** → **Data display** → **Channel groups**.
2. Duplicate the **Default Channel Group**.
3. Rename it to "AI Traffic Enhanced".
4. Add a new channel named "AI Traffic"，Set the condition: **Source** matches regex:
5. **Important:** Drag "AI Traffic" to position it **above** "Referral" so it matches first.

**Step 2: Create a Segment**

Create an event segment in **Explorations**:

^.*\.ai/.*|.*\.openai.*|.*copilot.*|.*chatgpt.*|.*gemini.*$

This allows you to apply this segment to any report to view AI traffic in isolation.

### Option B: GTM Advanced Configuration (Precise Tracking)

For more granular control, use Google Tag Manager (GTM).

**Step 1: Create a Detection Variable**

- **Path:** GTM → Variables → Custom JavaScript
- **Variable Name:** `AI Platform Detector`

![GEO tracking table](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T143143.762.png)

**Step 2: Push to dataLayer**

- **Path:** GTM → Tags → Custom HTML
- **Trigger:** DOM Ready

![GEO tracking table](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T143237.255.png)

**Step 3: Create Data Layer Variables**

Create the following three variables:

1. `ai_platform`
2. `ai_category`
3. `ai_method`

**Step 4: Send GA4 Event**

- **Path:** GTM → Tags → Google Analytics: GA4 Event
- **Event Name:** `ai_referral`
- **Event Parameters:**
   - `platform`: `{{ai_platform}}`
   - `category`: `{{ai_category}}`
   - `method`: `{{ai_method}}`
- **Trigger:** Custom Event = `ai_referral`

**Step 5: Register Custom Dimensions in GA4**

- **Path:** Admin → Data display → Custom definitions
   - AI Platform (Event-scoped) → `platform`
   - AI Category (Event-scoped) → `category`

## 4. Looker Studio Dashboard Structure

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T143354.859.png)

Once configured, you can build a dedicated AI Traffic Dashboard in Looker Studio:

- **Tab 1 - Overview**

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T143452.513.png)

   - Time Series: AI Traffic Trend
   - Pie Chart: Share by AI Platform
   - Table: Platform, Sessions, Engagement Rate, Conversion Rate

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T144003.368.png)

- **Tab 2 - Platform Comparison**

![GEO tracking](https://gslkfhamqhkktynnjqng.supabase.co/storage/v1/object/public/cms-media/640%20-%202026-01-23T144221.730.png)

   - Bar Chart: Sessions by Platform
   - Line Chart: Engagement Time Comparison
   - Table: Detailed Metrics (Bounce Rate, Pages/Session, Conversions)
- **Tab 3 - Landing Page Analysis**
   - Table: Top Pages visited by AI Traffic
   - Heatmap: Page Interaction Distribution
- **Tab 4 - Conversion Funnel**
   - Funnel Chart: AI Traffic Conversion Path
   - Comparison: AI vs. Organic vs. Direct
- **Tab 5 - Device & Geography**
   - Device Category Distribution
   - Country/City Distribution
   - Browser Analysis

## 5. UTM Parameter Naming Recommendations

If you are manually tagging links shared on AI platforms, use this standard UTM naming convention:

[https://yoursite.com/?utm_source=chatgpt&utm_medium=ai_chat&utm_campaign=blog_promo](https://yoursite.com/?utm_source=chatgpt&utm_medium=ai_chat&utm_campaign=blog_promo)

## 6. Important Notes

1. **Session-Level Analysis:** It is recommended to analyze AI traffic by **Session** rather than User, as AI interactions are often stateless and anonymous.
2. **Bot Filtering:** Distinguish between real users and bot crawlers. Bots often show:
   - Engagement Time = 0 seconds
   - Engagement Rate = 0%
   - medium = (not set)
3. **Regular Updates:** AI platforms change rapidly. Check and update your Regex list quarterly.
4. **Channel Order:** Ensure the "AI Traffic" channel is ranked **higher** than "Referral" in your Channel Group settings to prevent misclassification.

## 7. Quick Checklist

Verify your setup with this list:

- [ ] "AI Traffic" channel appears in the **Traffic acquisition** report.
- [ ] Switching to the **Custom Channel Group** displays data correctly.
- [ ] The "AI Traffic" segment works in **Explorations**.
- [ ] The `ai_referral` event fires in **GTM Preview** mode.
- [ ] Events are visible in **GA4 DebugView**.
- [ ] Looker Studio correctly pulls the new Custom Dimensions.

## 8. Future Optimization Directions

Once the basics are set, consider:

- Setting specific conversion goals for different AI platforms.
- Creating **Audiences** from AI traffic for retargeting.
- Analyzing which content is most frequently cited by AI platforms (Content Gap Analysis).
- Comparing the **Lifetime Value (LTV)** of AI traffic vs. Traditional Search traffic.

*This is the complete AI traffic tracking configuration guide. Option A is great for getting started quickly, while Option B is ideal for scenarios requiring granular tracking.*

Weiterführend: [Perplexity-Traffic in GA4 prüfen](https://www.geoly.ai/de/blog/how-to-check-perplexity-traffic).

Weiterführend: [prüfen, wie viel Traffic KI-Assistenten Ihnen schicken](https://www.geoly.ai/de/free-tools/website-ai-traffic-checker).
