# ga4-measurement-plan

Generates a structured GA4 tracking specification from a target website URL, detailing event taxonomies, custom dimensions, and key conversion actions.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 111
- Author: Cogny AI
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/cognyai/claude-code-marketing-skills/tree/HEAD/skills/ga4-measurement-plan/SKILL.md
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/skills/ga4-measurement-plan

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/ga4-measurement-plan/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/ga4-measurement-plan/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/ga4-measurement-plan/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/ga4-measurement-plan/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install cognyai/claude-code-marketing-skills ga4-measurement-plan
```

2. **Manually: put the files in place**
- File: `.github/skills/ga4-measurement-plan/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/cognyai/claude-code-marketing-skills --path skills/ga4-measurement-plan
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/ga4-measurement-plan/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill ga4-measurement-plan -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/cognyai/claude-code-marketing-skills/tree/HEAD/skills/ga4-measurement-plan/SKILL.md

## When to use it
- 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
- /ga4-measurement-plan example.com
- /ga4-measurement-plan example.com "drive demo bookings"
- Draft a GA4 measurement plan for example.com focused on signups

## Similar
- [seo-audit](https://affpapa.org/en/nevibecode/skills/coreyhaines31-seo-audit.md) — skill · 238500 installs
- [programmatic-seo](https://affpapa.org/en/nevibecode/skills/coreyhaines31-programmatic-seo.md) — skill · 150800 installs
- [copy-editing](https://affpapa.org/en/nevibecode/skills/coreyhaines31-copy-editing.md) — skill · 149800 installs
- [marketing-ideas](https://affpapa.org/en/nevibecode/skills/coreyhaines31-marketing-ideas.md) — skill · 147400 installs
- [sales-enablement](https://affpapa.org/en/nevibecode/skills/sales-enablement.md) — skill · 119400 installs
- [revops](https://affpapa.org/en/nevibecode/skills/revops.md) — skill · 114000 installs

From the same set: [cognyai/claude-code-marketing-skills](https://affpapa.org/en/nevibecode/by/cognyai/claude-code-marketing-skills.md) — 58 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
