product-analytics by daffy0208/ai-dev-standards
npx skills add https://github.com/daffy0208/ai-dev-standards --skill product-analytics衡量关键指标,做出数据驱动的决策。
代表客户价值的唯一指标
示例:
Slack:每周活跃用户
Airbnb:预订夜数
Spotify:收听时长
Shopify:商品交易总额
您的北极星指标应该:✅ 代表客户价值
✅ 与收入相关
✅ 可频繁测量
✅ 能凝聚团队
北极星指标
├── 输入指标(驱动北极星指标)
│ ├── 获客
│ ├── 激活
│ └── 留存
└── 关键绩效指标(业务健康状况)
├── 收入
├── 流失
└── 用户终身价值
// 追踪用户行为
analytics.track('Button Clicked', {
button_name: 'signup',
page: 'homepage',
user_id: '123'
})
// 追踪页面浏览
analytics.page('Homepage', {
referrer: document.referrer,
path: window.location.pathname
})
// 识别用户
analytics.identify('user-123', {
email: 'user@example.com',
plan: 'pro',
created_at: '2024-01-15'
})
注册漏斗:
1. 访问首页:10,000 (100%)
2. 点击注册:2,000 (20%)
3. 填写表单:1,000 (10%)
4. 验证邮箱:800 (8%)
5. 完成新手引导:400 (4%)
洞察:
- 最大流失点:首页到注册(流失 80%)
- 改进:明确价值主张,增加社会认同证明
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
第 1 周同期群 (1月1-7日):
- 第 1 天:80% 活跃
- 第 7 天:40% 活跃
- 第 30 天:20% 活跃
第 2 周同期群 (1月8-14日):
- 第 1 天:85% 活跃 (+5%)
- 第 7 天:50% 活跃 (+10%)
- 第 30 天:30% 活跃 (+10%)
洞察:新手引导的改进提升了留存率!
良好留存:
- 第 1 天:60-80%
- 第 7 天:40-60%
- 第 30 天:30-50%
- 曲线趋于平缓(良好!)
糟糕留存:
- 第 1 天:40%
- 第 7 天:10%
- 第 30 天:2%
- 曲线急剧下降(糟糕!)
病毒系数
引荐注册数
净推荐值
事件追踪:
- Mixpanel(最适合产品分析)
- Amplitude(良好替代品)
- PostHog(开源)
会话录制:
- FullStory
- LogRocket
- Hotjar
A/B 测试:
- Optimizely
- VWO
- Google Optimize(免费)
高管仪表板:
- 北极星指标(大数字)
- 收入(月度/年度经常性收入)
- 关键指标趋势(图表)
产品仪表板:
- 活跃用户(日/周/月)
- 功能使用情况
- 留存同期群
- 漏斗
营销仪表板:
- 流量来源
- 转化率
- 每次获客成本
- 各渠道投资回报率
优秀的数据分析:
每周安装数
91
仓库
GitHub 星标数
18
首次出现
2026 年 1 月 20 日
安全审计
安装于
opencode71
gemini-cli70
codex68
cursor64
claude-code61
github-copilot57
Measure what matters and make data-driven decisions.
The ONE metric that represents customer value
Examples:
Slack: Weekly Active Users
Airbnb: Nights Booked
Spotify: Time Listening
Shopify: GMV
Your North Star should: ✅ Represent customer value
✅ Correlate with revenue
✅ Be measurable frequently
✅ Rally the team
North Star Metric
├── Input Metrics (drive North Star)
│ ├── Acquisition
│ ├── Activation
│ └── Retention
└── KPIs (business health)
├── Revenue
├── Churn
└── LTV
// Track user actions
analytics.track('Button Clicked', {
button_name: 'signup',
page: 'homepage',
user_id: '123'
})
// Track page views
analytics.page('Homepage', {
referrer: document.referrer,
path: window.location.pathname
})
// Identify users
analytics.identify('user-123', {
email: 'user@example.com',
plan: 'pro',
created_at: '2024-01-15'
})
Sign-up Funnel:
1. Land on homepage: 10,000 (100%)
2. Click signup: 2,000 (20%)
3. Fill form: 1,000 (10%)
4. Verify email: 800 (8%)
5. Complete onboarding: 400 (4%)
Insights:
- Biggest drop: Homepage to signup (80% lost)
- Fix: Clarify value prop, add social proof
Week 1 Cohort (Jan 1-7):
- D1: 80% active
- D7: 40% active
- D30: 20% active
Week 2 Cohort (Jan 8-14):
- D1: 85% active (+5%)
- D7: 50% active (+10%)
- D30: 30% active (+10%)
Insight: Onboarding changes improved retention!
Good Retention:
- D1: 60-80%
- D7: 40-60%
- D30: 30-50%
- Flattening curve (good!)
Bad Retention:
- D1: 40%
- D7: 10%
- D30: 2%
- Steep drop-off (bad!)
Viral coefficient
Referral signups
NPS (Net Promoter Score)
Event Tracking:
- Mixpanel (best for products)
- Amplitude (good alternative)
- PostHog (open-source)
Session Recording:
- FullStory
- LogRocket
- Hotjar
A/B Testing:
- Optimizely
- VWO
- Google Optimize (free)
Executive Dashboard:
- North Star Metric (big number)
- Revenue (MRR/ARR)
- Key metric trends (graphs)
Product Dashboard:
- Active users (DAU/WAU/MAU)
- Feature usage
- Retention cohorts
- Funnels
Marketing Dashboard:
- Traffic sources
- Conversion rates
- Cost per acquisition
- ROI by channel
Great analytics:
Weekly Installs
91
Repository
GitHub Stars
18
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode71
gemini-cli70
codex68
cursor64
claude-code61
github-copilot57
Excel财务建模规范与xlsx文件处理指南:专业格式、零错误公式与数据分析
45,800 周安装
Laravel开发专家技能:PHP最佳实践、Eloquent ORM、API构建与Web开发解决方案
138 周安装
WCAG 无障碍审计工具 - 网页可访问性合规检测与评估指南 (WCAG 2.1/2.2)
212 周安装
Mantine Form 表单库:React 表单验证与状态管理解决方案 | 开源 UI 组件
246 周安装
英式商务英语写作指南 | 专业商务沟通、英式拼写与邮件礼仪
234 周安装
高级质量保证工程师技能:自动化测试、缺陷管理与CI/CD集成
122 周安装
AI内容检测工具 - 使用HumanizerAI API精准识别AI生成文本,提供详细分析报告
150 周安装