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…

INSTALLATION
npx skills add https://github.com/kostja94/marketing-skills --skill ai-traffic-tracking
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$27

Option 1: Exploration Report (Recommended)

  • ExploreFree form
  • Dimensions: Session source (or Session source / medium)
  • Metrics: Sessions, Engagement rate, Event count, etc.
  • Filters: Add filter →Session source Matches 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

  • AdminData DisplayChannel Groups
  • Copy default group, name e.g. "Default and AI Chatbots"
  • Add channel "AI Chatbots": Source Matches regex (same regex)
  • Important: Place "AI Chatbots" above "Referral" so it matches first
  • Save and use in Traffic Acquisition

Option 3: Custom Report

  • ReportsLibrary →Create Detail Report
  • Use Traffic Acquisition template
  • Add filter: Session source Matches 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
BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card