channel-acquisition

channel-acquisition is a skill for Claude Code from surendranb/google-analytics-mcp. It costs 31 tokens per session (523 once invoked), scanned A, original, MIT.

A Google Analytics 4 reporting guide for grouping website visits and users by where they came from, such as search, advertising, or social media.

In plain words
What is it for?
Use it to build channel summaries, source-and-medium reports, and paid-campaign performance queries for a selected date range.
Why use it?
It helps avoid incorrect GA4 field names and mismatched measurements when comparing traffic sources and campaigns.

Skill for Claude Code

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

Part of the google-analytics-mcp plugin — 16 skills, 1 MCP server shipped together

Good fit Use it to build channel summaries, source-and-medium reports, and paid-campaign performance queries for a selected date range.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/surendranb/google-analytics-mcp/channel-acquisition
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 surendranb/google-analytics-mcp --skill channel-acquisition
Clone the repo
git clone --depth 1 https://github.com/surendranb/google-analytics-mcp

Made for: Claude Code.

Or install google-analytics-mcp, the plugin that ships this one along with the rest of its 16 skills, 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 channel-acquisition

README.md
[![agentmods](https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/channel-acquisition/github.svg)](https://agentmods.dev/skills/surendranb/google-analytics-mcp/channel-acquisition)
Your own site
<a href="https://agentmods.dev/skills/surendranb/google-analytics-mcp/channel-acquisition"><img src="https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/channel-acquisition/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 channel-acquisition

Your own site · 80×15
<a href="https://agentmods.dev/skills/surendranb/google-analytics-mcp/channel-acquisition"><img src="https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/channel-acquisition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.00523
Opus 5 $0.00015 $0.00262
Sonnet 5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

channel-acquisition 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 9d 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.

skills/channel-acquisition/SKILL.md · 69 lines

What it actually says

Channel Acquisition Analysis

Break down sessions and users by traffic source, medium, and channel group to understand where your audience comes from and which channels perform best.

Correct dimension names

Concept GA4 API name
Channel group sessionDefaultChannelGroup
Source sessionSource
Medium sessionMedium
Source / Medium sessionSourceMedium
Campaign name sessionCampaignName
Campaign ID sessionCampaignId
Ad content sessionManualAdContent

Do not use sessionDefaultChannelGrouping — it does not exist. Do not combine sessionCampaignName with user-scoped metrics like totalUsers.

Step 1 — Channel overview

dimensions: ["sessionDefaultChannelGroup"]
metrics: ["sessions", "totalUsers", "newUsers", "userEngagementDuration",
          "screenPageViewsPerSession", "bounceRate"]
date_range: last 30 days
order_by: sessions DESC

Step 2 — Source / medium detail

dimensions: ["sessionSource", "sessionMedium"]
metrics: ["sessions", "newUsers", "userEngagementDuration", "keyEvents"]
date_range: last 30 days
order_by: sessions DESC
limit: 25

Step 3 — Campaign performance (paid)

dimensions: ["sessionCampaignName", "sessionDefaultChannelGroup"]
metrics: ["sessions", "newUsers", "keyEvents", "userEngagementDuration"]
dimension_filter: {
  "filter": {
    "fieldName": "sessionMedium",
    "stringFilter": {"matchType": "EXACT", "value": "cpc"}
  }
}
date_range: last 30 days
order_by: sessions DESC

Step 4 — Trend by channel over time

dimensions: ["date", "sessionDefaultChannelGroup"]
metrics: ["sessions", "newUsers"]
date_range: last 90 days
order_by: date ASC

What to report

  • Top 5 channels by sessions and by new users
  • Engagement quality per channel (userEngagementDuration per session)
  • Which channel drives the most key events (conversions)
  • Week-over-week or month-over-month trend for top channels
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. 9d ago First seen · 69 lines · 31 tokens per session scan A 756ae1b19269

Subscribe to this mod's changes

channel-acquisition is a skill published in the GitHub repository surendranb/google-analytics-mcp (241 stars, last pushed 7d ago), licensed MIT. It adds 31 tokens to every session and 523 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories