Funnel analysis

From nicepkg/ai-workflow · View interactive version

Funnel analysis is an AI agent skill from the GitHub repository nicepkg/ai-workflow. 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.

How to use this skill

Skill file

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

Key Requirements

Install required packages:

pip install pandas plotly matplotlib numpy seaborn

Core Workflow

1. Data Preparation

Your data should include:

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

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

  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:

Best Practices

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.