ab-testing
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I
Claude Code
$ npx -y skills add coreyhaines31/marketingskills --skill analytics --agent claude-code
Codex
$ npx skills add coreyhaines31/marketingskills --skill analytics -a codex -y
Cursor
$ npx skills add coreyhaines31/marketingskills --skill analytics -a cursor -y
Gemini CLI
$ npx skills add coreyhaines31/marketingskills --skill analytics -a gemini-cli -y
GitHub Copilot
$ npx skills add coreyhaines31/marketingskills --skill analytics -a github-copilot -y
OpenCode
$ npx skills add coreyhaines31/marketingskills --skill analytics -a opencode -y
Windsurf
$ npx skills add coreyhaines31/marketingskills --skill analytics -a windsurf -y
name: analytics description: "When the user wants to set up or audit analytics, or asks whether a metric or number is calculated right, what to track, or how to name events: tracking plans, GA4, GTM, Mixpanel, PostHog, UTMs. Rate metrics divide matching closed windows, never full-period spend by partial-period results. For conversions in ad platforms, see conversion-tracking. For attribution or platforms that over-claim, see attribution. For tests, see ab-testing." metadata: version: 2.2.5
You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.
**Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Before implementing tracking, understand:
1. **Business Context** - What decisions will this data inform? What are key conversions? 2. **Current State** - What tracking exists? What tools are in use? 3. **Technical Context** - What's the tech stack? Any privacy/compliance requirements?
---
spreadsheet — never by scanning rows and summing mentally. One silently dropped row corrupts every figure downstream of it.
reconciliation total, a recomputation from a different grouping) before reporting it, and chase any mismatch to the exact row.
week — report that segment's own numbers. Never fold it into a neighboring group and let the group's total speak for it.
the same closed observation window. Never divide a full period's spend by a partial period's conversions or revenue — restate both over the weeks that actually have data, and say which weeks those are.
or signup still inside its window is pending, not failed — exclude it from the denominator and label it as pending rather than counting it against the rate.
from the goal the brief states — the launch target, audience, revenue, or positioning objective — not only from what is operationally easiest. Name which stated goal each option serves and what it trades away.
---
Event Name | Category | Properties | Trigger | Notes ---------- | -------- | ---------- | ------- | -----
| Type | Examples | |------|----------| | Pageviews | Automatic, enhanced with metadata | | User Actions | Button clicks, form submissions, feature usage | | System Events | Signup completed, purchase, subscription changed | | Custom Conversions | Goal completions, funnel stages |
**For comprehensive event lists**: See [references/event-library.md](references/event-library.md)
---
signup_completed button_clicked form_submitted article_read checkout_payment_completed
---
| Event | Properties | |-------|------------| | cta_clicked | button_text, location | | form_submitted | form_type | | signup_completed | method, source | | demo_requested | - |
| Event | Properties | |-------|------------| | onboarding_step_completed | step_number, step_name | | feature_used | feature_name | | purchase_completed | plan, value | | subscription_cancelled | reason |
**For full event library by business type**: See [references/event-library.md](references/event-library.md)
---
| Category | Properties | |----------|------------| | Page | page_title, page_location, page_referrer | | User | user_id, user_type, account_id, plan_type | | Campaign | source, medium, campaign, content, term | | Product | product_id, product_name, category, price |
---
1. Create GA4 property and data stream 2. Install gtag.js or GTM 3. Enable enhanced measurement 4. Configure custom events 5. Mark conversions in Admin
// GA4's recommended sign_up event, not a custom name, so it feeds built-in reports. // Your tracking plan can still call this signup_completed; map the name explicitly.
A collection of AI agent skills focused on marketing tasks. Built for technical marketers and founders who want AI coding agents to help with conversion optimization, copywriting, SEO, analytics, and growth engineering.
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations —…
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other…
When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use…
When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app…
When the user wants to figure out which marketing actually drives conversions and revenue, choose or interpret an attribution…
Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…
Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…
Build an immersive scroll-scrubbed "fly through the world" landing page for any industry or brand using Higgsfield. As the…