Case study · Luxury

Six families of sources,
a single source of truth.

A luxury maison wanted one place to read its business: media, customers, shop and online sales, inventory, targets. Since 2022, we have been building this source of truth and evolving it every week.

LuxuryBigQuerydbtLookerTerraform
6families of sources: media, CRM, transactions, web analytics, inventory, targets and forecasts
Every weeka release to production
2runs per day, each followed by its tests
3environments: development, staging, production

THE CONTEXT

Data already there, but no common figure.

The maison belongs to a group that already integrates a large part of its data: transactions, CRM, media, inventory. The raw material existed. What was missing was a reading specific to the maison, with its definitions, its markets and its targets, that would be the reference for every subject.

The project is therefore first of all a job of transformation and dashboards. It is also, in large part, a job of understanding: where each flow comes from, what it measures, why two systems do not give the same amount for the same sale.

The architecture follows the ELT pattern: data is loaded into BigQuery, then transformed and combined with dbt, before being read in Looker.

WHAT WAS IN THE WAY

Three gaps between the sources and performance management.

01

Two sales systems, two vocabularies.

Depending on the channel and the market, transactions come from two different systems. Net or gross amount, taxes, returns, discounts: the fields do not cover the same thing from one to the other.

02

Online sales with no known origin.

Attributing an order to the campaign that brought it in is not always possible order by order. A written rule was needed for every case where the identifier is missing.

03

Targets by month, tracking by day.

Targets and forecasts arrive in monthly files. The dashboards, though, are read every day.

WHAT WE BUILT

Harmonise, attribute, test.

01

A single transactions table.

A transformation layer aligns the amounts, sales channels and currencies of the two systems, then brings them together. Shops and online sales are read with the same definitions.

02

Attribution that states its method.

When an order is found in the web analytics data, it inherits its campaign. Otherwise, sales are split according to the weights of the day, then of the last thirty days. The method used stays visible, and unattributed sales appear as such. See marketing attribution.

03

Targets brought down to the day.

Monthly targets are spread day by day according to the seasonality of the last three years: position in the month and day of the week.

04

Tests, monitoring, a rhythm.

The models run twice a day, and their data tests right after. The results feed a monitoring dashboard. A failed run or a late source triggers an alert. Deployment is automatic, and the release to production weekly.

THE STACK

The group’s stack, the maison’s rules.

Ingestion
Flows integrated by the groupFunnel
Data warehouse
Transformation
dbtSQL
Automation
Cloud BuildCloud Run
Infrastructure
Reporting

WHAT IT CHANGES

One figure, one definition, one origin.

  • A single sales table, shops and online, with amounts that can be compared from one market to another.
  • Performance read end to end: media, website traffic, sales and targets in the same model.
  • Attribution with no hidden blind spot: you know what share of sales is attributed to a campaign, and by what method.
  • Alerts on quality: a failing test or a source that does not arrive shows up in the monitoring.
  • Access rights described in code, with Terraform, and not set by hand.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project