ga4-measurement-plan — Claude Code skill: what it does, install
Generates a structured GA4 tracking specification from a target website URL, detailing event taxonomies, custom dimensions, and key conversion actions.
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a claude-codeWhat ga4-measurement-plan does
The skill inspects pages with WebFetch. It detects whether the site operates as an online store or a SaaS platform. Next, it identifies native measurement signals like outbound clicks and defines custom events formatted in lowercase snake_case under 40 characters.
The final deliverable is an implementation table containing trigger criteria, event parameters, and marked conversions. Non-standard parameters are flagged for dimension registration while respecting the 50 event-scoped limit.
A live property is not required to create the plan. When Cogny MCP integrations are active, the skill queries GA4, Segment, PostHog, or Mixpanel to compare existing production events against the new blueprint.
What it helps with
- Build a complete GA4 tracking plan from a public URL
- Select 3 to 8 meaningful key events for conversion tracking
- Identify custom parameters that require dimension registration in GA4
- Compare proposed events against live tracking in Segment or PostHog
Example prompts for the agent
- /ga4-measurement-plan example.com
- /ga4-measurement-plan example.com "drive demo bookings"
- Draft a GA4 measurement plan for example.com focused on signups
How to install ga4-measurement-plan
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a claude-code2Manually: put the files in place
~/.claude/skills/ga4-measurement-plan/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ga4-measurement-plan/
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a codex2Manually: put the files in place
.agents/skills/ga4-measurement-plan/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a cursor2Manually: put the files in place
.cursor/skills/ga4-measurement-plan/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install cognyai/claude-code-marketing-skills ga4-measurement-plan2Manually: put the files in place
.github/skills/ga4-measurement-plan/SKILL.md1Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a gemini-cli2Platform CLI
gemini skills install https://github.com/cognyai/claude-code-marketing-skills --path skills/ga4-measurement-planManually: put the files in place
.devin/skills/ga4-measurement-plan/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ga4-measurement-plan
How do I install ga4-measurement-plan in Claude Code?
Run npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a claude-code in your terminal.
What does ga4-measurement-plan do?
It audits site pages to design an event taxonomy, defines parameters and custom dimensions, and highlights conversions for analytics implementation.
Is an active GA4 property connection mandatory?
No, the skill operates on the URL alone. Connecting analytics accounts via Cogny MCP is only needed if you want to audit live event data.