Data-driven marketing for ecommerce: the 6 numbers to check before you scale ads

In this article you'll find everything you need to know about data-driven marketing for ecommerce. It's written and kept up to date by Mattia Chiaruttini, ecommerce marketing consultant since 2016. Read it to the end, and if you have questions, send me a message.

Most ecommerce brands don't have a data problem. They have a too-many-dashboards problem. Data-driven marketing for ecommerce means making budget, offer and creative decisions from a short list of numbers you trust, starting from real orders in your store, not from whatever each ad platform says about itself. Six numbers are enough. Below you'll find which ones, how to track them and what to do when they move.

It's the first thing I set up when I start as an ecommerce consultant, before touching a single campaign in Meta Ads and Google Ads.

In short

  • Six numbers, not sixty: contribution margin per order, MER, new-customer CAC, AOV, repeat purchase rate and conversion rate by device.
  • Your store is the source of truth: Meta and Google each count the same sale their own way. Shopify orders don't double count.
  • Platform ROAS is for comparing ads, not for setting budget: use MER for the big decisions.
  • Tracking before scaling: Conversions API, enhanced conversions, clean UTMs and a post-purchase survey.
  • Numbers need rules: decide in advance what you'll do when each one goes up or down.

What does data-driven marketing actually mean for an ecommerce brand?

It doesn't mean more reports. It means every recurring decision (how much to spend, what to promote, which ad to keep) has a number behind it, and everyone agrees on where that number comes from.

The trap is letting each platform grade its own homework. Meta reports a ROAS, Google reports another, your email tool claims a share too, and if you add them up you'll often get more revenue than your store actually made. That's normal: each one measures with its own attribution rules. It's also why the big decisions belong to numbers that start from your store.

Which 6 numbers should an ecommerce brand track?

Weekly ecommerce scorecard with six numbers: contribution margin per order, MER, new-customer CAC, AOV, repeat purchase rate and conversion rate by device
The six numbers I put in a weekly scorecard, with the formula behind each one.
NumberHow to calculate itWhat it tells youHow often
Contribution margin per orderOrder revenue minus product cost, shipping, payment fees and discountsHow much each order really leaves you before adsWeekly
MERTotal revenue ÷ total marketing spendWhether marketing as a whole pays for itselfWeekly (daily in peak season)
New-customer CACMarketing spend ÷ new customersWhat a brand-new customer costs youWeekly
AOVRevenue ÷ ordersWhether bundles and offers are workingWeekly
Repeat purchase rateCustomers with 2+ orders in 90 days ÷ all customers in the cohortWhether people come back without paid adsMonthly
Conversion rate by deviceOrders ÷ sessions, mobile vs desktopWhether the store is losing sales on the phoneWeekly

Read them together, never alone. A rising CAC is fine if AOV and repeat purchases rise with it. A great MER is a warning sign if it comes from discounting your best customers.

The question I ask every week: if we doubled spend tomorrow, which of these six numbers would break first? That's where the work is.

How do you set up tracking you can trust?

You don't need a data team. You need a few things set up properly, once:

  • Shopify (or your platform) as the source of truth for orders, revenue and new vs returning customers.
  • Meta pixel plus Conversions API, with deduplication, so browsers blocking cookies don't make your sales disappear.
  • Google Ads conversions with enhanced conversions turned on.
  • GA4 with consistent UTM tags on every link you control: ads, emails, SMS, influencers.
  • A post-purchase survey with one question: "How did you hear about us?". It catches word of mouth, podcasts and creators that no pixel sees.
  • One sheet or dashboard with the six numbers, updated on the same day every week.

Start simple. A spreadsheet that's updated every Monday beats a beautiful dashboard nobody trusts.

How do you turn numbers into decisions?

Numbers are useless without rules. Write down, before you need them, what you'll do when each one moves. A few of mine:

