Skip to main content
ecommerce-analyticsdtcmarketing-dashboardclient-reportingshopify-attribution

Ecommerce Analytics: The Reporting Stack That Reconciles to Shopify

Meta, Google Ads and Shopify each credit a sale by their own rules, so the revenue the ad platforms report can add up to more than the store took. Ecommerce analytics starts by tying every number back to the order ledger.

Product Engineer, Marketing Bar
Updated
16 min read
Frosted glass slab with one glowing emerald dial and faint node graph, evoking one reconciled set of ecommerce numbers.

Ecommerce analytics is building one set of numbers the whole business trusts, and for a Shopify brand that means every revenue figure ties back to Shopify's order ledger. The ad platforms are inputs you analyze against that ledger. They are not a second source of revenue: Meta, Google Ads and Shopify each decide which sale to credit by their own rules, so adding up what the platforms report counts some orders more than once and can exceed everything the store sold.

Checking your own reporting as a founder or operator comes down to four parts: why platform numbers overstate, a worked reconciliation you can repeat on your own data, the four metrics that decide profitability, and the order to build the stack in. For choosing the software itself, see our guide to ecommerce analytics software for DTC. Where the dashboard layer fits, including Level dashboards, is covered below.

TL;DR

Key takeaways

  • Shopify is the financial source of truth. Every revenue number in every dashboard should reconcile to the order ledger, not to platform-reported conversions.
  • Platform totals overstate by design: each platform credits itself under its own attribution setting, and one order touched by two platforms is counted by both.
  • In one real DTC account in Level, the same quarter's Meta ROAS reads 2.53× or 0.52× depending only on the attribution setting, and 12.63× if the five purchase event names Meta returns are summed.
  • The metrics that decide profitability are contribution margin, MER (split new vs returning), CAC payback and repeat rate by cohort, not platform ROAS.
  • Deduplication needs an order-level key (order ID, click ID or UTM stored on the order). Adding up platform reports cannot remove double counts.

Why platform-reported revenue adds up to more than you sold

Each system decides which sale to credit by its own rules:

SystemDefault way it credits a saleSource
Shopify marketing reportsLast non-direct click: 100% credit to the last marketing channel before the purchase, direct visits excludedShopify
Meta AdsDefault attribution setting 7-day click and 1-day view; click can be 1 or 7 days, view 1 day or noneJon Loomer
Google AdsClick-through conversion window 30 days by default, configurable up to 30, 60 or 90 days depending on the conversion sourceGoogle Ads Help

Defaults checked Oct 2026. Each platform lets advertisers change them, so check the setting on your own account.

A customer who clicks an Instagram ad on Monday and buys through a branded Google search ad on Wednesday sits inside both Meta's 7-day click window and Google's 30-day window. Both platforms report the purchase. Shopify records the order once (as Definite puts it, "Shopify only records each order once") and credits it to the last non-direct click, Google. That is self-reported attribution working as designed, and it is why platform totals cannot be added up.

The platform number is also not one fixed figure. Here is one real DTC brand's Meta account in Level, July–September 2026, same spend and same purchases:

Meta, Q3 2026, one accountROAS
Account's default attribution setting2.53×
1-day view only0.88×
28-day click only0.59×
7-day click only0.52×
Default setting, all five purchase event names summed12.63×

The last row is a counting error, and an easy one to make: Meta returns a single website purchase under five event names (purchase, omni_purchase, offsite_conversion.fb_pixel_purchase, onsite_web_purchase, onsite_web_app_purchase) with identical values. Any spreadsheet or connector that sums them reports five times the revenue. The same brand's Google Ads account had its own version: during a tracking migration an old and a new purchase action ran side by side for about two weeks and counted those orders twice. The ROAS math behind these numbers is in our ROAS formula guide; we compare how reporting tools handle the overlap in the cross-channel marketing dashboard comparison, and the reporting habits that hide it in why most agency reports lie.

Shopify is the ledger, GA4 and the ad platforms are the lens

One rule fixes most ecommerce reporting arguments: revenue, orders, AOV, refunds and margin come from Shopify. Everything else explains how that revenue happened.

  • Shopify (the ledger) answers what happened: total revenue, order count, AOV, new vs returning customers, refunds. Use it for the P&L and any number that has to tie out to the bank.
  • GA4 and the ad platforms (the lens) answer how it happened: traffic source, the pre-purchase journey, funnel drop-off, which campaigns touched the buyer. Use them for analysis, never as the revenue total.

Shopify and GA4 will disagree, and that is expected. Shopify's order attribution "uses its own last-click model based on UTM parameters and referrer data", while GA4 can distribute credit across touchpoints under its own model; in WeltPixel's words, "Neither is wrong. They are measuring different things" (WeltPixel). The goal is not to make them match. It is to know which one answers which question, and to write the source next to every number in a report.

A worked reconciliation

Here is the arithmetic on one illustrative month. The numbers are made up to show the method; the steps are the ones you would run on your own exports.

