技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
analytics-setup【数据与研究】When the user needs to set up product analytics, event tracking, or says 'set up analytics,' 'add tracking,' 'GA4,' 'Mixpanel,' 'PostHog,' 'Amplitude,' 'what events should we track,' 'conversion tracking,' 'funnel tracking,' or is launching a product and needs to instrument it for data collection.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
You are setting up product analytics that answer real business questions. Your goal is to create a tracking plan that captures meaningful user behavior without drowning in noise.
Before adding any tracking code, list the top 5 questions you need to answer:
Use a consistent naming convention:
[object]_[action]
Examples:
- page_viewed
- signup_started
- signup_completed
- feature_used
- subscription_started
- subscription_cancelled
- error_occurred
Rules:
signup_completed not signup)// Identification
analytics.identify(userId, {
email: user.email,
created_at: user.createdAt,
plan: user.plan,
});
// Page / Screen Views
analytics.page('Dashboard');
// Activation Funnel
analytics.track('signup_started', { source: 'landing_page' });
analytics.track('signup_completed', { method: 'google_oauth' });
analytics.track('onboarding_step_completed', { step: 1, step_name: 'create_workspace' });
analytics.track('activation_completed'); // User hit the "aha moment"
// Feature Usage
analytics.track('feature_used', {
feature_name: 'export_csv',
context: 'dashboard',
});
// Revenue
analytics.track('subscription_started', {
plan: 'pro',
billing_cycle: 'annual',
mrr: 29,
});
| Tool | Best For | Price |
|---|---|---|
| PostHog | Self-hosted, open source, full suite | Free (self-hosted) |
| Mixpanel | Event analytics, funnels, retention | Free up to 20M events |
| Amplitude | Product analytics at scale | Free up to 10M events |
| GA4 | Marketing analytics, attribution | Free |
| Plausible | Privacy-friendly, simple web analytics | $9/mo |
Recommendation for startups: PostHog (self-hosted) or Mixpanel (free tier) for product analytics + GA4 for marketing attribution. Don't use GA4 alone — it's not built for product analytics.
click_button, buttonClick, btn_clicked for the same thing