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.
Case study · Luxury
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.
THE CONTEXT
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
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.
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.
Targets and forecasts arrive in monthly files. The dashboards, though, are read every day.
WHAT WE BUILT
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.
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.
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.
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.
WHAT IT CHANGES
READ NEXT
WHAT COMES NEXT, WE BUILD TOGETHER
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