ai-traffic-tracking
/install ai-traffic-tracking
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)
- Explore →Free form
- Dimensions:
Session source(orSession source / medium) - Metrics: Sessions, Engagement rate, Event count, etc.
- Filters: Add filter →
Session sourceMatches regex →use regex below - 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
- Admin →Data Display →Channel Groups
- Copy default group, name e.g. "Default and AI Chatbots"
- Add channel "AI Chatbots":
SourceMatches regex (same regex) - Important: Place "AI Chatbots" above "Referral" so it matches first
- Save and use in Traffic Acquisition
Option 3: Custom Report
- Reports →Library →Create Detail Report
- Use Traffic Acquisition template
- Add filter:
Session sourceMatches regex (same regex) - 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 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 google-search-console)
Output Format
- GA4 setup: Exploration, channel group, or custom report
- Regex: Adapted to user's observed sources
Related Skills
- generative-engine-optimization: GEO strategy; AI traffic tracking measures GEO impact
- traffic-analysis: Traffic sources, attribution, UTM
- analytics-tracking: GA4 events and conversions
- google-search-console: GSC AI traffic analysis
- robots-txt: AI crawler allow/block strategy
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ai-traffic-tracking - 安装完成后,直接呼叫该 Skill 的名称或使用
/ai-traffic-tracking触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ai-traffic-tracking 是什么?
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 Ove... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 177 次。
如何安装 ai-traffic-tracking?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-traffic-tracking」即可一键安装,无需额外配置。
ai-traffic-tracking 是免费的吗?
是的,ai-traffic-tracking 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ai-traffic-tracking 支持哪些平台?
ai-traffic-tracking 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ai-traffic-tracking?
由 Kostja Zhang(@kostja94)开发并维护,当前版本 v1.0.1。