Skip to main content

FiftyFive Tech

Email Us sales@fiftyfivetech.io
Get in Touch
A woman typing on a laptop at a desk beside stacked parcels and a small model house

Data engineering & pipelines

E-commerce profitability analytics MVP with plain-language queries

FiftyFive built an e-commerce analytics MVP that unifies six data sources in ClickHouse, with contribution-margin dashboards and plain-language queries.

Discuss your data integration challenge
Industry
E-commerce analytics SaaS
Region
Solution
E-commerce profitability analytics MVP
Story

About the client

The client sells an analytics product to e-commerce founders. Its customers run ads on several networks, sell through Shopify, email through a marketing platform and track costs elsewhere. Each source reports differently, so working out true profitability means exporting data and building reports by hand or writing SQL. The client engaged FiftyFive to build Phase 1: an analytics co-pilot that pulls this data together and lets non-technical users ask questions directly.

Challenge

One profit picture from six platforms that disagree

  • Six APIs, six behaviours. Shopify, Meta, Google, TikTok, Google Analytics and Klaviyo each have different APIs, refresh rates and reliability, plus operational and cost inputs.
  • Inconsistent schemas and attribution. Each source uses its own data format and attribution model; combined datasets had to be queried together accurately.
  • Fast queries on combined data. Complex analytical queries and chart-heavy dashboards had to stay responsive on repeated loads.
  • Shopify at volume. Orders, products and customers had to sync through the Shopify GraphQL API within authentication scopes and rate limits, without consistency errors.
  • Answers without SQL. Founders needed to ask business questions in plain language and get accurate answers across profitability, campaign, product and forecasting data.
Solution

What FiftyFive built

FiftyFive delivered the MVP as a full product build: data integration, backend, AI and forecasting workflows, dashboards, authentication and billing. The platform pulls data from six sources, normalises it into one model and presents profitability, campaign and forecasting views alongside a plain-language query layer.

How the solution works

  1. Ingestion and normalisation

    • Airbyte connectors and custom backend services extract data from the six sources.
    • Shopify orders, products and customers are synchronised through the GraphQL API with handling for scopes, rate limits and bulk sync.
    • Pipelines normalise source-specific formats into a unified structure so marketing, CRM, commerce and cost data can be joined.
  2. Analytical storage on ClickHouse

    • The analytics backend runs on ClickHouse for low-latency analytical queries.
    • Indexing, partitioning, query pruning, pagination and data chunking keep large combined queries fast.
    • Supabase handles authentication, real-time subscriptions and lightweight database operations.
  3. Profitability metrics and dashboards

    • The model calculates profit on ad spend (POAS) and contribution margins at three levels (CM1, CM2 and CM3), alongside campaign, cohort and product metrics and alerts.
    • The Next.js 15 and React frontend uses Tailwind CSS, shadcn/ui and Recharts, with React Query and Zustand for state.
    • Memoisation, virtualisation, reusable dashboard modules and code-splitting keep large tables and charts responsive.
  4. Plain-language queries and forecasting

    • Cohere interprets natural-language business questions so users get answers without writing SQL.
    • Time-series forecasting workflows run on Amazon SageMaker.
  5. Access and billing

    • Role-based access control manages permissions, and Stripe subscriptions handle billing for the MVP.

Technology stack

ClickHouseLow-latency analytical store
Airbyte and custom servicesExtraction and normalisation pipelines
Shopify GraphQL APIOrders, products and customer sync
SupabaseAuthentication, real-time subscriptions, light data operations
Next.js 15, React, Tailwind CSS, shadcn/ui, RechartsDashboard frontend and charts
React Query, ZustandClient state and data fetching
CohereNatural-language business queries
Amazon SageMakerTime-series forecasting workflows
StripeSubscription billing

What the solution enabled

Outcomes

Business transformation

6

Sources unified in one ClickHouse model

3

Contribution-margin levels (CM1, CM2, CM3)

4 months

Phase-1 MVP built by a four-person team

Six sources, one model

Data from six platforms across marketing, CRM, commerce, analytics and operational inputs unified in one platform.

Profitability views

POAS and CM1, CM2 and CM3 contribution-margin metrics for founders.

Query, forecast and alert

Plain-language queries, campaign and cohort dashboards, product metrics, forecasting workflows and alerts.

Billing and access in Phase 1

Stripe subscriptions and role-based access control.

FAQ

Technical questions

How do you combine ad, store and email data to calculate e-commerce profitability?

FiftyFive Technologies extracted data from Shopify, Meta, Google, TikTok, Google Analytics and Klaviyo with Airbyte and custom services, normalised each source's format into one structure and stored it in ClickHouse. With marketing spend, orders and costs in one model, the platform calculates profit on ad spend and contribution margins at three levels for each founder's business.

Discuss your e-commerce data integration challenge with FiftyFive's data engineers.

Book a call

Project snapshot

Industry
E-commerce analytics SaaS
Services
Data engineering, backend engineering, AI/ML engineering, frontend development, integrations, authentication and payments
Duration
January – April 2025
Status
Phase-1 MVP delivered
Core technologies
ClickHouse, Airbyte, Supabase, Next.js 15, Cohere, Amazon SageMaker, Shopify GraphQL API