Understanding customer behavior throughout the online shopping journey is essential for improving conversion rates, increasing revenue, and delivering better customer experiences. This project demonstrates an end-to-end Product Analytics workflow using MySQL, SQL, Python, and Tableau.
Starting from raw e-commerce event data, the project builds a complete analytics pipeline by importing data into MySQL, performing SQL-based business analysis, connecting the database to Python for exploratory analysis and feature engineering, and finally creating interactive Tableau dashboards for business reporting.
The project simulates how Product Analysts and Data Analysts transform raw customer interaction data into actionable business insights.
E-commerce platforms collect millions of customer interaction events such as product views, add-to-cart actions, and completed purchases. While this data is valuable, businesses often struggle to understand customer behavior, identify conversion bottlenecks, and optimize product performance.
This project aims to analyze customer interactions across the purchase funnel to uncover behavioral patterns, improve product performance, and support data-driven business decisions.
The project aims to:
- Analyze customer behavior across the purchase funnel.
- Measure product conversion rates.
- Identify high-performing product categories.
- Evaluate customer engagement patterns.
- Analyze revenue and transaction trends.
- Build interactive dashboards for business reporting.
- Support product optimization using data-driven insights.
The project uses a real-world e-commerce behavioral dataset consisting of customer interaction events.
events.csvcategory_tree.csvitem_properties_part1.csvitem_properties_part2.csv
- Customer Events
- Product Information
- Product Categories
- Product Properties
- Transaction History
- Event Timestamps
Raw CSV Files
(events.csv,
category_tree.csv,
item_properties_part1.csv,
item_properties_part2.csv)
โ
โผ
MySQL Database
โ
โผ
SQL Analysis
โข Database Design
โข Data Cleaning
โข Business Queries
โข Analytical Views
โ
โผ
Python Analysis
โข Pandas
โข Data Cleaning
โข Feature Engineering
โข Exploratory Data Analysis
โ
โผ
Processed Dataset
โ
โผ
Tableau Dashboards
โ
โผ
Business Insights & Recommendations
The project answers the following business questions:
- How many customers progress through each stage of the purchase funnel?
- Which product categories generate the highest transactions?
- Which products have the highest customer engagement?
- Which products experience the highest cart abandonment?
- Which customers generate the highest revenue?
- How does customer activity change over time?
- Which products perform best across categories?
- What business insights can improve customer conversion?
- MySQL
- SQL
- Python
- Pandas
- NumPy
- SQLAlchemy
- Matplotlib
- Tableau
- Jupyter Notebook
- Git
- GitHub
- Import CSV files into MySQL.
- Create relational database tables.
- Data Cleaning
- Joins
- Views
- Business Queries
- Database Connection
- Exploratory Data Analysis
- Feature Engineering
- Customer Analysis
- Tableau Dashboard Development
- KPI Reporting
- Business Storytelling
The project includes:
- Customer Behavior Analysis
- Product Performance Analysis
- Purchase Funnel Analysis
- Category Performance Analysis
- Revenue Analysis
- Transaction Analysis
- Customer Engagement Analysis
- Product Analytics
The Tableau dashboard includes:
- Executive Summary
- Customer Funnel Analysis
- Product Performance
- Category Performance
- Revenue Trends
- Customer Activity
- Product Conversion Analysis
- Product views significantly exceed completed purchases, indicating opportunities to improve conversion rates.
- Customer engagement varies across product categories.
- Certain categories consistently generate higher transaction volumes.
- Customer behavior analysis identifies important drop-off points in the purchase funnel.
- SQL and Tableau together provide comprehensive business reporting for product teams.
Based on the analysis:
- Improve checkout flow to reduce cart abandonment.
- Optimize product recommendations for returning users.
- Increase visibility of high-converting products.
- Personalize promotions using customer behavior.
- Continuously monitor product performance using interactive dashboards.
ecommerce-product-analytics/
โ
โโโ data/
โ โโโ raw/
โ
โโโ notebooks/
โ
โโโ sql/
โ โโโ create_tables.sql
โ โโโ import_data.sql
โ โโโ views.sql
โ โโโ business_queries.sql
โ
โโโ tableau/
โ โโโ Ecommerce_Product_Analytics.twbx
โ
โโโ images/
โ
โโโ README.md
โโโ requirements.txt
- Python
- MySQL
- SQL
- Pandas
- NumPy
- Data Cleaning
- Feature Engineering
- Exploratory Data Analysis
- Customer Behavior Analysis
- Purchase Funnel Analysis
- Product Performance Analysis
- Business Analytics
- Tableau
- Dashboard Design
- Data Storytelling
- Customer Segmentation
- Cohort Analysis
- A/B Testing
- Customer Lifetime Value (CLV)
- Churn Prediction
- Recommendation System Analytics
Ajay Mundari
SQL | Python | Tableau | Product Analytics | Data Analytics
If you found this project useful, please consider giving it a โญ on GitHub.