ga4-channel-groupings

ga4-channel-groupings is a skill for Claude Code from Ad-Superpowers/ad-superpowers-plugin. It costs 87 tokens per session (4,211 once invoked), scanned A, original, MIT.

A guide to configuring how Google Analytics 4 groups website visits into channels such as organic search, paid search, direct, and affiliate traffic. Channel groups are rules that turn source and medium data into consistent categories.

In plain words
What is it for?
Creating custom channel groups, fixing source and medium mappings, separating branded from non-branded traffic, and classifying affiliate visits.
Why use it?
It helps prevent traffic from being put in the wrong category, making acquisition reports easier to interpret across campaigns and platforms.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ad-superpowers plugin — 120 skills, 35 commands, 5 agents, 1 MCP server shipped together

Good fit Creating custom channel groups, fixing source and medium mappings, separating branded from non-branded traffic, and classifying affiliate visits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Ad-Superpowers/ad-superpowers-plugin --skill ga4-channel-groupings
Clone the repo
git clone --depth 1 https://github.com/Ad-Superpowers/ad-superpowers-plugin

Made for: Claude Code.

Or install ad-superpowers, the plugin that ships this one along with the rest of its 120 skills, 35 commands, 5 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ga4-channel-groupings

README.md
[![agentmods](https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings/github.svg)](https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings)
Your own site
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ga4-channel-groupings

Your own site · 80×15
<a href="https://agentmods.dev/skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings"><img src="https://agentmods.dev/badge/skills/ad-superpowers/ad-superpowers-plugin/ga4-channel-groupings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.04211
Opus 5 $0.00044 $0.02106
Sonnet 5 $0.00017 $0.00842
Haiku 4.5 $0.00009 $0.00421

Measured 11d ago against content hash 384d5961b508, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ga4-channel-groupings scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/ga4-channel-groupings/SKILL.md · 425 lines

How it starts

The opening of the file, as written. The whole thing — 425 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GA4 Channel Groupings Guide

Complete guide for configuring and optimizing channel groupings in Google Analytics 4 for accurate traffic categorization.

Default Channel Groups

GA4 DEFAULT CHANNEL GROUPS
===========================

NOTE: GA4 introduced the "Primary Channel Group" concept in March 2024.
This is now the default grouping shown in Acquisition reports. The ~20
default channels below are unchanged. Custom channel groups are still
available under Admin → Data display → Custom channel groups.

THE ~20 STANDARD CHANNELS:
┌─────────────────────┬───────────────────────────────────────────┐
│ Channel             │ When triggered                            │
├─────────────────────┼───────────────────────────────────────────┤
│ Direct              │ Source = (direct) AND medium = (none/not  │
│                     │ set)                                      │
├─────────────────────┼───────────────────────────────────────────┤
│ Organic Search      │ Source = search engine AND medium =       │
│                     │ organic (google, bing, yahoo, etc.)       │
├─────────────────────┼───────────────────────────────────────────┤
│ Paid Search         │ Source = search engine AND medium =       │
│                     │ cpc/ppc/paid AND campaign != shopping     │
├─────────────────────┼───────────────────────────────────────────┤
│ Paid Shopping       │ (Source = shopping sites) OR              │
│                     │ (campaign contains shop/shopping)         │
├─────────────────────┼───────────────────────────────────────────┤
│ Paid Social         │ Source = social network AND medium =      │
│                     │ cpc/ppc/paid/paid-social                  │
├─────────────────────┼───────────────────────────────────────────┤
│ Organic Social      │ Source = social network AND medium =      │
│                     │ social/organic-social OR referral         │
├─────────────────────┼───────────────────────────────────────────┤
│ Email               │ Medium = email                            │
├─────────────────────┼───────────────────────────────────────────┤
│ Affiliates          │ Medium = affiliate                        │
├─────────────────────┼───────────────────────────────────────────┤
│ Referral            │ Medium = referral (and not social)        │
├─────────────────────┼───────────────────────────────────────────┤
│ Paid Video          │ Source = video platform AND medium = cpc  │
│                     │ (youtube, vimeo, etc.)                    │
├─────────────────────┼───────────────────────────────────────────┤
│ Organic Video       │ Source = video platform AND medium =      │
│                     │ organic/referral                          │
├─────────────────────┼───────────────────────────────────────────┤
│ Display             │ Medium = display/banner/cpm               │
├─────────────────────┼───────────────────────────────────────────┤
│ Paid Other          │ Medium = cpc/ppc/paid (not matched        │
│                     │ elsewhere)                                │
├─────────────────────┼───────────────────────────────────────────┤
│ Organic Shopping    │ Source = shopping AND medium != paid      │
├─────────────────────┼───────────────────────────────────────────┤
│ Audio               │ Medium = audio                            │
├─────────────────────┼───────────────────────────────────────────┤
│ SMS                 │ Medium = sms                              │
├─────────────────────┼───────────────────────────────────────────┤
│ Mobile Push         │ Medium = push/mobile/notification         │
├─────────────────────┼───────────────────────────────────────────┤
│ Unassigned          │ None of the above rules match             │
└─────────────────────┴───────────────────────────────────────────┘

ORDER MATTERS:
├── GA4 evaluates channels from top to bottom
├── First match wins
├── Therefore: specific rules first, general rules later
└── "Unassigned" is always the last fallback

Read the full file on GitHub · 425 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 425 lines · 87 tokens per session scan A 384d5961b508

Subscribe to this mod's changes

ga4-channel-groupings is a skill published in the GitHub repository Ad-Superpowers/ad-superpowers-plugin (5 stars, last pushed today), licensed MIT. It adds 87 tokens to every session and 4,211 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

analytics

Growth analytics authority — GA4 event tracking, conversion funnels, attribution models, cohort analysis, A/B testing, Supabase analytics queries, and revenue reporting patterns.

LuuOW/meridian-mcp · 33 tokens

sealeap-amazon-product-targeting

An Amazon Ads planning skill for targeting product pages and categories, including competitor, complementary, upsell, and own-product traffic.

xjli360/sealeap-amazon-ad-skills · 168 tokens

cro-optimizer

CRO specialist that pulls live analytics data via the Humblytics MCP, analyzes conversion funnels, identifies drop-off points, and generates prioritized A/B test hypotheses. Use when analyzing conversion rates, diagnosing funnel leaks, optimizing signup flows, or creating test roadmaps. Triggers: CRO, conversion rate…

Humblytics/humblytics-marketing-skills · 76 tokens

creative-generate

A workflow for creating advertising images and banners from a strategy brief. It separates the main visual artwork from the accurately typeset text and produces variants for display or social formats.

logly/mureo · 131 tokens

learn

Save a marketing diagnosis insight to the pro-diagnosis knowledge base so it is applied in future operations across all platforms. Use when the user runs /learn, explicitly teaches the agent a marketing insight, corrects the agent's analysis, or asks to remember/record an operational learning for next time. Also use…

logly/mureo · 98 tokens

sealeap-baize-amazon-ad-strategy-router

An Amazon advertising decision guide that chooses between precise product-attribute terms, broad search intent, or similar-product targeting. It bases the choice on what the product really is, how people search, conversion results, profit per sale, stock, and growth goals.

xjli360/sealeap-amazon-ad-skills · 79 tokens