Skip to content

For GA4 usersFrustrated with GA4 attribution? Upload your GA4 export, see causal insights in 5–10 minutes for €99 pay-per-use.

Guide

7 min readJoris van Huët

Data Analysis for E-commerce: From Reports to Causal Decisions

Turn raw store and GA4 data into decisions. The four levels of e-commerce data analysis, the metrics that matter, and how to move from correlation to causal proof.

Share
Quick Answer·7 min read

Data Analysis for E-commerce: Turn raw store and GA4 data into decisions. The four levels of e-commerce data analysis, the metrics that matter, and how to move from correlation to causal proof.

Read the full article below for detailed insights and actionable strategies.

The attribution problem

One sale. Four channels. 400% credit claimed.

100
1 sale
Meta
100%
claimed
Google
100%
claimed
TikTok
100%
claimed
Klaviyo
100%
claimed

Reported revenue: 400 · Actual revenue: 100 · Gap: €300

The 60-Second Answer

Data analysis for e-commerce is the practice of turning store, advertising, and customer data into decisions that grow profit. It works in four layers: descriptive (what happened), diagnostic (why it happened), predictive (what happens next), and causal (what actually caused a result, and what changes if you act). Reporting tools master the first layers. The money is made on the fourth, because only causal analysis answers the question every budget decision really asks — what happens to revenue if I move this spend?

Why E-commerce Data Analysis Breaks for Most Brands

Most Shopify and DTC teams are not short of data. They are short of decisions. A typical store runs Shopify reports, a GA4 property, Meta and Google dashboards, an email tool, and a spreadsheet that tries to glue them together. Each source measures with different rules and attribution windows, so no two numbers agree. Meta claims a 4.2x return, GA4 says 3.1x, Shopify shows something else, and the founder is left guessing.

Data analysis is the discipline that resolves this into one defensible answer. Done well, it does not just describe the past — it tells you what to change. Done badly, it produces beautiful dashboards that quietly justify the wrong decisions.

The Four Layers of E-commerce Data Analysis

Think of analytics as a maturity ladder. Each rung answers a harder, more valuable question than the one below it.

LayerQuestion it answersExampleTypical tools
DescriptiveWhat happened?Revenue rose 12% last weekShopify reports, GA4
DiagnosticWhy did it happen?Which channel drove the lift?Cross-channel analytics
PredictiveWhat will happen next?Forecast next month's CACAugmented analytics
CausalWhat caused it, and what if I change it?Did TikTok cause the sales or just precede them?Causal attribution

Descriptive analysis is your rear-view mirror: revenue, sessions, conversion rate. Necessary, but every tool already does it. Diagnostic analysis segments and slices to explain movements — the work behind a good marketing dashboard. Predictive analysis, increasingly powered by augmented analytics and prescriptive analytics, forecasts forward. And causal analysis — the rung almost everyone skips — estimates the counterfactual: what would have happened without a given channel. Only that rung can justify moving budget.

A 6-Step E-commerce Data Analysis Workflow

Best-practice analysis is a process, not a dashboard. Use this loop.

  1. Start with the decision, not the data. Write the question you need to answer ("should I scale TikTok prospecting?") before you open a single report. Analysis without a decision is just trivia.
  2. Consolidate your sources. Bring Shopify, GA4, and ad platforms into one view. At scale that may mean an e-commerce data warehouse; for most stores, a structured analytics stack is enough.
  3. Reconcile and clean. Align attribution windows, currencies, and definitions so "revenue" means the same thing everywhere, and reconcile back to Shopify as the source of truth for orders. Server-side analytics reduces data loss.
  4. Choose actionable metrics. Pick a small set of actionable metrics over vanity metrics, each tied to profit.
  5. Move from correlation to causation. Before acting, ask whether each finding is causal or merely correlated. This is where most analyses fail.
  6. Act, then measure the lift. Make one change, then confirm the result with incrementality testing rather than trusting platform-reported numbers.

The Metrics That Actually Matter (and the Ones to Ignore)

A best-practice analysis is ruthless about attention. Track numbers that change decisions; ignore numbers that only feel good.

Track these (actionable)Question these (vanity / misleading)
Contribution marginImpressions
New-customer CACReach
Incremental revenue and incrementalityPlatform-reported ROAS
Repeat-purchase ratePageviews
Blended MERTime on site

Several of the B2C metrics that genuinely predict growth and the engagement metrics worth tracking never appear on an ad dashboard, because each platform only sees its own slice. And beware ROAS: it looks decisive but is arguably the most dangerous number in marketing, because a channel can post a high ROAS simply by claiming credit for sales that would have happened anyway.

The Core Mistake: Correlation Is Not Causation

This is the failure mode that wastes the most money. Suppose customers who saw a Meta retargeting ad converted at 8%, and those who did not converted at 2%. The intuitive read: retargeting quadruples conversion. The honest read: retargeting shows ads to people already likely to buy. The correlation is real; the causal claim is false.

