Case study · E-commerce & retail
From Fragmented E-commerce Data to a Unified Analytics & AI Platform
An end-to-end data platform for 20+ e-commerce brands: 29 sources unified in one governed warehouse, powering profitability dashboards, business tools and MCP-based AI reporting.
- Data engineering
- BigQuery
- dbt
- Power BI
- MCP servers
- AI agents
- e-commerce brands
- 20+
- e-commerce brands
- combined revenue
- ~$500M
- combined revenue
- sources & channels connected
- 29
- sources & channels connected
- custom KPIs
- 100+
- custom KPIs
Overview
Project overview
E-commerce businesses often struggle with fragmented data across Shopify, Amazon, Walmart, Target, advertising platforms, CRM systems and financial tools. That makes it hard to measure profitability, reconcile KPIs and get reliable answers to everyday business questions.
I design, build and maintain end-to-end data platforms that solve this, and have delivered data infrastructure for 20+ e-commerce brands representing approximately $500M in combined revenue. Each implementation is tailored to the client, giving them a scalable foundation for business intelligence, automation and AI-powered decision-making.
The business challenge
From fragmented data to an AI-ready business.
Before
Disconnected systems. Disconnected decisions.
- Sales and marketplace reports in separate tools
- Advertising spend and attribution that don't reconcile
- CRM, finance and web analytics in silos
- Manual reconciliations and spreadsheet exports
After
One trusted data layer. Multiple ways to act.
- Unified commercial and financial metrics
- Automated ingestion, modelling and quality checks
- Dashboards and operational tools on the same data
- AI-powered questions and automated reporting
The solution
What I built
Six building blocks, tailored to each client's channels, tools and reporting needs.
- 01
Data integration
Connect sales channels, advertising platforms, CRM, finance and analytics systems using APIs, Python, dlt and ETL/ELT pipelines.
- 02
Data warehousing
Centralise business data in Google BigQuery or Azure-based infrastructure.
- 03
Data transformation
Build reliable, tested data models with SQL and dbt, version-controlled in GitHub.
- 04
Business analytics
Enable contribution margin, acquisition margin, COGS, LTV and other performance metrics with consistent definitions.
- 05
Custom business tools
Develop product catalogue, COGS management and vendor management applications.
- 06
AI & MCP
Build custom MCP servers that enable natural-language analytics, AI agents and automated reporting workflows.
Data source ecosystem
Commerce, marketing and customer data, connected
29 named source and channel entries across six groups; channel variants such as Amazon 1P and 3P are counted separately.
Commerce & retail
10- Shopify
- Amazon 1P
- Amazon 3P
- Walmart 1P
- Walmart Retail
- Walmart 3P
- Target 3P
- Target Retail
- Home Depot
- TikTok Shop
Paid media
08- Meta Ads
- Google Ads
- Amazon Ads
- TikTok Ads
- Reddit Ads
- Snapchat Ads
- Microsoft Ads
- Pinterest Ads
CRM & email
05- Klaviyo
- HubSpot
- Drip
- Salesforce
- Mailchimp
Organic social
03- YouTube
- TikTok
Web analytics & UX
02- Google Analytics 4
- Microsoft Clarity
Accounting
01- QuickBooks
Architecture
One governed data foundation. Three business outcomes.
A representative implementation pattern; technology choices vary by client.
01 Data sources
Commerce · Ads · CRM · Organic · Finance · Web
02 Ingestion
APIs · Python · dlt · Custom ETL / ELT
03 Warehouse
Google BigQuery · or an Azure-based data platform
04 Transformation
SQL · dbt · GitHub · Quality checks & metrics
Business intelligence
Power BI · Looker Studio · Profitability · LTV · CAC
Business applications
Product catalogue · COGS · Vendor & product management
AI & MCP
Custom MCP servers · AI agents · Slack reporting
Data quality, metric definitions and access controls apply across the whole stack.
MCP and agentic reporting
Ask questions. Investigate performance. Automate the follow-up.
Custom-built MCP servers or direct warehouse integrations connect AI workflows to governed data, so the team can ask questions, investigate performance and automate the follow-up.
“What changed in contribution margin last week?”
AI assistant
Understands the question
MCP / data tools
Accesses approved metrics
Warehouse & models
Queries governed data
Insights & actions
Explains drivers or schedules reports
What this enables
On-demand analysis
Sales, profitability and customer trends.
Deeper investigation
Compare periods and explore what changed.
Automated reporting
Scheduled summaries delivered to Slack.
Illustrative workflow, not a screenshot of a specific client deployment.
Technology
Tech stack
- Ingestion
- Python
- dlt
- REST APIs
- ETL / ELT
- Warehouse
- Google BigQuery
- Azure
- Transformation
- SQL
- dbt
- GitHub
- BI
- Power BI
- Looker Studio
- AI
- MCP servers
- AI agents
- Slack
Representative capabilities across tailored client implementations; technology choices vary by client.
Want a data platform like this?
Tell us about your systems, your team and the questions you can't answer yet. The first call is free.