# ga4-audit

Audits Google Analytics 4 setup and data hygiene. It identifies misconfigured key events, missing streams, and tracking discrepancies against your actual store orders.

- 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-audit/SKILL.md
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/skills/ga4-audit

## What it does

This skill inspects a GA4 property via the Cogny MCP gateway to catch tracking flaws before quarterly reporting breaks down. It reviews data streams to find duplicated web tracking, scans custom dimensions, and inspects key events. If default actions like `page_view` or `scroll` are marked as conversions, the audit flags inflated metrics.

To verify figures beyond Google's ecosystem, the audit compares GA4 `purchase` counts against Shopify orders or WooCommerce sales reports. It can also estimate the consent and ad-blocker gap using tools like Plausible or Fathom. Some settings cannot be fetched via API, such as the 2-month versus 14-month retention window; the skill asks you to confirm those directly in the GA4 admin panel.

Running the audit requires a paid Cogny Agent account ($9/month) and an active MCP endpoint at `https://app.cogny.com/mcp` configured in your `.mcp.json`.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

2. **Manually: put the files in place**
- File: `.cursor/skills/ga4-audit/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-audit
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add cognyai/claude-code-marketing-skills --skill ga4-audit -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-audit/SKILL.md

## When to use it
- strip noisy automatic events from GA4 conversion lists
- compare recorded GA4 purchases against Shopify or WooCommerce sales
- detect duplicate web streams that double-count visitors
- measure ad-blocker traffic gaps against Plausible or Fathom

## Example prompts
- /ga4-audit
- /ga4-audit config
- /ga4-audit data-quality

## 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
