ai-traffic-tracking
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAnalytics: AI Traffic
分析:AI流量
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.
本指南介绍如何在Google Analytics 4(GA4)和Google Search Console(GSC)中追踪AI驱动的搜索流量。
调用时机:首次使用时,如有需要,可先用1–2句话说明本技能涵盖的内容及其重要性,再提供主要输出内容。后续使用或用户要求跳过介绍时,直接提供主要输出内容。
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.
- AI搜索流量:在GA4和GSC中追踪;将AI来源与自然引荐流量区分开
- Google AI概览:谷歌搜索中的AI摘要框(前身为SGE)
- AI驱动的搜索:来自ChatGPT、Perplexity、Gemini、Claude、Copilot等平台的流量
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
- AI流量正在增长,但GA4常将其归类为引荐流量、自然流量或直接流量
- AI访客可能具有更强的意向和更高的转化率
- 将AI概览流量与自然流量分开,有助于评估AI带来的影响
GA4: AI-Driven Search
GA4:AI驱动的搜索流量追踪
Option 1: Exploration Report (Recommended)
方案1:探索报告(推荐)
- Explore →Free form
- Dimensions: (or
Session source)Session source / medium - Metrics: Sessions, Engagement rate, Event count, etc.
- Filters: Add filter →Matches regex →use regex below
Session source - 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- 探索 →自由形式
- 维度:(或
会话来源)会话来源/媒介 - 指标:会话数、参与率、事件数等
- 过滤器:添加过滤器 →匹配正则表达式 →使用下方的正则表达式
会话来源 - 配置表格,保存报告
常用AI来源正则表达式:
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\.comOption 2: Custom Channel Group
方案2:自定义渠道组
- Admin →Data Display →Channel Groups
- Copy default group, name e.g. "Default and AI Chatbots"
- Add channel "AI Chatbots": Matches regex (same regex)
Source - Important: Place "AI Chatbots" above "Referral" so it matches first
- Save and use in Traffic Acquisition
- 管理 →数据展示 →渠道组
- 复制默认组,命名为例如“默认渠道+AI聊天机器人”
- 添加渠道“AI聊天机器人”:匹配正则表达式(使用上述相同正则表达式)
来源 - 重要提示:将“AI聊天机器人”置于“引荐流量”上方,确保优先匹配
- 保存并在“流量获取”报告中使用
Option 3: Custom Report
方案3:自定义报告
- Reports →Library →Create Detail Report
- Use Traffic Acquisition template
- Add filter: Matches regex (same regex)
Session source - Save and add to menu
- 报告 →库 →创建详情报告
- 使用“流量获取”模板
- 添加过滤器:匹配正则表达式(使用上述相同正则表达式)
会话来源 - 保存并添加至菜单
Common AI Source Domains
常见AI来源域名
| 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 |
| 平台 | GA4来源示例 |
|---|---|
| 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
Google AI概览
- 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
- GA4 + URL片段:部分AI概览的点击会添加URL片段;可使用GTM(覆盖范围有限)
- GSC:如需了解GSC中AI概览的分析方法(过滤器及限制),请查看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)
- 在GA4中识别出AI来源(会话来源)
- 创建AI流量探索报告
- 更新渠道组,将AI渠道置于引荐流量上方(若使用该方案)
- 向报告库中添加自定义报告(可选)
- 使用GTM + URL片段追踪AI概览流量(可选)
- 在GSC中设置AI相关查询过滤器(可选;请查看google-search-console技能)
Output Format
输出格式
- GA4 setup: Exploration, channel group, or custom report
- Regex: Adapted to user's observed sources
- GA4配置:探索报告、渠道组或自定义报告
- 正则表达式:根据用户实际观测到的来源调整
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
- generative-engine-optimization:生成式引擎优化(GEO)策略;AI流量追踪可衡量GEO的效果
- traffic-analysis:流量来源、归因、UTM参数
- analytics-tracking:GA4事件与转化追踪
- google-search-console:GSC AI流量分析
- robots-txt:AI爬虫允许/阻止策略