If this happensCheck firstThen
MER drops for 2 weeksDid spend jump? Did AOV or conversion rate fall?Roll back the last budget increase, fix the weaker number
New-customer CAC goes above first-order marginRepeat purchase rate and 90-day LTVIf repeat is low, fix the offer or AOV before scaling
Mobile conversion rate falls behind desktopCheckout speed, payment options, pop-upsFix the mobile checkout before buying more traffic
AOV dropsDiscount depth, bundle visibilityPush bundles and free-shipping thresholds
A creative wins on platform ROAS but MER doesn't moveNew vs returning buyers in that adIt may be retargeting existing customers: cap it

Change one thing at a time. If you change budget, offer and creative in the same week, the numbers will move and you won't know why.

What does this look like in practice?

When I started with BEEQ, a skincare brand with one product, in early 2023, there was a failed test with a previous agency behind us and a website to rebuild. Before spending, we tracked sessions, orders, AOV, conversion rate and acquisition cost. The first campaign ran at €30 a day in July 2023.

From there the rule was simple: test in flat months, push what worked in peak months, and use bundles, gift boxes and reviews to offset rising acquisition costs. BEEQ went from €6K in revenue in 2022 to €518K in 2025. The full story, with the numbers year by year, is in the BEEQ case study.

Which tools do you need (and when)?

ToolWhat it's forWhen you need it
Shopify analyticsOrders, revenue, new vs returning, AOVFrom day one
GA4Sessions, funnels, conversion rate by device and channelFrom day one
A spreadsheet or Looker StudioThe weekly six-number scorecardFrom day one
Klaviyo or your email platformCohorts, repeat purchases, predicted customer valueOnce you have a few hundred customers
Triple Whale, Northbeam or PolarMulti-channel attribution and blended reportingWhen you spend meaningfully on several channels at once

Expensive tools don't make you data-driven. Looking at the same numbers every week, and acting on them, does.

The most common data mistakes in ecommerce

  • Adding up platform ROAS. The total will be bigger than your real revenue.
  • Tracking everything. Sixty KPIs means nobody watches any of them.
  • Judging creative after two days. Give a new ad enough spend and time to tell you something.
  • Ignoring margin. Revenue growth with shrinking margin is a slower way to lose money.
  • Changing everything at once. You lose the only thing data gives you: knowing why.

Recap: your data-driven checklist

  • Six numbers in one weekly scorecard.
  • Store orders as the source of truth.
  • Conversions API, enhanced conversions, UTMs and a post-purchase survey live.
  • Platform ROAS for comparing ads, MER for budget.
  • Written rules for when each number moves.
  • One change at a time.

Data-driven marketing for ecommerce: frequently asked questions

What is data-driven marketing in ecommerce?

It means deciding budget, offers and creative from a short list of numbers you trust, starting from your store's real orders, instead of from what each ad platform reports about itself.

Which metric matters most for a DTC brand?

There isn't a single one, but MER (total revenue divided by total marketing spend) checked against your contribution margin is the best starting point: it tells you whether marketing as a whole is paying for itself.

Is platform ROAS useless?

No. It's useful to compare campaigns and creative inside the same platform. It's a bad number for deciding your total budget, because each platform counts the same sale its own way.

Do I need an attribution tool like Triple Whale or Northbeam?

Not on day one. With a clean Shopify setup, Meta's Conversions API, Google Ads conversions and a post-purchase survey you can make good decisions. Attribution tools start paying off when you spend meaningfully on several channels at once.

How often should I look at the numbers?

Spend and orders daily during launches and peak season, the full scorecard weekly, and cohorts (repeat purchase, LTV) monthly.

Can a small brand be data-driven?

Yes, and it should. BEEQ started with €30 a day in July 2023 and one product. What mattered was tracking sessions, orders, AOV, conversion rate and acquisition cost before spending more.

Let's talk about your store

A 30-minute call to understand where you are, where you want to go and whether I can help. If I'm not the right fit, I'll tell you straight away.