# ga4-monitor

Runs a weekly pass over your analytics: sessions, conversions, revenue and channels against last week. Flags a key event that quietly stopped firing.

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

## What it does

The skill keeps one recurring routine. It reads the previous snapshot from `insights/ga4/monitor/latest`, pulls a realtime report, then compares the last 7 full days with the 7 before them. You get sessions, users, new users, engagement rate, average session duration, conversions for key events, revenue and channel mix — each number with its week-over-week delta. Today's partial day stays out of both windows, so the comparison holds up.

GA4 is the default, but the compatibility table also covers Plausible, Fathom Analytics, Simple Analytics and Adobe Analytics, each with its own calls. Connect Shopify or WooCommerce plus PostHog or Mixpanel and the skill cross-checks a conversion drop against orders and sign-ups, which tells you whether sales really fell or a tag broke. Several providers connected at once are shown side by side, never added together.

You need a Cogny Agent subscription and the Cogny MCP server in the project's `.mcp.json`; without it the skill prints setup instructions and stops. `health_status` can miss a revoked token, so the skill makes one cheap read per provider and marks a 401 or scope error as a reconnect right away. Schedule it with `/loop` or `/schedule`; for a one-off deep review there is `/ga4-audit`.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

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

## When to use it
- catch a key event that stopped firing after a tag change
- compare sessions and conversions against the previous 7 full days
- break traffic down by channel and see where new users came from
- check a conversion drop against Shopify or WooCommerce orders
- spot a revoked integration token before the report comes back empty

## Example prompts
- Run the weekly GA4 check and show the deltas against last week
- Check whether tracking broke: compare realtime with the 7-day report
- Build the channel and conversion report and save the snapshot to `insights/ga4/monitor/latest`

## Similar
- [conversion-signal-qa](https://affpapa.org/en/nevibecode/skills/conversion-signal-qa.md) — skill · 1000 installs
- [launch-monitor](https://affpapa.org/en/nevibecode/skills/launch-monitor.md) — skill · 1000 installs
- [ads-monitor](https://affpapa.org/en/nevibecode/skills/ads-monitor.md) — skill · 633 installs
- [attribution](https://affpapa.org/en/nevibecode/skills/attribution.md) — skill · 39000 installs
- [analytics-tracking](https://affpapa.org/en/nevibecode/skills/analytics-tracking.md) — skill · 717 installs
- [analytics-tracking-automation](https://affpapa.org/en/nevibecode/skills/analytics-tracking-automation.md) — skill · 2000 installs

From the same set: [cognyai/claude-code-marketing-skills](https://affpapa.org/en/nevibecode/by/cognyai/claude-code-marketing-skills.md) — 18 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
