Data & Funnel Analytics
Workspace Context
Read bootstrap context before asking questions: strategy/brand.md for brand, audience, offer, channels, tools, constraints, and metrics; about/me.md for personal voice; content/ideas.md and content/calendar.md for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md, and route durable learnings back to strategy/brand.md, about/me.md, or content/ideas.md.
Operating Contract
This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.
End-to-end analytics: set up tracking, interpret data, analyze funnels, measure product engagement, validate conversion paths, and calculate ROI.
Principle: Track for decisions, not data — every event should inform an action.
Analytics Tracking
Event Naming Convention
Format: object_action in lowercase snake_case.
signup_completed | cta_hero_clicked | checkout_started | onboarding_step_completed
Rules: Specific over vague (cta_hero_clicked not button_clicked), past tense for completed actions, context in properties not event name.
Tracking Plan
| Category |
Event |
Key Properties |
| Marketing |
page_view |
page_title, page_location, referrer |
|
cta_clicked |
button_text, location, page |
|
form_submitted |
form_type, page |
|
signup_completed |
method, plan |
| Product |
onboarding_step_completed |
step_number, step_name |
|
feature_used |
feature_name, context |
|
trial_started |
plan, source |
|
purchase_completed |
plan, value, currency |
| E-commerce |
product_viewed |
product_id, category, price |
|
product_added_to_cart |
product_id, price, quantity |
|
checkout_started |
cart_value, items_count |
Standard Properties
- User context: user_id, user_type (free/paid/admin), plan_type
- Attribution: source, medium, campaign, content, term (UTM params)
- Page: page_title, page_location, content_group
- PII hygiene: Never send email, name, or phone as event properties. Use hashed user IDs only.
GA4 Implementation
// gtag.js custom event
gtag('event', 'signup_completed', {
'method': 'email',
'plan': 'free',
'user_id': userId
});
// GTM dataLayer
dataLayer.push({
'event': 'signup_completed',
'method': 'email',
'plan': 'free'
});
Enhanced Measurement (enable in GA4): page_view, scroll, outbound_click, site_search, video_engagement, file_download.
Conversions: Admin → Events → Toggle "Mark as conversion." Counting: once per session (form submit) or every time (purchase).
UTM Parameters
Convention: utm_source={channel}&utm_medium={cpc|email|organic|social}&utm_campaign={id}&utm_content={variant}&utm_term={keyword}
- Apply to ALL paid and email links
- Never use on internal links (breaks session attribution)
- Lowercase, hyphens not spaces
- Document in a UTM tracking sheet
Privacy & Compliance
- GDPR/CCPA: Implement consent management, block GA4 until consent granted
- GA4 data retention: 14 months max (Admin → Data Settings)
- IP anonymization enabled
Analytics Interpretation
GA4 Benchmarks
| Metric |
Good |
Warning |
Poor |
Action When Poor |
| Avg Time on Page |
>3 min |
1–3 min |
<1 min |
Improve content depth |
| Bounce Rate |
<40% |
40–70% |
>70% |
Add internal links, improve intro |
| Engagement Rate |
>60% |
30–60% |
<30% |
Review content quality |
| Scroll Depth |
>75% |
50–75% |
<50% |
Add visual breaks |
| Pages/Session |
>2.5 |
1.5–2.5 |
<1.5 |
Improve internal linking |
Google Search Console Benchmarks
| Metric |
Good |
Warning |
Poor |
Action When Poor |
| CTR |
>5% |
2–5% |
<2% |
Improve title/meta description |
| Avg Position |
1–3 |
4–10 |
>10 |
Strengthen content, build links |
| Impressions |
Growing |
Stable |
Declining |
Refresh content |
Traffic Quality Matrix
High Engagement
│
┌──────────────┼──────────────┐
│ HIDDEN GEM │ STAR │
│ Low traffic │ High traffic│
│ → Promote │ → Maintain │
Low ───────┼──────────────┼──────────────┼─── High
Traffic │ UNDERPERFORM│ LEAKY │ Traffic
│ Low traffic │ High traffic│
│ → Rework │ → Optimize │
└──────────────┼──────────────┘
│
Low Engagement
Anomaly Detection
| Metric |
Significant Change |
Alert Level |
| Traffic |
±30% WoW |
HIGH |
| CTR |
±1pp WoW |
MEDIUM |
| Position |
±5 positions |
HIGH |
| Bounce Rate |
±10pp WoW |
MEDIUM |
Product Analytics
North Star Metric
The ONE metric that represents customer value:
| Company |
North Star |
| Slack |
Weekly Active Users |
| Airbnb |
Nights Booked |
| Spotify |
Time Listening |
| Shopify |
GMV |
Criteria: Represents customer value, correlates with revenue, measurable frequently, rallies the team.
Key Metrics by Stage
| Stage |
Metrics |
| Acquisition |
Traffic sources, CPC, visitor → signup rate |
| Activation |
Signup → first core action, time to value, onboarding completion |
| Retention |
DAU/MAU (stickiness), D1/D7/D30 retention, churn rate |
| Revenue |
MRR/ARR, ARPU, LTV, LTV:CAC ratio |
| Referral |
Viral coefficient, referral signups, NPS |
Retention Benchmarks
| Timeframe |
Good |
Bad |
| D1 |
60–80% |
<40% |
| D7 |
40–60% |
<10% |
| D30 |
30–50% |
<2% |
Good = flattening curve. Bad = steep drop-off.
Dashboard Design
- Executive: North Star Metric (big number), revenue (MRR/ARR), key trends
- Product: Active users, feature usage, retention cohorts, funnels
- Marketing: Traffic sources, conversion rates, CPA, ROI by channel
Funnel Analysis
Core Workflow
- Load and merge user journey data
- Define funnel steps and calculate step-by-step conversion rates
- Segment by user attributes (device, cohort, plan)
- Visualize bottlenecks
- Generate optimization recommendations
Common Funnel Types
| Funnel |
Steps |
| E-commerce |
Promotion → Search → Product View → Add to Cart → Purchase |
| SaaS Signup |
Landing Page → Sign Up → Email Verify → Onboarding Complete |
| Content |
Article View → Comment → Share → Subscribe |
Analysis Patterns
- Bottleneck identification — Steps with highest drop-off rates
- Segment comparison — Conversion across user groups
- Temporal analysis — Conversion over time
- A/B testing — Compare funnel variations
See examples/ for Python implementations with Plotly visualizations.
Funnel Validation (DotCom Secrets)
Score existing funnels against Russell Brunson's framework: Hook → Story → Offer.
Scoring Dimensions
| Dimension |
Weight |
What It Measures |
| Hook Strength |
2x |
Stops the scroll, grabs attention |
| Story Connection |
1.5x |
Creates emotional connection and belief |
| Offer Clarity |
2x |
Clear, compelling, irresistible |
| Value Ladder Fit |
1x |
Fits the ascension path |
| Traffic Match |
1.5x |
Matched to traffic temperature |
| Conversion Path |
1x |
Next step obvious and frictionless |
Rating Scale
| Score |
Verdict |
| 85–100 |
Conversion Machine — Ready to scale |
| 70–84 |
Strong Funnel — Fix weak points, then scale |
| 55–69 |
Leaky Funnel — Fix before scaling traffic |
| 40–54 |
Broken Funnel — Rebuild key components |
| 0–39 |
Non-Functional — Start over |
Traffic Temperature
| Temperature |
They Know |
Appropriate Funnel |
| Cold |
Nothing about you |
Lead funnel, value-first content |
| Warm |
Problem + your solution |
Tripwire, webinar, challenge |
| Hot |
Ready to buy |
Sales page, order form, call booking |
For complete scoring criteria and examples, see references/full-guide.md.
ROI Analysis
Core Metrics
ROI: (Net Profit / Total Investment) × 100%
- ✅ INVEST: ROI > 100% (realistic case)
- ⚠️ REVIEW: ROI 50–100%
- ❌ REJECT: ROI < 50%
Break-Even: Investment / Monthly Net Profit
- ✅ INVEST: Break-even < 50% of realistic target
- ❌ REJECT: Break-even > 70%
Payback Period: Investment / Monthly Net Profit
- ✅ INVEST: < 12 months
- ⚠️ REVIEW: 12–24 months
- ❌ REJECT: > 24 months
3-Scenario Analysis
Always model Best / Realistic / Worst:
| Case |
Assumptions |
Revenue |
Profit |
ROI |
Assessment |
| Worst |
Pessimistic |
|
|
|
Risk level |
| Realistic |
Expected |
|
|
|
Target |
| Best |
Optimistic |
|
|
|
Upside |
Decision rule: If worst-case ROI ≥ 0%, investment is low-risk.
Executive Summary Template
[Investment] achieves [ROI%] ROI at [conversion/growth rate].
Break-even occurs at [threshold], with payback in [months].
Investment is [recommended/not recommended] because [reason].
For detailed formulas (NPV, LTV, CAC, sensitivity analysis), see references/roi-reference.md.
Validation & QA
Before Launch
Ongoing
- Weekly: Check for sudden drops in key events (>20% change = investigate)
- Monthly: Audit for new pages/features without tracking
- Quarterly: Full tracking plan review — remove stale events, add missing ones
Tools
| Category |
Tools |
| Event Tracking |
Mixpanel, Amplitude, PostHog (open-source) |
| Session Recording |
FullStory, LogRocket, Hotjar |
| A/B Testing |
Optimizely, VWO |
| Web Analytics |
GA4, Google Search Console |
| Tag Management |
Google Tag Manager |
Related Skills
- ab-test-setup — A/B test measurement and setup
- seo-and-aeo-strategy — Measuring SEO/AEO performance
- conversion-rate-optimization — Optimizing conversion after funnel analysis
- executive-dashboard-generator — Building dashboards from analytics data
1---2name: data-and-funnel-analytics3description: Analytics tracking, interpretation, funnel analysis, product metrics, and ROI measurement. Use when setting up GA4/GTM tracking, interpreting analytics data, analyzing conversion funnels, calculating ROI, or measuring product engagement. Triggers on "analytics," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "tracking plan," "funnel analysis," "conversion rates," "user flow," "cohort analysis," "retention," "product metrics," "North Star metric," "ROI," "break-even," "payback period," "investment analysis," "validate my funnel," "why isn't my funnel converting," or "executive financial report." For A/B test setup, see ab-test-setup.4metadata:5 source: https://skillmd.com/skills/manojbajaj95/data-and-funnel-analytics6---78# Data & Funnel Analytics910## Workspace Context1112Read bootstrap context before asking questions: `strategy/brand.md` for brand, audience, offer, channels, tools, constraints, and metrics; `about/me.md` for personal voice; `content/ideas.md` and `content/calendar.md` for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to `content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md`, and route durable learnings back to `strategy/brand.md`, `about/me.md`, or `content/ideas.md`.1314## Operating Contract1516This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.17181920End-to-end analytics: set up tracking, interpret data, analyze funnels, measure product engagement, validate conversion paths, and calculate ROI.2122**Principle:** Track for decisions, not data — every event should inform an action.2324---2526## Analytics Tracking2728### Event Naming Convention2930Format: `object_action` in lowercase snake_case.3132```33signup_completed | cta_hero_clicked | checkout_started | onboarding_step_completed34```3536Rules: Specific over vague (`cta_hero_clicked` not `button_clicked`), past tense for completed actions, context in properties not event name.3738### Tracking Plan3940| Category | Event | Key Properties |41|----------|-------|---------------|42| **Marketing** | `page_view` | page_title, page_location, referrer |43| | `cta_clicked` | button_text, location, page |44| | `form_submitted` | form_type, page |45| | `signup_completed` | method, plan |46| **Product** | `onboarding_step_completed` | step_number, step_name |47| | `feature_used` | feature_name, context |48| | `trial_started` | plan, source |49| | `purchase_completed` | plan, value, currency |50| **E-commerce** | `product_viewed` | product_id, category, price |51| | `product_added_to_cart` | product_id, price, quantity |52| | `checkout_started` | cart_value, items_count |5354### Standard Properties5556- **User context:** user_id, user_type (free/paid/admin), plan_type57- **Attribution:** source, medium, campaign, content, term (UTM params)58- **Page:** page_title, page_location, content_group59- **PII hygiene:** Never send email, name, or phone as event properties. Use hashed user IDs only.6061### GA4 Implementation6263```javascript64// gtag.js custom event65gtag('event', 'signup_completed', {66 'method': 'email',67 'plan': 'free',68 'user_id': userId69});7071// GTM dataLayer72dataLayer.push({73 'event': 'signup_completed',74 'method': 'email',75 'plan': 'free'76});77```7879**Enhanced Measurement** (enable in GA4): page_view, scroll, outbound_click, site_search, video_engagement, file_download.8081**Conversions:** Admin → Events → Toggle "Mark as conversion." Counting: once per session (form submit) or every time (purchase).8283### UTM Parameters8485Convention: `utm_source={channel}&utm_medium={cpc|email|organic|social}&utm_campaign={id}&utm_content={variant}&utm_term={keyword}`8687- Apply to ALL paid and email links88- Never use on internal links (breaks session attribution)89- Lowercase, hyphens not spaces90- Document in a UTM tracking sheet9192### Privacy & Compliance9394- GDPR/CCPA: Implement consent management, block GA4 until consent granted95- GA4 data retention: 14 months max (Admin → Data Settings)96- IP anonymization enabled9798---99100## Analytics Interpretation101102### GA4 Benchmarks103104| Metric | Good | Warning | Poor | Action When Poor |105|--------|------|---------|------|------------------|106| Avg Time on Page | >3 min | 1–3 min | <1 min | Improve content depth |107| Bounce Rate | <40% | 40–70% | >70% | Add internal links, improve intro |108| Engagement Rate | >60% | 30–60% | <30% | Review content quality |109| Scroll Depth | >75% | 50–75% | <50% | Add visual breaks |110| Pages/Session | >2.5 | 1.5–2.5 | <1.5 | Improve internal linking |111112### Google Search Console Benchmarks113114| Metric | Good | Warning | Poor | Action When Poor |115|--------|------|---------|------|------------------|116| CTR | >5% | 2–5% | <2% | Improve title/meta description |117| Avg Position | 1–3 | 4–10 | >10 | Strengthen content, build links |118| Impressions | Growing | Stable | Declining | Refresh content |119120### Traffic Quality Matrix121122```123 High Engagement124 │125 ┌──────────────┼──────────────┐126 │ HIDDEN GEM │ STAR │127 │ Low traffic │ High traffic│128 │ → Promote │ → Maintain │129Low ───────┼──────────────┼──────────────┼─── High130Traffic │ UNDERPERFORM│ LEAKY │ Traffic131 │ Low traffic │ High traffic│132 │ → Rework │ → Optimize │133 └──────────────┼──────────────┘134 │135 Low Engagement136```137138### Anomaly Detection139140| Metric | Significant Change | Alert Level |141|--------|-------------------|-------------|142| Traffic | ±30% WoW | HIGH |143| CTR | ±1pp WoW | MEDIUM |144| Position | ±5 positions | HIGH |145| Bounce Rate | ±10pp WoW | MEDIUM |146147---148149## Product Analytics150151### North Star Metric152153The ONE metric that represents customer value:154155| Company | North Star |156|---------|-----------|157| Slack | Weekly Active Users |158| Airbnb | Nights Booked |159| Spotify | Time Listening |160| Shopify | GMV |161162Criteria: Represents customer value, correlates with revenue, measurable frequently, rallies the team.163164### Key Metrics by Stage165166| Stage | Metrics |167|-------|---------|168| **Acquisition** | Traffic sources, CPC, visitor → signup rate |169| **Activation** | Signup → first core action, time to value, onboarding completion |170| **Retention** | DAU/MAU (stickiness), D1/D7/D30 retention, churn rate |171| **Revenue** | MRR/ARR, ARPU, LTV, LTV:CAC ratio |172| **Referral** | Viral coefficient, referral signups, NPS |173174### Retention Benchmarks175176| Timeframe | Good | Bad |177|-----------|------|-----|178| D1 | 60–80% | <40% |179| D7 | 40–60% | <10% |180| D30 | 30–50% | <2% |181182Good = flattening curve. Bad = steep drop-off.183184### Dashboard Design185186- **Executive:** North Star Metric (big number), revenue (MRR/ARR), key trends187- **Product:** Active users, feature usage, retention cohorts, funnels188- **Marketing:** Traffic sources, conversion rates, CPA, ROI by channel189190---191192## Funnel Analysis193194### Core Workflow1951961. Load and merge user journey data1972. Define funnel steps and calculate step-by-step conversion rates1983. Segment by user attributes (device, cohort, plan)1994. Visualize bottlenecks2005. Generate optimization recommendations201202### Common Funnel Types203204| Funnel | Steps |205|--------|-------|206| **E-commerce** | Promotion → Search → Product View → Add to Cart → Purchase |207| **SaaS Signup** | Landing Page → Sign Up → Email Verify → Onboarding Complete |208| **Content** | Article View → Comment → Share → Subscribe |209210### Analysis Patterns211212- **Bottleneck identification** — Steps with highest drop-off rates213- **Segment comparison** — Conversion across user groups214- **Temporal analysis** — Conversion over time215- **A/B testing** — Compare funnel variations216217See `examples/` for Python implementations with Plotly visualizations.218219---220221## Funnel Validation (DotCom Secrets)222223Score existing funnels against Russell Brunson's framework: **Hook → Story → Offer**.224225### Scoring Dimensions226227| Dimension | Weight | What It Measures |228|-----------|--------|------------------|229| Hook Strength | 2x | Stops the scroll, grabs attention |230| Story Connection | 1.5x | Creates emotional connection and belief |231| Offer Clarity | 2x | Clear, compelling, irresistible |232| Value Ladder Fit | 1x | Fits the ascension path |233| Traffic Match | 1.5x | Matched to traffic temperature |234| Conversion Path | 1x | Next step obvious and frictionless |235236### Rating Scale237238| Score | Verdict |239|-------|---------|240| 85–100 | Conversion Machine — Ready to scale |241| 70–84 | Strong Funnel — Fix weak points, then scale |242| 55–69 | Leaky Funnel — Fix before scaling traffic |243| 40–54 | Broken Funnel — Rebuild key components |244| 0–39 | Non-Functional — Start over |245246### Traffic Temperature247248| Temperature | They Know | Appropriate Funnel |249|-------------|-----------|-------------------|250| Cold | Nothing about you | Lead funnel, value-first content |251| Warm | Problem + your solution | Tripwire, webinar, challenge |252| Hot | Ready to buy | Sales page, order form, call booking |253254For complete scoring criteria and examples, see [references/full-guide.md](references/full-guide.md).255256---257258## ROI Analysis259260### Core Metrics261262**ROI:** `(Net Profit / Total Investment) × 100%`263- ✅ INVEST: ROI > 100% (realistic case)264- ⚠️ REVIEW: ROI 50–100%265- ❌ REJECT: ROI < 50%266267**Break-Even:** `Investment / Monthly Net Profit`268- ✅ INVEST: Break-even < 50% of realistic target269- ❌ REJECT: Break-even > 70%270271**Payback Period:** `Investment / Monthly Net Profit`272- ✅ INVEST: < 12 months273- ⚠️ REVIEW: 12–24 months274- ❌ REJECT: > 24 months275276### 3-Scenario Analysis277278Always model Best / Realistic / Worst:279280| Case | Assumptions | Revenue | Profit | ROI | Assessment |281|------|------------|---------|--------|-----|------------|282| **Worst** | Pessimistic | | | | Risk level |283| **Realistic** | Expected | | | | Target |284| **Best** | Optimistic | | | | Upside |285286**Decision rule:** If worst-case ROI ≥ 0%, investment is low-risk.287288### Executive Summary Template289290```291[Investment] achieves [ROI%] ROI at [conversion/growth rate].292Break-even occurs at [threshold], with payback in [months].293Investment is [recommended/not recommended] because [reason].294```295296For detailed formulas (NPV, LTV, CAC, sensitivity analysis), see [references/roi-reference.md](references/roi-reference.md).297298---299300## Validation & QA301302### Before Launch303- [ ] Events fire in GA4 DebugView304- [ ] Properties have expected values305- [ ] No duplicate events306- [ ] Conversions marked correctly307- [ ] UTM parameters captured on landing308309### Ongoing310- **Weekly:** Check for sudden drops in key events (>20% change = investigate)311- **Monthly:** Audit for new pages/features without tracking312- **Quarterly:** Full tracking plan review — remove stale events, add missing ones313314---315316## Tools317318| Category | Tools |319|----------|-------|320| **Event Tracking** | Mixpanel, Amplitude, PostHog (open-source) |321| **Session Recording** | FullStory, LogRocket, Hotjar |322| **A/B Testing** | Optimizely, VWO |323| **Web Analytics** | GA4, Google Search Console |324| **Tag Management** | Google Tag Manager |325326---327328## Related Skills329330- **ab-test-setup** — A/B test measurement and setup331- **seo-and-aeo-strategy** — Measuring SEO/AEO performance332- **conversion-rate-optimization** — Optimizing conversion after funnel analysis333- **executive-dashboard-generator** — Building dashboards from analytics data