Assumptions: 1,000 Shopify orders at a $100 AOV ($100,000). Ad spend $20,000 on Meta and $10,000 on Google ($30,000). Meta reports 600 purchases, Google 450. Matching order-level data shows 300 orders were claimed by both platforms, and 250 orders had no paid touch at all (email, organic, direct).

StepOrdersRevenueRatio to spend
Meta-reported purchases600$60,0003.0× on $20,000 Meta spend
Google-reported purchases450$45,0004.5× on $10,000 Google spend
Platform reports, summed1,050$105,0003.5× "blended ROAS" on $30,000
Shopify ledger, all orders1,000$100,0003.33× MER on $30,000
Paid-touched orders, deduplicated (600 + 450 − 300)750$75,0002.5× deduplicated paid ROAS on $30,000
Orders with no paid touch250$25,000—

Bar chart, illustrative month: Meta claims $60,000, Google $45,000, their sum $105,000, the Shopify ledger shows $100,000 for all orders, and deduplicated paid-touched orders come to $75,000.

Summed platform claims exceed the whole Shopify ledger; deduplicated paid revenue is 29% lower than the sum. Source: Marketing Bar worked example, illustrative numbers.

Three things to read off the table:

  1. The summed number is larger than the business. $105,000 of "ad revenue" against $100,000 of total sales, including the 250 orders no ad touched. A sum that exceeds the ledger is the quickest test that a report double-counts.
  2. Deduplication changes the decision. At a 40% margin after COGS, shipping and fees, break-even ROAS is 1 ÷ 0.40 = 2.5×. On the summed number (3.5×) paid media looks comfortably profitable; on the deduplicated number (2.5×) it is exactly at break-even. Our break-even ROAS guide covers which costs belong in the margin.
  3. MER needs no matching. Total Shopify revenue ÷ total ad spend (3.33×) never touches platform conversions, so double counting cannot inflate it. It cannot tell you which channel worked, which is why you keep both views.

The matching step needs order-level data. The platforms report aggregates, so the key lives on your side: the click ID (gclid, fbclid) or UTM parameters captured on the Shopify order, or the order ID sent as the event ID with your server-side purchase events. Without one of these you can still compute MER and compare platform sums to the ledger; you cannot say which orders were double-claimed.

We break down which tooling tiers do the matching in our agency dashboard tools comparison.

What to actually measure

Platform ROAS is the metric founders ask for first and the one most distorted by the overlap above. These four decide whether the business is healthy.

MetricFormulaWhat it tells youWhere the data comes from
Contribution marginRevenue − COGS − shipping − payment fees − refunds − ad spendWhether growth makes money or only costs itShopify + COGS + ad spend
MER (new vs returning)Total revenue ÷ total ad spend; new-customer revenue ÷ ad spendBlended efficiency that attribution overlap cannot inflateShopify + ad spend totals
CAC paybackMonths until a cohort's cumulative contribution covers its acquisition costHow fast ad spend turns cash-flow-positiveShopify cohorts + spend
Repeat rate by cohortShare of customers acquired in month M who order again by month M+nRetention quality that blended numbers hideShopify customers and orders

Contribution margin. An illustration: a $100 order at a 40% margin after COGS, shipping and fees leaves $40. If it cost $50 in ads to acquire that customer, the first order loses $10 and you need the repeat purchase to break even.

MER and new-customer MER. Marketing Efficiency Ratio is "total revenue divided by total spend" (Common Thread Collective). Split it by new and returning customers: returning revenue arrives with little or no ad cost, so a blended MER can look healthy while acquisition gets more expensive.

CAC payback. The number of months until a new customer's cumulative contribution recovers what you paid to acquire them. It sets how fast you can reinvest when growth is funded from revenue.

Repeat rate by cohort. Group customers by acquisition month and track how many order again. A falling repeat rate in recent cohorts is an early warning that an all-time repeat rate hides. Building that table correctly is covered in our LTV by cohort piece.

Platform ROAS is the metric founders ask for first and the one that matters least — it's the number most distorted by the overlap between platforms.

Marketing Bar

Pick the metric your data can support. A brand with three months of orders cannot read cohort payback yet; contribution margin per order and MER work from week one. For the fuller set of dashboard metrics beyond these four, our marketing KPI dashboard guide rounds it out.

The dashboard layer: three jobs, not one

An ecommerce analytics stack does three different jobs. Treating them as one is how teams pay for overlapping tools and still leave gaps.

1. The commerce-reconciled profit view. Built on the Shopify ledger: contribution margin, MER, CAC payback, cohort repeat rate. This answers "are we making money."

2. The paid-channel performance view. A current read on spend and efficiency per platform and campaign, refreshed often enough to act on, with the attribution setting stated next to every number. In Level, conversion mapping is where you pick the one conversion event per platform that counts as revenue, which is what keeps the five Meta purchase names from multiplying revenue by five.

