# Analytics Insights

Design the analytics layer with script-backed benchmarks: KPI trees, report templates...

- Repository: https://github.com/indranilbanerjee/digital-marketing-pro (921 stars)
- Category: Design
- License: MIT
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add indranilbanerjee/digital-marketing-pro --skill analytics-insights -g -a claude-code -y`
Codex: `npx skills add indranilbanerjee/digital-marketing-pro --skill analytics-insights -g -a codex -y`
Cursor: `npx skills add indranilbanerjee/digital-marketing-pro --skill analytics-insights -g -a cursor -y`
Gemini CLI: `npx skills add indranilbanerjee/digital-marketing-pro --skill analytics-insights -g -a gemini-cli -y`

## Description

Design the analytics layer with script-backed benchmarks: KPI trees, report templates, MMM, cookieless. \"define our KPIs\

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Analytics & Insights

> **Metrics:** mention rate, citation rate, share of model, share of AI voice, sentiment and the AI Visibility Score are defined, with formulas, in `skills/context-engine/ai-visibility-metrics.md`. Report every score with its formula and its sample size (n).

## GA4 "AI Assistant" channel group (added 13 May 2026)

Google Analytics 4 added a new **default channel group called "AI Assistant"** on 13 May 2026 ([GA4 channel groups doc](https://support.google.com/analytics/answer/9164320?hl=en)). When a referrer matches a recognized AI Assistant (ChatGPT, Gemini, Claude, etc.), GA4 automatically:

- Categorizes the session under the **AI Assistant channel group**
- Sets the **Medium dimension to `ai-assistant`**

This is the **attribution-side counterpart** to the new GSC AI Performance Report (rolled out 3 June 2026, see `/digital-marketing-pro:gsc-ai-performance`). Because the GSC AI report intentionally excludes click data, the GA4 AI Assistant channel is currently the cleanest path to attribute *actual traffic* coming from generative AI surfaces.

**Recommended GA4 setup checks** when onboarding a brand:

The rest: https://github.com/indranilbanerjee/digital-marketing-pro/blob/HEAD/skills/analytics-insights/SKILL.md
