An end-to-end Product Analytics project that analyzes user behavior, customer retention, product performance, and revenue trends using Python, SQL, and interactive visualizations.
UserFlow Analytics is a comprehensive analytics project built on a synthetic e-commerce dataset. The project demonstrates the complete analytics workflowβfrom data cleaning and exploratory data analysis (EDA) to customer segmentation, funnel analysis, cohort analysis, A/B testing, SQL-based business analysis, and executive reporting.
The goal is to derive actionable business insights that help improve customer engagement, product performance, and revenue growth.
- Analyze customer purchasing behavior.
- Identify high-performing products and categories.
- Measure customer retention over time.
- Analyze user conversion funnels.
- Perform A/B testing for business decision-making.
- Generate actionable business recommendations.
- Python
- Pandas
- NumPy
- Plotly
- DuckDB (SQL)
- SciPy
- Matplotlib
- Google Colab
The project uses a synthetic e-commerce dataset containing:
- Users
- Products
- Orders
- Order Items
- User Events
- Product Reviews
- Import datasets
- Data validation
- Missing value handling
- Duplicate removal
- Datetime conversion
- Data type correction
- Product analysis
- Customer analysis
- Revenue analysis
- Brand analysis
- Total Revenue
- Total Orders
- Total Users
- Total Products
- Average Order Value
- Revenue by Category
- Top Products
- Brand Performance
- Monthly Revenue Trend
- Customer Segmentation
- Average Revenue by Segment
- Top Customers
- View β Cart β Purchase Funnel
- Drop-off Analysis
- Customer Retention Matrix
- Retention Heatmap
- Variant Comparison
- Conversion Rate Analysis
- Chi-Square Statistical Test
Business insights generated using DuckDB SQL.
- Electronics generated the highest revenue.
- A small number of products contributed significantly to overall sales.
- Customer retention decreased considerably after the first purchase.
- The largest conversion drop occurred between product views and cart additions.
- Platinum customers generated the highest average revenue.
- A/B testing demonstrated how experimentation supports data-driven decision-making.
- Improve the View β Cart conversion stage.
- Introduce loyalty programs for high-value customers.
- Promote high-performing product categories.
- Improve customer retention using personalized campaigns.
- Continue A/B testing before implementing major product changes.
- Deploy as a Streamlit dashboard.
- Connect to Google BigQuery.
- Automate ETL pipelines.
- Implement customer churn prediction.
- Build sales forecasting models.
UserFlow-Analytics/
β
βββ UserFlow_Analytics.ipynb
βββ README.md
βββ requirements.txt
βββ LICENSE
β
βββ images/
β βββ revenue_trend.png
β βββ category_revenue.png
β βββ top_products.png
β βββ customer_segments.png
β βββ funnel_analysis.png
β βββ cohort_heatmap.png
β βββ ab_testing.png
β
βββ data/
- Clone the repository
git clone https://github.com/YukthaK215/UserFlow-Analytics.git- Install dependencies
pip install -r requirements.txt- Open the notebook
jupyter notebook UserFlow_Analytics.ipynbor upload the notebook to Google Colab.
Yuktha K
GitHub: https://github.com/YukthaK215






