Skip to content
Back to skills

003 Name Skill 765ddf7d

ASecurity

When the user wants to track AI search traffic in GA4 or GSC. Also use when the user mentions "AI traffic," "ChatGPT referral," "Perplexity traffic," "AI Overviews," "GA4 AI sources," or "AI search analytics."

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsgo

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 003-name-skill_765ddf7d --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 003 Name Skill 765ddf7d?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 003 Name Skill 765ddf7d
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-003-name-skill-765ddf7d/badge)](https://www.skillsdirectory.com/skills/tools-only-003-name-skill-765ddf7d)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: analytics-ai-traffic
description: When the user wants to track AI search traffic in GA4 or GSC. Also use when the user mentions "AI traffic," "ChatGPT referral," "Perplexity traffic," "AI Overviews," "GA4 AI sources," or "AI search analytics."
metadata:
  version: 1.0.0
---

# Analytics: AI Traffic

Guides tracking of AI-driven search traffic in Google Analytics 4 and Google Search Console.

**When invoking**: On **first use**, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output.

## Scope

- **AI search traffic**: Track in GA4 and GSC; separate AI sources from organic referral
- **Google AI Overviews**: AI summary box in Google search (formerly SGE)
- **AI-driven search**: Traffic from ChatGPT, Perplexity, Gemini, Claude, Copilot, etc.

## Why Track Separately

- AI traffic is growing but GA4 often groups it as Referral, Organic, or Direct
- AI visitors may have stronger intent and higher conversion
- Separating AI Overviews from organic helps assess AI impact

## GA4: AI-Driven Search

### Option 1: Exploration Report (Recommended)

1. **Explore** →**Free form**
2. **Dimensions**: `Session source` (or `Session source / medium`)
3. **Metrics**: Sessions, Engagement rate, Event count, etc.
4. **Filters**: Add filter →`Session source` **Matches regex** →use regex below
5. Configure table, save report

**Regex (common AI sources):**

```
chatgpt\.com|openai\.com|openai|perplexity\.ai|perplexity|doubao\.com|chat\.qwen\.ai|copilot\.microsoft\.com|copilot\.com|(business\.)?gemini\.google|chat\.deepseek\.com|deepseek\.com|poe\.com|anthropic\.com|claude\.ai|bard\.google\.com|edgeservices\.bing\.com
```

### Option 2: Custom Channel Group

1. **Admin** →**Data Display** →**Channel Groups**
2. Copy default group, name e.g. "Default and AI Chatbots"
3. Add channel "AI Chatbots": `Source` **Matches regex** (same regex)
4. **Important**: Place "AI Chatbots" above "Referral" so it matches first
5. Save and use in Traffic Acquisition

### Option 3: Custom Report

1. **Reports** →**Library** →Create Detail Report
2. Use Traffic Acquisition template
3. Add filter: `Session source` **Matches regex** (same regex)
4. Save and add to menu

## Common AI Source Domains

| Platform | GA4 Source examples |
|----------|---------------------|
| ChatGPT | chatgpt.com, openai |
| Perplexity | perplexity.ai, perplexity |
| Copilot | copilot.com, copilot.microsoft.com |
| Gemini | business.gemini.google, gemini.google |
| Claude | claude.ai, anthropic.com |
| Bing Chat | edgeservices.bing.com |

## Google AI Overviews

- **GA4 + URL fragment**: Some AI Overview clicks add URL fragments; can use GTM (partial coverage)
- **GSC**: For AI Overviews analysis in GSC (filter, limitations), see analytics-google-search-console

## Checklist

- [ ] AI sources identified in GA4 (Session Source)
- [ ] AI traffic Exploration report created
- [ ] Channel group updated with AI above Referral (if used)
- [ ] Custom report added to Library (optional)
- [ ] GTM + URL fragment for AI Overviews (optional)
- [ ] GSC AI-oriented query filter (optional; see analytics-google-search-console)

## Output Format

- **GA4 setup**: Exploration, channel group, or custom report
- **Regex**: Adapted to user's observed sources

## Related Skills

- **analytics-traffic**: Traffic sources, attribution, UTM
- **analytics-tracking**: GA4 events and conversions
- **analytics-google-search-console**: GSC AI traffic analysis
- **seo-technical-robots**: AI crawler allow/block strategy

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…