Agent skill

funnel-analysis

Analyze user conversion funnels, calculate step-by-step conversion rates, create interactive visualizations, and identify optimization opportunities. Use when working with multi-step user journey data, conversion analysis, or when user mentions funnels, conversion rates, or user flow analysis.

Stars 173
Forks 27

Install this agent skill to your Project

npx add-skill https://github.com/liangdabiao/claude-data-analysis-ultra-main/tree/main/.claude/skills/funnel-analysis

SKILL.md

Funnel 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:

  1. Build conversion funnels from multi-step user data
  2. Calculate conversion rates between each step
  3. Perform segmentation analysis by different user attributes
  4. Create interactive visualizations with Plotly
  5. 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:

bash
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

  1. Load and merge user journey data
  2. Define funnel steps and calculate metrics
  3. Perform segmentations (by device, gender, etc.)
  4. Create visualizations
  5. 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

python
# Steps: Promotion → Search → Product View → Add to Cart → Purchase
# Analyze by device type and customer segment

User Registration Funnel

python
# Steps: Landing Page → Sign Up → Email Verification → Profile Complete
# Identify where users drop off most

Content Consumption Funnel

python
# Steps: Article View → Comment → Share → Subscribe
# Measure engagement conversion rates

Common Analysis Patterns

  1. Bottleneck Identification: Find steps with highest drop-off rates
  2. Segment Comparison: Compare conversion across user groups
  3. Temporal Analysis: Track conversion over time
  4. A/B Testing: Compare different funnel variations
  5. Optimization Impact: Measure changes before/after improvements

Integration Examples

See examples/ directory for:

  • basic_funnel.py - Simple funnel analysis
  • segmented_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

Expand your agent's capabilities with these related and highly-rated skills.

liangdabiao/claude-data-analysis-ultra-main

retention-analysis

Analyze user retention and churn using survival analysis, cohort analysis, and machine learning. Calculate retention rates, build survival curves, predict churn risk, and generate retention optimization strategies. Use when working with user subscription data, membership information, or when user mentions retention, churn, survival analysis, or customer lifetime value.

173 27
Explore
liangdabiao/claude-data-analysis-ultra-main

content-analysis

Analyze text content using both traditional NLP and LLM-enhanced methods. Extract sentiment, topics, keywords, and insights from various content types including social media posts, articles, reviews, and video content. Use when working with text analysis, sentiment detection, topic modeling, or content optimization.

173 27
Explore
liangdabiao/claude-data-analysis-ultra-main

regression-analysis-modeling

Perform comprehensive regression analysis and predictive modeling using linear regression, decision trees, and random forests. Use when you need to predict continuous values like housing prices, sales forecasts, demand predictions, or any numerical target variables. Includes automated feature engineering, model comparison, and visualization with Chinese language support.

173 27
Explore
liangdabiao/claude-data-analysis-ultra-main

growth-model-analyzer

增长模型分析技能 - 提供全面的增长黑客分析工具,包括裂变策略评估、用户细分、Uplift建模、ROI优化等。支持多种增长场景的机器学习建模和智能决策建议。适用于用户增长、营销优化、产品迭代等增长分析场景。

173 27
Explore
liangdabiao/claude-data-analysis-ultra-main

recommender-system

智能推荐系统分析工具,提供多种推荐算法实现、评估框架和可视化分析。使用时需要用户行为数据、商品信息或评分数据,支持协同过滤、矩阵分解等推荐算法,生成个性化推荐结果和评估报告。

173 27
Explore
liangdabiao/claude-data-analysis-ultra-main

ab-testing-analyzer

全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。

173 27
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results