3. The behavioral / journey view. GA4 and on-site analytics: funnel drop-off, session source, pre-purchase behavior. Never the revenue number; always the why behind it. If GA4 itself is the weak link, our piece on hiring a Google Analytics agency for DTC covers getting it to report correctly.

Level, the reporting platform we built at Marketing Bar, does job #2. It connects Meta Ads and Google Ads (its docs also list Microsoft Ads), syncs hourly on paid plans and daily on Free, and reports revenue as the platform's value for the conversion event you map. It does not reconcile against the Shopify order ledger, so the profit view in job #1 needs a commerce-side tool or a warehouse. Email and SMS attribution in the Marketing Bar family sits with Synergy. If your pain is Meta and Google reports that never agree, book a Level demo to run it on your own ad accounts, or have our reporting team build it for you. For the tool-by-tool view across all three jobs, see our marketing reporting software roundup and the ecommerce analytics software guide. Automating the weekly assembly is covered in automated reporting tools for agencies, and the layout that makes it readable in our agency report template.

How to build the stack in order

The sequence matters more than the tool choice. Buying the dashboard before fixing the data means paying twice.

Lock the source of truth

Shopify is the financial ledger. Write it down and agree on it, so nobody argues about which platform's revenue number is "right."

Fix tracking

UTM conventions on every paid link, click IDs kept on the order, one primary purchase action per platform, server-side events deduplicated by order ID, one reporting currency. Everything downstream inherits these errors.

Define the metric set

Contribution margin, new/returning MER, CAC payback, cohort repeat rate. Decide what you measure before you decide which tool measures it.

Choose the dashboard layer by job

Profit view, paid-channel view, behavioral view. Pick the tool for the job your pain is in, not the one with the longest integration list.

Run the reconciliation cadence

Weekly: compare summed platform revenue and Shopify revenue for the same dates, recompute MER, and flag any week where the platform sum exceeds the ledger.

With the order right, tool decisions get easier: you choose tools to serve a defined metric set against a known source of truth.

When to bring in outside help

The routine of exporting CSVs and reconciling them in a spreadsheet grows with every channel you add; Improvado estimates scaling brands spend 10–15 hours a week matching Shopify data with ad platforms and accounting (Improvado). Outside help is worth paying for when it owns the reconciliation itself: the source-of-truth hierarchy, the tracking fixes in step 2, the metric set and the weekly tie-out. A deck built on un-reconciled platform numbers is a report, not analytics. Ask any prospective partner: do your numbers reconcile to Shopify, and can you show me where they don't?

For a reporting layer scoped to your channel mix, contact us for a scoped quote; pricing depends on channels, integration depth and reconciliation scope.

One brand's Q3 2026 ad accounts and an illustrative ledger

Each Meta and Google Ads figure in this guide is from one DTC brand's ad accounts connected to Level, Q3 2026, as each platform's API reported them; we did not adjust or model them. ROAS is attributed purchase value ÷ spend, counting one purchase event per platform; the per-window values are the ones Meta returns alongside the default. The brand is anonymized and absolute amounts are withheld. A single account like this is no benchmark. The reconciliation table is an illustration with stated assumptions, not client data. Platform defaults were checked on the pages linked in the first table in October 2026.

We also read the pages ranking for "ecommerce analytics" (DataForSEO, US, desktop, 2026-10-24; 9 organic results). Of the six guides and lists we could open, none explains that ad platforms double-count orders or tells the reader to reconcile reported revenue against store orders, none mentions MER or CAC payback, and contribution margin appears once, as a feature of a listed tool. That gap is why this guide leads with reconciliation.

FAQ

What is ecommerce analytics?

Collecting and analyzing store, marketing and customer data to decide where to spend and what to fix. For a Shopify brand the practical core is a revenue number that ties to the order ledger, plus analysis of how that revenue was acquired.

Why don't Shopify, GA4 and my ad platforms show the same revenue?

Each uses its own attribution model and window. Shopify credits the last non-direct click, GA4 can spread credit across touchpoints, and each ad platform credits any purchase inside its own window, so one order can be claimed by several platforms. Use Shopify for totals and the others for analysis.

What does an ecommerce analyst do?

Keeps the numbers trustworthy and turns them into decisions: maintains tracking, reconciles reported revenue against orders, builds the metric set (margin, MER, CAC payback, cohort retention) and explains what moved and why.

Reconciliation in reporting tools and agency decks

For the tier-by-tier breakdown of cross-channel reporting tools, our cross-channel marketing dashboard comparison covers the working categories and where dedup actually happens. For the deeper read on why summed platform numbers mislead, see why most agency reports lie. The Level page for agency analytics on your paid-channel data walks through the current ad-platform scope, and for a stack scoped to your brand, contact us for a scoped quote.

Written by

Product Engineer, Marketing Bar

Builds across the full stack — from the interfaces clients use every day to the systems running behind them, with a focus on reliability at scale.

Share