An ongoing data analytics project exploring user drop-off behaviour in ecommerce funnels using SQL and Python, followed by a modular implementation of a semantic layer prototype for BI-style querying. Designed to demonstrate practical skills in data modelling, exploratory analysis, and semantic abstraction, aligning with Analytics Engineering principles.
- π Funnel Drop-off Analysis: Identified major user attrition between "View Item" and "Add to Cart" events using BigQuery event-level data.
- π± Factor Impact Exploration: Quantified device type (mobile, desktop, tablet) as a driver of conversion, using grouped aggregations and visualisations.
- π§© Semantic Layer Simulation: Built a modular Python class that mimics LookML logic, making SQL queries reusable and interpretable across dimensions.
- π― BI Readiness: Prepared analysis logic that could be reused for dashboarding or Looker modelling.
- Conversion Rate Insights:
- Semantic Layer Contribution:
- Created a reusable interface (
ExploreByclass) to query funnel metrics by any dimension (e.g., device.category). - Mirrors LookML logic in Python to promote consistency and scalability.
- Created a reusable interface (
- Requirements: Google Colab, Google Cloud SDK (for authentication; you will need your own project ID)
- To run the code for funnel drop-off analysis, run SQL+Python_for_GA4_BigQuery_WIP.ipynb in Google Colab:
- To run the code for semantic layer simulation, run SQL+Python_Semantic_layer_building.ipynb in Google Colab:
- Refine Funnel Drop-off Modelling: Move beyond descriptive stats and implement for instance mixed-effects models to quantify how user/device factors influence drop-off likelihood (e.g., from viewing to add-to-cart).
- Integrate Temporal Trends: Analyze how user behavior changes over time (e.g., by week or campaign period), and extend the semantic layer to include temporal dimensions such as
event_date.
