data-and-funnel-analytics
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseData & Funnel Analytics
数据与漏斗分析
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.
全流程分析服务:搭建追踪体系、解读数据、分析漏斗、衡量产品用户参与度、验证转化路径及计算ROI。
核心原则: 追踪是为了辅助决策,而非单纯收集数据——每个事件都应指向可执行的行动。
Analytics Tracking
分析追踪
Event Naming Convention
事件命名规范
Format: in lowercase snake_case.
object_actionsignup_completed | cta_hero_clicked | checkout_started | onboarding_step_completedRules: Specific over vague ( not ), past tense for completed actions, context in properties not event name.
cta_hero_clickedbutton_clicked格式:采用小写蛇形命名法 。
object_actionsignup_completed | cta_hero_clicked | checkout_started | onboarding_step_completed规则:具体而非模糊(如用 而非 ),已完成的行动用过去式,上下文信息放在属性中而非事件名称里。
cta_hero_clickedbutton_clickedTracking Plan
追踪方案
| Category | Event | Key Properties |
|---|---|---|
| Marketing | | page_title, page_location, referrer |
| button_text, location, page | |
| form_type, page | |
| method, plan | |
| Product | | step_number, step_name |
| feature_name, context | |
| plan, source | |
| plan, value, currency | |
| E-commerce | | product_id, category, price |
| product_id, price, quantity | |
| cart_value, items_count |
| 分类 | 事件 | 核心属性 |
|---|---|---|
| 营销 | | page_title, page_location, referrer |
| button_text, location, page | |
| form_type, page | |
| method, plan | |
| 产品 | | step_number, step_name |
| feature_name, context | |
| plan, source | |
| plan, value, currency | |
| 电商 | | product_id, category, price |
| product_id, price, quantity | |
| 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.
- 用户上下文: user_id, user_type(免费/付费/管理员), plan_type
- 归因: source, medium, campaign, content, term(UTM参数)
- 页面: page_title, page_location, content_group
- 隐私数据规范: 绝不能将邮箱、姓名或手机号作为事件属性发送,仅使用哈希后的用户ID。
GA4 Implementation
GA4 实施
javascript
// 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).
javascript
// gtag.js 自定义事件
gtag('event', 'signup_completed', {
'method': 'email',
'plan': 'free',
'user_id': userId
});
// GTM dataLayer
dataLayer.push({
'event': 'signup_completed',
'method': 'email',
'plan': 'free'
});增强型衡量(在GA4中启用):page_view、scroll、outbound_click、site_search、video_engagement、file_download。
转化设置: 管理员 → 事件 → 开启“标记为转化”。计数规则:每会话一次(如表单提交)或每次触发都计数(如购买)。
UTM Parameters
UTM 参数
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
规范:
utm_source={渠道}&utm_medium={cpc|email|organic|social}&utm_campaign={ID}&utm_content={变体}&utm_term={关键词}- 应用于所有付费及邮件链接
- 切勿在内部链接中使用(会破坏会话归因)
- 全部小写,用连字符代替空格
- 在UTM追踪表中记录所有参数
Privacy & Compliance
隐私与合规
- GDPR/CCPA: Implement consent management, block GA4 until consent granted
- GA4 data retention: 14 months max (Admin → Data Settings)
- IP anonymization enabled
- GDPR/CCPA:实施同意管理,获得用户同意前禁止GA4运行
- GA4数据保留期:最长14个月(管理员 → 数据设置)
- 启用IP匿名化
Analytics Interpretation
数据分析解读
GA4 Benchmarks
GA4 基准指标
| 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 |
| 指标 | 良好 | 警示 | 较差 | 较差时的行动建议 |
|---|---|---|---|---|
| 平均页面停留时长 | >3分钟 | 1–3分钟 | <1分钟 | 提升内容深度 |
| 跳出率 | <40% | 40–70% | >70% | 添加内部链接,优化开头内容 |
| 参与率 | >60% | 30–60% | <30% | 审核内容质量 |
| 滚动深度 | >75% | 50–75% | <50% | 添加视觉分段 |
| 每次会话浏览页数 | >2.5 | 1.5–2.5 | <1.5 | 优化内部链接 |
Google Search Console Benchmarks
Google Search Console 基准指标
| 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 |
| 指标 | 良好 | 警示 | 较差 | 较差时的行动建议 |
|---|---|---|---|---|
| 点击率(CTR) | >5% | 2–5% | <2% | 优化标题和元描述 |
| 平均排名 | 1–3 | 4–10 | >10 | 强化内容,建设外链 |
| 展示量 | 持续增长 | 稳定 | 下降 | 更新内容 |
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 |
| 指标 | 显著变化 | 告警级别 |
|---|---|---|
| 流量 | ±30%(周环比) | 高 |
| 点击率 | ±1个百分点(周环比) | 中 |
| 排名 | ±5位 | 高 |
| 跳出率 | ±10个百分点(周环比) | 中 |
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.
代表客户价值的核心指标:
| 公司 | 北极星指标 |
|---|---|
| Slack | 周活跃用户数 |
| Airbnb | 预订晚数 |
| Spotify | 收听时长 |
| Shopify | 成交总额(GMV) |
评选标准:代表客户价值、与收入相关、可频繁测量、能凝聚团队。
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 |
| 阶段 | 指标 |
|---|---|
| 获客 | 流量来源、单次点击成本(CPC)、访客转注册率 |
| 激活 | 注册到首次核心行动转化率、价值实现时长、引导流程完成率 |
| 留存 | DAU/MAU(粘性)、次日/7日/30日留存率、流失率 |
| 营收 | 月度经常性收入(MRR)/年度经常性收入(ARR)、每用户平均收入(ARPU)、用户生命周期价值(LTV)、LTV:CAC比值 |
| 推荐 | 病毒系数、推荐注册数、净推荐值(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.
| 时间范围 | 良好 | 较差 |
|---|---|---|
| 次日留存(D1) | 60–80% | <40% |
| 7日留存(D7) | 40–60% | <10% |
| 30日留存(D30) | 30–50% | <2% |
良好表现:留存曲线趋于平缓。较差表现:留存曲线大幅下滑。
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
- 高管视角: 北极星指标(大数字展示)、营收(MRR/ARR)、核心趋势
- 产品视角: 活跃用户数、功能使用率、群组留存、转化漏斗
- 营销视角: 流量来源、转化率、单次获客成本(CPA)、分渠道ROI
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 |
| 漏斗 | 步骤 |
|---|---|
| 电商 | 推广 → 搜索 → 商品浏览 → 加入购物车 → 购买 |
| SaaS注册 | 着陆页 → 注册 → 邮箱验证 → 引导流程完成 |
| 内容 | 文章浏览 → 评论 → 分享 → 订阅 |
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 for Python implementations with Plotly visualizations.
examples/- 瓶颈识别 —— 流失率最高的步骤
- 细分对比 —— 不同用户群体的转化率差异
- 时间趋势分析 —— 转化率随时间的变化
- A/B测试 —— 对比不同漏斗变体的表现
查看目录下的Python实现代码,包含Plotly可视化效果。
examples/Funnel Validation (DotCom Secrets)
漏斗验证(DotCom Secrets框架)
Score existing funnels against Russell Brunson's framework: Hook → Story → Offer.
根据Russell Brunson的框架评估现有漏斗:钩子 → 故事 → 报价。
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 |
| 维度 | 权重 | 衡量内容 |
|---|---|---|
| 钩子吸引力 | 2倍 | 能否留住用户注意力,停止滚动 |
| 故事关联性 | 1.5倍 | 是否建立情感连接与信任 |
| 报价清晰度 | 2倍 | 是否清晰、有吸引力、不可抗拒 |
| 价值阶梯适配度 | 1倍 | 是否符合用户升级路径 |
| 流量匹配度 | 1.5倍 | 是否与流量热度匹配 |
| 转化路径流畅度 | 1倍 | 下一步是否明确且无摩擦 |
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 |
| 分数 | 结论 |
|---|---|
| 85–100 | 转化机器 —— 可直接规模化 |
| 70–84 | 优质漏斗 —— 修复薄弱环节后规模化 |
| 55–69 | 流失型漏斗 —— 优化后再引流 |
| 40–54 | 破损漏斗 —— 重构核心组件 |
| 0–39 | 无效漏斗 —— 重新搭建 |
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.
| 热度 | 用户认知 | 适用漏斗 |
|---|---|---|
| 冷流量 | 对品牌一无所知 | 线索漏斗,价值优先内容 |
| 暖流量 | 了解痛点及你的解决方案 | 入门产品、 webinar、挑战活动 |
| 热流量 | 准备购买 | 销售页、订单表单、预约通话 |
完整评分标准及示例,请查看references/full-guide.md。
ROI Analysis
ROI分析
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
ROI:
(净利润 / 总投资) × 100%- ✅ 值得投资:ROI > 100%(实际场景)
- ⚠️ 需评估:ROI 50–100%
- ❌ 拒绝投资:ROI < 50%
收支平衡点:
投资金额 / 月度净利润- ✅ 值得投资:收支平衡点 < 预期目标的50%
- ❌ 拒绝投资:收支平衡点 > 70%
投资回收期:
投资金额 / 月度净利润- ✅ 值得投资:< 12个月
- ⚠️ 需评估:12–24个月
- ❌ 拒绝投资:> 24个月
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.
始终模拟最佳/实际/最坏三种场景:
| 场景 | 假设条件 | 收入 | 利润 | ROI | 评估 |
|---|---|---|---|---|---|
| 最坏 | 悲观假设 | 风险等级 | |||
| 实际 | 预期假设 | 目标值 | |||
| 最佳 | 乐观假设 | 上升空间 |
决策规则: 若最坏场景下ROI ≥ 0%,则投资风险低。
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.
[投资项目]在[转化/增长率]下可实现[ROI%]的投资回报率。
收支平衡点为[阈值],投资回收期为[X]个月。
[推荐/不推荐]该投资,原因是[具体理由]。详细公式(净现值NPV、用户生命周期价值LTV、客户获取成本CAC、敏感性分析),请查看references/roi-reference.md。
Validation & QA
验证与质量保障
Before Launch
上线前检查
- Events fire in GA4 DebugView
- Properties have expected values
- No duplicate events
- Conversions marked correctly
- UTM parameters captured on landing
- 事件在GA4 DebugView中正常触发
- 属性值符合预期
- 无重复事件
- 转化标记正确
- 着陆页正确捕获UTM参数
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
- 每周: 检查核心事件是否出现骤降(变化>20%需调查)
- 每月: 审计新增页面/功能是否未配置追踪
- 每季度: 全面审查追踪方案 —— 删除失效事件,补充缺失事件
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 |
| 分类 | 工具 |
|---|---|
| 事件追踪 | Mixpanel, Amplitude, PostHog(开源) |
| 会话录制 | FullStory, LogRocket, Hotjar |
| A/B测试 | Optimizely, VWO |
| 网站分析 | GA4, Google Search Console |
| 标签管理 | 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
- ab-test-setup —— A/B测试测量与搭建
- seo-and-aeo-strategy —— SEO/AEO效果衡量
- conversion-rate-optimization —— 漏斗分析后的转化优化
- executive-dashboard-generator —— 基于分析数据搭建仪表盘