About funnel-analysis
funnel-analysis is a skill for examining multi-step conversion journeys, aimed at marketing, product, and business process analysts. It calculates step conversion rates, compares user segments, and generates visualizations and optimization recommendations.
Key features
- 01Build multi-step conversion funnels
- 02Calculate step conversion rates
- 03Segment by user attributes
- 04Create interactive visualizations
- 05Generate optimization recommendations
Use cases
- 01Find drop-off points in an e-commerce purchase journey
- 02Analyze conversion in user registration flows
- 03Compare conversion across device types
- 04Evaluate stage conversion in a sales pipeline
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ liangdabiao/ claude-data-analysis-ultra-main --skill funnel-analysisAfter installing, type/funnel-analysisin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
README.mdexamples/basic_funnel.pyfunnel_analyzer.pysegmented_funnel.pyvisualizer.pyexamples/sample_data/README.mdguide/funnel_guide.mdtemplates/funnel_report_template.mdDetails
From the project READMEFunnel 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
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:
pip install pandas plotly matplotlib numpy seaborn
Core Workflow
1. Data Preparation
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)
2. Analysis Process
- 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
- Funnel visualization charts
- Conversion rate tables
- Segmented analysis reports
- Optimization recommendations
Example Usage Scenarios
E-commerce Purchase Funnel
# Steps: Promotion → Search → Product View → Add to Cart → Purchase
# Analyze by device type and customer segment
User Registration Funnel
# Steps: Landing Page → Sign Up → Email Verification → Profile Complete
# Identify where users drop off most
Content Consumption Funnel
# Steps: Article View → Comment → Share → Subscribe
# Measure engagement conversion rates
Common 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
Integration Examples
See examples/ directory for:
basic_funnel.py- Simple funnel analysissegmented_funnel.py- Advanced segmentation analysis- Sample datasets for testing
Best Practices
- Ensure data quality and consistency
- Define clear funnel steps
- Consider user journey time windows
- Validate statistical significance
- Focus on actionable insights
Comments
Markdown supported