An analysis conducted on user session behaviour, transactions and demographics data. The data spans from 2020 to 2025.
What patterns in our customers’ journeys drive spend, repeat purchases, and campaign ROI, and how can Marketing optimize touchpoints to boost revenue and retention?
- We do notebook eda.
- Build a classification model for early detection of low or high cltv.
- Build a dashboard for a thorough demographic representation of data.
- Setup
python -m venv .localenv
.localenv\Scripts\python -m pip install -r requirements.txt
- ProcessedData Generation
- Run the Preprocessing.ipynb notebook
- For conversions data set run
.localenv\Scripts\python -m preprocessing campaigns - Run Dashboard
.localenv\Scripts\python -m dashboard.main
- The highest quantile
1/30of total customers contribute to1/2of total revenue/spending. Then our pareto's cummulative sum crossed the80%total revenue/spending at the top11thquantile or~1/3of total customers.
This aligns with the80/20rule that20%customers contribute to the80%revenue/spending. In our case it was70/30. - Search Engine Marketing has almost 3 times the ROI of all other campaign types. The second highest ROIs is of Email Marketing followed by In-Store Marketing.
We should take note that Social Media Marketing is only slightly better performance than the regular old channels, it is not very performant. - After checkout the users don't go directly to purchase, they go to mostly page view deciding on what to finalize or having one last time thoughts, or go to somewhere else in case they changed their mind or are still browsing.
- By putting items in wishlist, the people seem to feel the need to browse from other sites or maybe from local store, before finalizing purchase, so they leave the site.
- Home items and smartphones had the highest increase in purchases. They trended for the total duration. The products were
Ring Doorbell,Baking SheetandGoogle Pixel 6.
The sale ofUSB-C hubdeclined over the total duration. Cookware,IpadandCoffee Makershave the highest cart abandonment rates.
https://www.kaggle.com/datasets/raghavendragandhi/retail-customer-and-transaction-dataset
