Skip to main content
skill CX Codex

ga4-audit — Claude Code skill: what it does, how to install

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add cognyai/claude-code-marketing-skills --skill ga4-audit -a claude-code
Open on GitHub

What ga4-audit 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.

What it helps with

  • 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 for the agent

  • /ga4-audit
  • /ga4-audit config
  • /ga4-audit data-quality

How to install ga4-audit

1Skills CLI (Vercel)

npx skills add cognyai/claude-code-marketing-skills --skill ga4-audit -a claude-code

2Manually: put the files in place

~/.claude/skills/ga4-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ga4-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ga4-audit

How do I install ga4-audit in Claude Code?

Run npx skills add cognyai/claude-code-marketing-skills --skill ga4-audit -a claude-code.

What does ga4-audit check?

It inspects key events, data stream configurations, custom dimensions, PII parameters, and discrepancies with e-commerce platforms.

What dependencies are needed before running ga4-audit?

You need a Cogny Agent subscription ($9/mo), the Cogny MCP server added to .mcp.json, and an authorized Google Analytics 4 connection.

Similar skills

All skills for Marketing and content →

From the same set58

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. CX Codex +1 ★ 111repo stars ga4-measurement-plan Generates a structured GA4 tracking specification from a target website URL, detailing event taxonomies, custom dimensions, and key conversion actions. CX Codex +1 ★ 111repo stars ga4-events A GA4 event reference for choosing parameters, wiring implementations, and checking incoming data. Use it when building or auditing analytics tracking. CX Codex +1 ★ 111repo stars ga4-bigquery-schema A reference for the GA4 BigQuery export schema: nested fields, ready-to-use SQL patterns and performance notes. Handy when you need to unpack event_params or build a funnel query. CX Codex +1 ★ 111repo stars email-report Turns email platform data into weekly or monthly reports for Slack, a CEO email, or a board-deck section. Choose one format or request all three. CX Codex +1 ★ 111repo stars drop-off-rescue Finds contacts stuck at funnel stages, drafts a re-engagement email for each stage, and schedules the send in your ESP. CX Codex +1 ★ 111repo stars demand-gen-audit Audits Google Ads Demand Gen campaigns for creative diversity and target CPA drift. It helps marketers pinpoint wasted ad spend across Discover and YouTube. CX Codex +1 ★ 111repo stars deliverability-check Audits email-domain DNS records and checks deliverability signals. Use it to spot configuration issues and get a prioritized list of fixes. CX Codex +1 ★ 111repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor