Set up analytics tracking for product decisions
analytics-trackingskillsetup L2★0
Mikecranesync/MIRA ↗Causal-lift measurements
event-tracking-design+12pp vs no-skill baselinewith-skill 80% · baseline 68%
Measured by running the task with and without this artifact, K=5, graded by deterministic checks — no LLM judging.
What it does
Set up analytics tracking for marketing and product decisions
Best for
Analyst or PM setting up comprehensive analytics for SaaS or product — covers full workflow from business context → decision questions → event naming → GA4 implementation, with templates for essential events.
Inputs
- · Product marketing context (if .agents/product-marketing-context.md exists)
- · Business context (what decisions will data inform, key conversions)
- · Current tracking state (what exists, what tools are in use)
- · Technical context (tech stack, privacy/compliance requirements)
Outputs
- · Tracking plan framework (event name, category, properties, trigger, notes)
- · Event types categorization (pageviews, user actions, system events, conversions)
- · Essential events by product type (marketing site, app/product)
- · Event naming conventions (object-action format, best practices)
- · GA4 implementation guide with custom event example
Requires
- · GA4
- · Google Tag Manager (optional)
Preconditions
- · Analytics tool chosen (GA4, PostHog, Mixpanel, etc.)
- · Conversion funnel defined
- · Product marketing context available (optional but helpful)
Failure modes
- · Doesn't validate event firing — assumes manual spot checks are sufficient
- · GTM container structure guidance is generic (doesn't account for custom triggers)
- · Data layer pattern example is basic — complex implementations need custom design
- · Privacy/compliance requirements are out of scope (mentioned but not covered)
Trust signals
- · Workflow: business context → questions → events (backward-looking)
- · Event naming convention (object-action, snake_case, be specific)
- · Recommended events table (purchase, sign_up, login, search, view_item, add_to_cart)
- · GA4 custom event example with gtag.js syntax
- · Data layer pattern for GTM