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 Overviews," "GA4 AI sources," "AI search analytics," "track AI referrals," "AI search traffic," "Claude traffic," or "how to track AI traffic." For AI SEO strategy, use generative-engine-optimization.
Best use case
ai-traffic-tracking is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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," "AI search analytics," "track AI referrals," "AI search traffic," "Claude traffic," or "how to track AI traffic." For AI SEO strategy, use generative-engine-optimization.
Teams using ai-traffic-tracking should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ai-traffic/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ai-traffic-tracking Compares
| Feature / Agent | ai-traffic-tracking | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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," "AI search analytics," "track AI referrals," "AI search traffic," "Claude traffic," or "how to track AI traffic." For AI SEO strategy, use generative-engine-optimization.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
Best AI Agents for Marketing
A curated list of the best AI agents and skills for marketing teams focused on SEO, content systems, outreach, and campaign execution.
SKILL.md Source
# 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 **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
Related Skills
analytics-tracking
When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions). Also use when the user mentions "Google Analytics," "GA4," "event tracking," "conversions," "attribution model," "gtag," "data layer," "GA4 setup," "conversion tracking," "event setup," "User ID tracking," or "CTA attribution." For traffic insights, use traffic-analysis.
traffic-analysis
When the user wants to analyze website traffic sources, attribution, or dark traffic. Also use when the user mentions "traffic sources," "dark traffic," "direct traffic," "UTM parameters," "traffic attribution," "channel attribution," "attribution optimization," "channel analysis," "traffic analysis," "traffic diversification," "natural traffic benchmark," or "organic vs paid traffic." For GA4 setup, use analytics-tracking.
website-structure
When the user wants to plan website structure, decide which pages to build, or prioritize pages for a new or existing site. Also use when the user mentions "website structure," "site structure," "which pages do I need," "page planning," "sitemap planning," "Must Have pages," "website architecture," or "site hierarchy." For a specific page template (e.g. homepage), use homepage-generator or landing-page-generator as appropriate. Not for organic SEO roadmap alone; use seo-strategy.
seo-strategy
When the user wants to plan SEO strategy, prioritize SEO work, or understand the SEO workflow. Also use when the user mentions "SEO strategy," "SEO plan," "SEO roadmap," "SEO priority," "SEO audit," "SEO workflow," "where to start SEO," "SEO approach," "organic growth strategy," "why SEO," "SEO value," or "search strategy." For technical/crawl audit execution, use seo-audit. For keyword research, use keyword-research. For AI search visibility, use generative-engine-optimization.
seo-audit
When the user wants to run an SEO audit, technical SEO audit, or site health check. Also use when the user mentions "SEO audit," "technical audit," "site audit," "crawl audit," "indexing audit," "SEO health," or "fix SEO issues." For prioritization and organic strategy, use seo-strategy. For GSC data analysis, use google-search-console.
retention-strategy
When the user wants to reduce churn, improve customer retention, or plan lifecycle marketing. Also use when the user mentions "retention," "churn," "customer lifecycle," "churn prevention," "at-risk customers," or "loyalty program." For lifecycle, use growth-funnel.
research-sources
When the user wants to find information sources for content ideation, competitor monitoring, or industry tracking. Also use when the user mentions "research sources," "information sources," "content ideation," "industry monitoring," "competitor monitoring," "market intelligence," "content research," or "topic research." For keywords, use keyword-research.
product-launch
When the user wants to plan a product launch, execute launch channels, or create a launch checklist. Also use when the user mentions "product launch," "launch strategy," "product announcement," "launch channels," or "market launch." For GTM motion and positioning, use gtm-strategy. For cold start and first users, use cold-start-strategy. For Product Hunt day-of, use product-hunt-launch.
pmf-strategy
When the user wants to validate product-market fit, measure PMF, or plan before scaling. Also use when the user mentions "PMF," "product-market fit," "product market fit," "Sean Ellis test," "very disappointed," "vitamin vs painkiller," "PMF validation," "premature scaling," or "validate before scale." For GTM after validation, use gtm-strategy.
indie-hacker-strategy
When the user wants indie hacker or bootstrapping founder strategy—growth, channels, Build in Public, or solo founder tactics. Also use when the user mentions "indie hacker," "indie developer," "bootstrapping," "bootstrapped founder," "solo founder," "Build in Public," "scratch your own itch," "Micro-SaaS," "first 100 users," or "solo company." For cold start, use cold-start-strategy.
gtm-strategy
When the user wants to plan go-to-market strategy, GTM framework, or market entry. Also use when the user mentions "GTM," "go-to-market," "market entry," "new market," "repositioning," "PLG," "sales-led," "product-led," "marketing-led," "ICP," "buyer persona," "GTM motion," or "market expansion." For launch checklist, use product-launch.
growth-funnel
When the user wants to plan growth using the AARRR framework, diagnose growth bottlenecks, or map actions across the customer lifecycle. Also use when the user mentions "growth funnel," "AARRR," "pirate metrics," "acquisition activation retention," "customer lifecycle metrics," or "growth framework." For retention tactics, use retention-strategy.