Worked example. A brand spends €100,000/month and sees, across GA4 and its dashboards, a 6x return on branded search and 1.8x on TikTok prospecting. Descriptive analysis says cut TikTok. A causal analysis of the same data shows TikTok is creating the demand that later converts on branded search — its true incremental return is roughly 4x, while branded search is mostly harvesting demand it did not create. Cutting TikTok would shrink the top of the funnel, and within two months branded-search efficiency would fall too. The dashboard was right about the numbers and wrong about the decision. This is exactly why data-driven attribution and causal attribution are not the same thing, and why GA4's attribution has real limits.

How to Add the Causal Layer Without a Data Team

Reaching the top rung used to require statisticians and a warehouse. For a GA4 store, it no longer does.

  1. Keep your descriptive stack — Shopify, GA4, your analytics apps and platforms — for monitoring.
  2. Export a historical period from GA4 — data you already collect.
  3. Run causal attribution over it to estimate each channel's true incremental contribution, including cannibalization and diminishing returns. For how this differs from older methods, see MMM vs MTA vs causal inference.
  4. Validate the biggest calls with incrementality testing before scaling.

This pairing — a descriptive layer for monitoring and a causal layer for decisions — is the whole game. If on-site behaviour is your focus, read the companion guide to e-commerce product analytics.

Common E-commerce Data Analysis Mistakes

  • Reporting without a decision. If a chart would not change an action, it is decoration.
  • Trusting platform-reported ROAS as if it were incremental truth.
  • Comparing tools instead of reconciling them — chasing which dashboard is "right" instead of asking what each one measures.
  • Optimising last-click, which systematically over-credits the bottom of the funnel.
  • Confusing correlation for cause — the single most expensive error in the discipline.
  • Ignoring contribution margin, and scaling revenue that loses money after COGS and shipping.

Your E-commerce Data Analysis Checklist

  • One clearly written decision per analysis
  • Sources reconciled to Shopify orders
  • A short list of profit-linked, actionable metrics
  • A correlation-vs-causation check on every finding
  • A causal estimate before any budget shift
  • A measured lift after the change, via incrementality

Key Takeaways

  • E-commerce data analysis climbs four layers — descriptive, diagnostic, predictive, causal. Budget decisions need the causal layer.
  • Start from the decision, reconcile your sources, and track profit-linked metrics over vanity ones.
  • Correlation in store data is real but routinely misleads; only causal analysis answers "what if I change this?"
  • A GA4 export is enough to add the causal layer — no new tracking and no warehouse required.

See the Causal Layer on Your Own Data

For €99, upload any historical GA4 period and get causal attribution for every channel in 5–10 minutes — no pixel, no migration. Go Pro at €299/mo for continuous attribution, an AI chatbot for your data, and a developer API. Stop analysing what happened and start proving what caused it.

Get attribution insights in your inbox

One email per week. No spam. Unsubscribe anytime.

Key Terms in This Article

Related Articles

Ready to see your real numbers?

Upload your GA4 data. See which channels drive incremental sales. Confidence-scored results in minutes.

Book a Demo

Full refund if you don't see it.

Stay ahead of the attribution curve

Weekly insights on marketing attribution, incrementality testing, and data-driven growth. Written for marketers who care about real numbers, not vanity metrics.

No spam. Unsubscribe anytime. We respect your data.

Frequently Asked Questions

What is data analysis in e-commerce?

It is turning store, marketing, and customer data into decisions, across four levels: descriptive (what happened), diagnostic (why), predictive (what is next), and causal (what caused it and what changes if you act). Budget decisions require the causal level.

What is the difference between descriptive and causal analytics?

Descriptive analytics reports what already happened, such as revenue rising 12%. Causal analysis estimates what a change would do — for example, whether moving budget between channels would actually increase sales — which descriptive numbers cannot answer.

Which e-commerce metrics should I focus on?

Prioritise actionable, revenue-linked metrics: contribution margin, new-customer acquisition cost, repeat-purchase rate, and incrementality. Treat impressions, pageviews, and platform-reported ROAS with caution.

Do I need a data warehouse to analyse e-commerce data causally?

No. For a GA4 store, exporting a historical period is enough to run causal attribution. A data warehouse helps at larger scale but is not required to reach the causal layer.

What are the four types of data analytics?

Descriptive (what happened), diagnostic (why it happened), predictive (what will happen), and prescriptive or causal (what to do and what a change would cause). In e-commerce, the causal layer is the one that justifies moving budget.

What is the best way to analyse marketing data for an online store?

Start from the decision you need to make, reconcile Shopify, GA4 and ad data into one view, track profit-linked metrics, then test each finding for causation before acting — and confirm the change with incrementality testing.

Confident clarityfor your GA4 data.

Frustrated with what GA4 says about your channels? Upload any historical period, get causal insights for every channel in 5–10 minutes. €99 pay-per-use. Go Pro at €299/mo to unlock continuous attribution: automated GA4 ingestion, an AI chatbot for your data, and a developer API for your marketing agents.