AI Search Analyticsv1.0.0 · MIT · 2026-12-01
GSC Branded Classification & AI Search Halo Tracker Skill
Measure real AI search ROI by combining Google Search Console's native brandedClassification API, GSC Generative AI CSV exports, and GA4 ChatGPT/Perplexity organic referral regex.
Works with:Claude CodeCursorGoogle Search ConsoleGA4OpenSEO MCP
Install into .claude/skills (1 command)
mkdir -p .claude/skills/gsc-genai-branded-halo && curl -fsSL https://jasonzhu.ai/skills/gsc-genai-branded-halo/skill.md -o .claude/skills/gsc-genai-branded-halo/SKILL.mdSKILL.md
Author: Jason Zhu (Yansen Zhu)--- name: gsc-genai-branded-halo description: Measure AI search attribution without vanity metrics by combining Google Search Console native brandedClassification, GSC Generative AI Search CSV exports, and GA4 AI referral channel groups. version: 1.0.0 author: Jason Zhu (Yansen Zhu) <https://jasonzhu.ai> license: MIT --- # GSC Branded Classification & AI Search Halo Tracker Most AI search traffic does **not** arrive via a clean referrer click—users read an AI answer in ChatGPT, Perplexity, or Gemini, then open Google and search your brand name directly. Use this skill to track both **direct AI referrals** and the **branded search halo**. ## 3-Layer Measurement Stack ### Layer 1: Direct AI Organic Referrals in GA4 Create a custom GA4 Channel Group (or Explore free-form segment) matching `Session source` via regex: ```regex (?i)(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|you\.com|phind\.com|meta\.ai) ``` Rules: - Exclude `utm_medium=cpc|paid` so paid placements do not contaminate organic AI traffic. - Track **engaged sessions**, **landing page**, and **key events (demo/signup/checkout)**—not raw pageviews. AI referral sessions are typically lower volume but 2–4x higher intent. ### Layer 2: Google Search Console Native `brandedClassification` Query the GSC Search Analytics API with `dimensions: ["query"]` and filter/segment using Google's native `brandedClassification` (`BRANDED` vs `NON_BRANDED`): - **Why native beats regex:** Google's classifier captures brand misspellings, spacing variants, and anonymized branded long-tail queries (often 5–8x larger than naive regex counts). - **Graceful fallback for smaller domains:** Google only activates `brandedClassification` once a domain property crosses Google's internal query/impression confidence threshold. If the API returns unsupported or zero native rows, automatically fall back to an explicit brand regex list (`brand`, `domain.tld`, founder disambiguation name) and label the metric `regex_fallback` so dashboards never silently break or conflate methodologies. ### Layer 3: GSC Generative AI Search CSV Import When exporting Google Search Console Generative AI / AI Mode performance CSVs: 1. Normalize headers (`Query`, `Page`, `Clicks`, `Impressions`, `CTR`, `Position`) and tag `surface = "google_genai"`. 2. Join on `canonical_url` against your 28-day standard organic GSC table to isolate pages earning **high impressions + low CTR** (classic zero-click AI citation pattern). 3. Cross-check those exact pages against 28-day `BRANDED` query growth to quantify whether zero-click citations are lifting branded demand. ## Weekly Reporting Output Always output a 4-row executive summary table: 1. Direct AI Referral Sessions & Conversions (GA4 regex, WoW / MoM) 2. Branded Search Clicks & Impressions (GSC `google_native` or `regex_fallback`) 3. Non-Branded Discovery Clicks & Impressions (GSC) 4. Top 5 Rising Landing Pages by AI Referral or Branded Halo Lift
Live Benchmarks & B2B Diagnostic Funnel
Automate This Skill with OpenSEO MCP — or Request a Free 1-Page Entity Gap Audit
If your SaaS or AI product team is investing in GEO, Knowledge Graph disambiguation, or AI search acquisition, run our live 26-check scanner first or send your domain for a 1-page Entity Gap Audit from Jason Zhu (Yansen Zhu).
More Open-Source GEO & SEO Skills
geo-entity-gap-audit
GEO & Knowledge Graph Entity Gap Audit Skill
aeo-answer-index
AEO Answer Index & Multi-Engine Citation Benchmark Skill
seo-image-chisel
SEO Blog Images & Content Chisel Spec Skill
llms-txt-validator
llms.txt Generator & Spec Validator Skill
robots-ai-crawler-audit
robots.txt & AI Crawler Access Audit Skill
schema-org-graph-builder
Schema.org @graph JSON-LD Builder & Validator Skill