funnel-analysis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFunnel Analysis Skill
漏斗分析技能
Analyze user behavior through multi-step conversion funnels to identify bottlenecks and optimization opportunities in marketing campaigns, user journeys, and business processes.
通过多步骤转化漏斗分析用户行为,识别营销活动、用户旅程和业务流程中的瓶颈与优化机会。
Quick Start
快速开始
This skill helps you:
- Build conversion funnels from multi-step user data
- Calculate conversion rates between each step
- Perform segmentation analysis by different user attributes
- Create interactive visualizations with Plotly
- Generate business insights and optimization recommendations
本技能可帮助您:
- 基于多步骤用户数据构建转化漏斗
- 计算各步骤间的转化率
- 按不同用户属性进行细分分析
- 使用Plotly创建交互式可视化图表
- 生成业务洞察及优化建议
When to Use
适用场景
- Marketing campaign analysis (promotion → purchase)
- User onboarding flow analysis
- Website conversion funnel optimization
- App user journey analysis
- Sales pipeline analysis
- Lead nurturing process analysis
- 营销活动分析(推广 → 购买)
- 用户注册流程分析
- 网站转化漏斗优化
- 应用用户旅程分析
- 销售渠道分析
- 线索培育流程分析
Key Requirements
关键要求
Install required packages:
bash
pip install pandas plotly matplotlib numpy seaborn安装所需依赖包:
bash
pip install pandas plotly matplotlib numpy seabornCore Workflow
核心工作流程
1. Data Preparation
1. 数据准备
Your data should include:
- User journey steps (clicks, page views, actions)
- User identifiers (customer_id, user_id, etc.)
- Timestamps or step indicators
- Optional: user attributes for segmentation (gender, device, location)
您的数据应包含:
- 用户旅程步骤(点击、页面浏览、操作行为)
- 用户标识(customer_id、user_id等)
- 时间戳或步骤指示器
- 可选:用于细分的用户属性(性别、设备、地域)
2. Analysis Process
2. 分析流程
- Load and merge user journey data
- Define funnel steps and calculate metrics
- Perform segmentations (by device, gender, etc.)
- Create visualizations
- Generate insights and recommendations
- 加载并合并用户旅程数据
- 定义漏斗步骤并计算指标
- 进行细分分析(按设备、性别等)
- 创建可视化图表
- 生成洞察与建议
3. Output Deliverables
3. 输出交付物
- Funnel visualization charts
- Conversion rate tables
- Segmented analysis reports
- Optimization recommendations
- 漏斗可视化图表
- 转化率表格
- 细分分析报告
- 优化建议
Example Usage Scenarios
示例使用场景
E-commerce Purchase Funnel
电商购买漏斗
python
undefinedpython
undefinedSteps: Promotion → Search → Product View → Add to Cart → Purchase
步骤:推广 → 搜索 → 商品浏览 → 加入购物车 → 购买
Analyze by device type and customer segment
按设备类型和客户细分进行分析
undefinedundefinedUser Registration Funnel
用户注册漏斗
python
undefinedpython
undefinedSteps: Landing Page → Sign Up → Email Verification → Profile Complete
步骤:着陆页 → 注册 → 邮箱验证 → 资料完善
Identify where users drop off most
识别用户流失最严重的环节
undefinedundefinedContent Consumption Funnel
内容消费漏斗
python
undefinedpython
undefinedSteps: Article View → Comment → Share → Subscribe
步骤:文章浏览 → 评论 → 分享 → 订阅
Measure engagement conversion rates
衡量参与度转化率
undefinedundefinedCommon Analysis Patterns
常见分析模式
- Bottleneck Identification: Find steps with highest drop-off rates
- Segment Comparison: Compare conversion across user groups
- Temporal Analysis: Track conversion over time
- A/B Testing: Compare different funnel variations
- Optimization Impact: Measure changes before/after improvements
- 瓶颈识别:找出流失率最高的步骤
- 细分对比:对比不同用户群体的转化情况
- 时间趋势分析:跟踪转化率随时间的变化
- A/B测试:对比不同漏斗变体的效果
- 优化效果评估:衡量优化前后的变化
Integration Examples
集成示例
See examples/ directory for:
- - Simple funnel analysis
basic_funnel.py - - Advanced segmentation analysis
segmented_funnel.py - Sample datasets for testing
查看examples/目录获取:
- - 简单漏斗分析示例
basic_funnel.py - - 高级细分分析示例
segmented_funnel.py - 用于测试的样本数据集
Best Practices
最佳实践
- Ensure data quality and consistency
- Define clear funnel steps
- Consider user journey time windows
- Validate statistical significance
- Focus on actionable insights
- 确保数据质量与一致性
- 定义清晰的漏斗步骤
- 考虑用户旅程的时间窗口
- 验证统计显著性
- 聚焦可落地的洞察