← Back to Skills Marketplace
kostja94

Ai Traffic Tracking

by Kostja Zhang · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
272
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install 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 Ove...
README (SKILL.md)

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. ExploreFree 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. AdminData DisplayChannel 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. ReportsLibrary →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
Usage Guidance
This skill is a guidance document for configuring GA4/GSC and appears internally consistent. Before applying changes in a production property, test the regex and channel-group rules in a staging or test view to avoid misclassifying traffic; validate the regex against your actual Session Source values (it may need additions/removals). Note that although this skill itself asks for no credentials, actually implementing the steps requires GA4/GSC access — grant only the minimum necessary permissions and review related skills (e.g., google-search-console) before installing or combining them, since those may require OAuth/API credentials.
Capability Analysis
Type: OpenClaw Skill Name: ai-traffic Version: 0.1.0 The skill bundle is purely instructional, providing guidance and regex patterns for tracking AI-driven search traffic (e.g., ChatGPT, Perplexity, Claude) within Google Analytics 4 and Google Search Console. It contains no executable code, network requests, or malicious prompt injection attempts, and its content is entirely consistent with its stated purpose in SKILL.md.
Capability Assessment
Purpose & Capability
The name/description (AI traffic tracking for GA4 and GSC) align with the runtime instructions, which are GA4 exploration/channel-group/custom-report steps and regexes for common AI referrers. The skill does not request unrelated credentials or binaries.
Instruction Scope
SKILL.md contains only step-by-step instructions for creating GA4 reports, channel groups, and filtersplus a recommended regex. It does not instruct reading local files, accessing environment variables, or sending data to external endpoints outside the analytics tools it documents.
Install Mechanism
No install spec and no code files — instruction-only. Nothing will be written to disk or downloaded by the skill itself.
Credentials
The skill requires no environment variables or credentials. That is proportionate: to implement the guidance a user would need GA4/GSC admin access, but the skill itself does not request those credentials.
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent system presence or modify other skills' configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-traffic
  3. After installation, invoke the skill by name or use /ai-traffic
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release – introduces comprehensive guidance for tracking AI-driven search traffic in Google Analytics 4 (GA4) and Google Search Console (GSC). - Covers identification and tracking of AI search traffic, including sources like ChatGPT, Perplexity, Claude, Copilot, Gemini, and Google AI Overviews. - Provides detailed, step-by-step setup instructions for GA4 via Explorations, channel groups, and custom reports. - Includes recommended regex to capture common AI referrer domains. - Outlines options for tracking AI Overviews in GA4 and GSC, with notes on limitations. - Supplies a checklist to ensure effective tracking setup. - Lists related skills for further analysis and optimization.
Metadata
Slug ai-traffic
Version 0.1.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 272 downloads so far.

How do I install Ai Traffic Tracking?

Run "/install ai-traffic" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ai Traffic Tracking free?

Yes, Ai Traffic Tracking is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ai Traffic Tracking support?

Ai Traffic Tracking is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ai Traffic Tracking?

It is built and maintained by Kostja Zhang (@kostja94); the current version is v0.1.0.

💬 Comments