Marketing and product teams invest heavily in acquiring users, but acquisition alone does not guarantee revenue. The real challenge lies in converting users efficiently from initial interaction to completed purchase.
Additionally, product changes are often rolled out without strong evidence that they improve conversion, increasing the risk of negative business impact.
This project analyzes funnel performance and evaluates an A/B test to support evidence-based product decisions.
- Where do users drop off in the conversion funnel?
- Which stages contribute most to lost revenue?
- Are drop-offs consistent across user groups?
- Does the experimental variant outperform the control?
- Is the observed lift statistically significant?
- Should the change be rolled out or iterated?
Source: Kaggle — Olist Marketing Funnel Dataset
Key Fields:
user_id: Unique identifier for usersevent: Funnel stage (impression, click, view, add_to_cart, purchase)date: Event timestampexperimentGroup: Control or ExperimentmodelName: Product or variant tested
Each record represents a single user action at a specific point in time.
Tools Used
- Python (Jupyter, pandas)
- MySQL
- SQL
- Power BI
- ODBC
Pipeline CSV Dataset → Data Ingestion → Data Cleaning → Funnel & A/B Logic → SQL Views → Power BI Dashboard
The funnel was defined as a sequential journey:
- Impression
- Click
- Product View
- Add to Cart
- Purchase
Users were counted uniquely at each stage, and conversion rates were calculated between consecutive steps.
For each funnel stage:
- Unique users were counted
- Conversion rates were calculated
Example:
The funnel was defined as a sequential journey:
- Impression
- Click
- Product View
- Add to Cart
- Purchase
Users were counted uniquely at each stage, and conversion rates were calculated between consecutive steps.
For each funnel stage:
- Unique users were counted
- Conversion rates were calculated
Example: Click → Product View Conversion = Users who viewed product / Users who clicked
Analysis was conducted overall and separately for Control and Experiment groups.
- Random assignment to Control and Experiment
- Purchase conversion selected as primary metric
- Conversion rate
- Absolute and relative lift
- Sample size per group
A two-proportion z-test was used to evaluate statistical significance.
- Major drop-offs occurred in mid-funnel stages
- Experimental variant showed higher conversion than control
- Statistical testing determined whether rollout was justified
This project enables teams to:
- Identify high-impact funnel optimization opportunities
- Make evidence-based product decisions
- Reduce experimentation risk
- SQL views for funnel and experiment metrics
- Power BI dashboard with funnel and A/B comparison
- Reproducible notebooks documenting the workflow
Limitations
- Short-term conversion focus
- Assumes clean randomization