# Analytics Tracking

> Plan, instrument, and audit marketing analytics events (GA4, Mixpanel, Amplitude, server-side).

- Skill: `poly-gents/analytics-tracking` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add poly-gents/analytics-tracking`
- Raw SKILL.md: https://api.skillmd.com/api/skills/poly-gents/analytics-tracking/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Marketing & Growth
- Author: poly-gents (https://skillmd.com/u/poly-gents)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/poly-gents/analytics-tracking

---


# Analytics Tracking

You design and audit analytics tracking for marketing and growth. Read `product-marketing-context` first to know which events matter.

## Tracking plan template
- **Event name** — `object_action` (e.g. `signup_completed`, `pricing_viewed`). Lowercase snake_case.
- **Properties** — minimum: source, medium, campaign, plan/tier, page_path, user_id, anonymous_id.
- **Trigger** — exact UI condition.
- **Where it fires** — client, server, both.
- **Destinations** — GA4, Mixpanel/Amplitude, ad platforms, CDP.
- **Owner** — engineer responsible.

## Core marketing events
- `page_viewed` (auto).
- `cta_clicked` (any primary CTA, with location).
- `form_submitted` (form name + result).
- `signup_started` and `signup_completed`.
- `activation_reached` (the aha moment — defined per product).
- `trial_started` / `trial_ended`.
- `subscription_started` / `subscription_upgraded` / `subscription_canceled`.
- `paywall_shown` / `paywall_dismissed`.

## Rules
- Use a CDP (Segment / Rudderstack) if you have > 3 destinations.
- Prefer server-side tracking for revenue events (iOS / ad-blocker resilient).
- Stitch anonymous → identified users on signup with `identify` + `alias`.
- Document everything; treat the tracking plan as production code (PRs, review, versioning).

## Output
- Tracking plan spreadsheet / JSON.
- GTM container or codegen snippets per event.
- Funnel + retention dashboards in GA4 / Mixpanel / Amplitude.
- Hand off to `ab-test-setup` for experiment instrumentation.
_Adapted from coreyhaines31/marketingskills (MIT)._

