Analytics

From nicepkg/ai-workflow · View interactive version

Analytics is an AI agent skill from the GitHub repository nicepkg/ai-workflow. Master metrics definition, KPI tracking, dashboarding, A/B testing, and data-driven decision making. Use data to guide product decisions.

How to use this skill

Skill file

Analytics & Metrics Skill

Become data-driven. Define meaningful metrics, build dashboards, run experiments, and make decisions based on data, not intuition.

Metrics Framework (Acquisition → Revenue)

North Star Metric

Definition: One metric that best captures the value your product delivers.

Characteristics:

Examples:

Funnel Metrics (Acquisition)

Total Visitors: 100,000/month
↓ 20% conversion
Free Signups: 20,000
↓ 10% free-to-paid
Paid Customers: 2,000

CAC: $50 (marketing + sales spend / customers acquired)
LTCAC: $100 (all customer acquisition costs)

Metrics to Track:

Activation Metrics

Goal: New users become active users

Free Signups: 2,000
↓ 30% onboard successfully
Activated: 600
↓ 60% remain active Day 7
Day 7 Active: 360

Metrics to Track:

Engagement Metrics

Goal: Users regularly use product

Daily/Monthly Metrics:

Cohort Analysis Example:

Jan Cohort (1,000 signups):
- Day 1: 600 active (60%)
- Day 7: 360 active (36%)
- Day 30: 180 active (18%)
- Month 3: 90 active (9%)

Feb Cohort (1,500 signups):
- Day 1: 1050 active (70%) ← Improving!
- Day 7: 630 active (42%)
- Day 30: 300 active (20%)

Retention Metrics

Goal: Users stay and continue paying

Month 1: 1,000 customers
Month 2: 900 active (90% retained)
Month 3: 810 active (90% of month 2)
Month 12: 314 active (31% annual retention)

Churn Rate: % lost each period

NPS (Net Promoter Score)

Revenue Metrics

Monthly Recurring Revenue (MRR)

MRR = (Total paid customers) × (average subscription price)
Growth MRR = New MRR + Expansion MRR - Churn MRR

Annual Run Rate (ARR)

ARR = MRR × 12

Average Revenue Per User (ARPU)

ARPU = MRR / Total Users

Customer Lifetime Value (LTV)

LTV = (ARPU × Gross Margin %) / Monthly Churn %

Example:
ARPU: $100
Gross Margin: 80%
Monthly Churn: 5%
LTV = ($100 × 80%) / 5% = $1,600

If CAC = $400: LTV/CAC = 4x ✓ (target: 3x+)

Dashboard Architecture

Executive Dashboard (C-Level)

Weekly Updates:

Frequency: Weekly

Product Dashboard (Product Team)

Daily/Weekly:

Frequency: Daily updates

Financial Dashboard (Finance/Operations)

Monthly:

Frequency: Monthly

Health Dashboard (Operations)

Realtime:

Frequency: Realtime/hourly

A/B Testing (Experimentation)

Test Planning

Hypothesis:

"If we change X, then Y will improve, because Z"

Example:

"If we move signup button above the fold, then conversion will improve 15%, because users won't scroll."

Test Structure

Experiment Design:

Statistical Significance

Confidence Level: 95% (industry standard)

P-Value: Probability result is random chance

Example A/B Test

Hypothesis: Moving signup button above fold increases conversion 15%

Setup:

Results:

Test Ideas by Priority

High Priority (Start Here):

Medium Priority:

Low Priority:

Metric Pitfalls to Avoid

Vanity Metrics

❌ "We have 1M page views!"

✓ "We have 50K daily active users, growing 10% monthly"

Actionable vs Non-Actionable

❌ "User satisfaction increased" (what changed?)

✓ "Onboarding completion rate 65% → 78% (↑20%)" (clear action)

Correlation vs Causation

❌ "Ice cream sales correlate with drownings"

✓ Understand actual causation, not just correlation

Look-Alike Metrics

❌ Track MRR but not Customer LTV (can grow MRR by spending more on acquisition)

✓ Track both acquisition efficiency AND retention

Metrics Review Cadence

Daily:

Weekly:

Monthly:

Quarterly:

Troubleshooting

Yaygın Hatalar & Çözümler

| Hata | Olası Sebep | Çözüm |

|------|-------------|-------|

| Vanity metrics focus | Wrong KPI selection | North Star alignment |

| Inconclusive A/B test | Low sample size | Extend duration |

| Data inconsistency | Multiple sources | Single source of truth |

| Dashboard unused | Too complex | Simplify to 5-7 KPIs |

Debug Checklist

[ ] North Star metric defined mi?
[ ] Metrics business goals'a aligned mi?
[ ] Data collection accurate mi?
[ ] Dashboard refreshed mi?
[ ] A/B test sample sufficient mi?
[ ] Statistical significance achieved mi?

Recovery Procedures

  1. Data Quality Issues → Flag affected metrics, exclude
  2. Inconclusive A/B → Extend test duration
  3. Misleading Metrics → Add context/segmentation

Master data-driven decision making and grow faster!

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.