Tracking & analytics14 min readUpdated October 14, 2026

Attribution Modeling for Ecommerce: Models, Platform Rules and Real Revenue

Ecommerce attribution models run on one customer journey, what GA4, Google Ads and Meta offer in 2026, and how to check credit against settled revenue.

Article summary

TL;DR

Attribution modeling decides which marketing touchpoints get credit for a sale. Rule-based models (first click, last click, linear, time decay, position-based) split credit by a fixed rule; data-driven models learn it from your data. GA4 and Google Ads now offer only data-driven and last click. To know what really works, add lift tests and check credit against settled revenue.

  • The same $120 order gets a different winner under each rule-based model. The model is a choice, not a fact.
  • GA4 and Google Ads dropped first click, linear, time decay and position-based in 2023. Only data-driven and last click remain.
  • Meta, Google and your email tool each credit themselves with the same order. Their totals add up to more than your sales.
  • Attribution says who was there. Lift tests and marketing mix models estimate what would have happened without the ad.
  • Attributed revenue is not cash. Match it to captured payments minus refunds, chargebacks and fees.
Want to go further? AskChatGPTClaudePerplexityGrok
On this page

Your Meta dashboard, your Google Ads account and your email tool all claim last week's best order. Only one customer paid, once. Attribution modeling is how you decide who gets the credit, and the honest answer is that each model gives a different one. This guide runs every model on the same customer journey, shows what GA4, Google Ads and Meta actually let you choose in 2026, and ends where most guides stop: matching the credit to the money your processor settled. For supplement and skincare brands: ad attribution for supplement brands and ad attribution for skincare brands.

What is ecommerce attribution modeling?

An attribution model is a rule, or a learned formula, that splits the credit for a conversion across the marketing touchpoints before it. In ecommerce the conversion is usually a purchase, and the credit is the order value. The model decides which channel "made" the sale in your reports, and so where next month's budget goes.

Here is the journey we'll use all the way through. It's an illustrative example, but a typical one for a DTC brand.

Fig. 1One customer, one $120 order

  1. Day 0 · Meta adClicks a video ad, browses, leaves
  2. Day 2 · Google ShoppingClicks a Shopping ad, adds to cart
  3. Day 5 · EmailClicks the abandoned-cart email
  4. Day 6 · DirectTypes the URL, pays $120

Four visits in six days

Illustrative example. Day 0 is the first click; the purchase happens on day 6.

Three marketing touchpoints and a direct visit. The question every model answers differently: how much of the $120 did Meta, Google Shopping and the email each earn?

Attribution models compared on one customer journey

Rule-based models apply a fixed formula. Like GA4's "paid and organic last click", the table below ignores the direct visit and splits the credit across the three marketing touchpoints.2Google Analytics Help, Get started with attribution

ModelMeta ad (day 0)Google Shopping (day 2)Email (day 5)The rule
Last click$0$0$120All credit to the last click before the sale
First click$120$0$0All credit to the first click
Linear$40$40$40Equal shares
Time decay$31.09$37.90$51.01More credit the closer to the sale (7-day half-life here)
Position-based$48$24$4840% first, 40% last, 20% shared by the middle
Data-driven???Learned from your converting and non-converting paths

Verdict

Same order, five different winners. Last click makes email look like your best channel; first click makes it Meta. Neither is wrong. Each answers a different question, and none of them says whether the sale would have happened without the ad.

How each rule works, and what it's good for:

  • Last click gives 100% to the final click. It's simple and matches the moment of purchase, but it rewards channels that catch buyers who were already coming: retargeting, branded search, cart emails.
  • First click gives 100% to the first click. It shows which channels bring new people in, and ignores everything that convinced them afterwards.
  • Linear splits evenly. It shows every channel that took part, and assumes they all mattered equally, which is rarely true.
  • Time decay weights touchpoints by how recent they are. With a 7-day half-life, a click from 7 days before the sale counts half as much as a click on the day. It suits short promotions, and undervalues discovery.
  • Position-based (also called U-shaped) gives 40% each to the first and last click and splits 20% across the middle. It values both discovery and closing, with a split that is a convention, not a measurement.

Where does direct go?

If your tool counts the direct visit as a touchpoint, last click gives the whole $120 to "Direct" and your marketing gets nothing. That's why GA4's last click model skips direct traffic unless the whole path was direct.2Google Analytics Help, Get started with attribution

How data-driven attribution works

Data-driven attribution (DDA) doesn't use a fixed rule. Google describes it as comparing "the paths of customers who convert to the paths of customers who don't" to find the interactions that make a purchase more likely, and giving those more credit. The model is specific to each advertiser.5Google Ads Help, About data-driven attribution

In GA4, Google explains it as a counterfactual: it compares the conversion probability of users who saw an ad with similar users who didn't, and credits each interaction by how much it changes that probability. Google's own example: if removing one ad exposure drops the probability of a key event from 3% to 2%, that exposure gets credit for a 50% increase.2Google Analytics Help, Get started with attribution

  1. What it needs

    In Google Ads, every conversion action can use DDA whatever its volume. Google recommends at least 200 conversions and 2,000 ad interactions in 30 days for more precise results.

  2. What it sees

    Google Ads DDA covers clicks and video engagements on Search, Shopping, YouTube, Display and Demand Gen. GA4 DDA also covers organic and non-Google channels it tracks.

  3. What it can't do

    It only splits credit among touchpoints it saw. A TikTok view, a podcast or a friend's recommendation outside its data gets nothing.

Sources for the cards: Google Ads Help and Google Analytics Help.5Google Ads Help, About data-driven attribution2Google Analytics Help, Get started with attribution DDA is better than a fixed rule at sharing credit, but it is still correlation on observed paths. It doesn't tell you what a channel adds, only how it sits among the others.

GA4 and Google Ads attribution models in 2026

Many guides still list six Google models. Google removed four of them in 2023.

Fig. 2Google retires rule-based attribution

  1. June 2023Google Ads: four rule-based models can no longer be selected
  2. September 2023Google Ads: conversion actions still on them switched to data-driven
  3. November 2023GA4: first click, linear, time decay and position-based no longer available
  4. TodayData-driven and last click remain

Data-driven becomes the default

Source: Google Ads Help and Google Analytics Help.

Google's reason, in its announcement: these models "don't provide the flexibility needed to adapt to evolving consumer journeys."1Google Ads Help, First click, linear, time decay, and position-based attribution models are going away

GA4Google Ads
Models you can chooseData-driven; paid and organic last click; Google paid channels last clickData-driven; last click
DefaultData-drivenData-driven, for most conversion actions
What last click ignoresDirect traffic, unless the path is all directNon-Google channels: it only sees Google ad clicks
Lookback windowAcquisition key events: 30 days by default, or 7. Other key events: 90 days by default, or 30 or 60Set per conversion action
Removed in 2023First click, linear, time decay, position-basedFirst click, linear, time decay, position-based

Sources: Google Analytics Help and Google Ads Help.2Google Analytics Help, Get started with attribution3Google Analytics Help, Select attribution settings4Google Ads Help, About attribution models

"Google paid channels last click" gives all the credit to the last Google Ads click, and falls back to paid and organic last click when the path has no Google Ads click.2Google Analytics Help, Get started with attribution A change to the lookback window applies from then on, to every report in the property.3Google Analytics Help, Select attribution settings To compare models on your own data, you need the raw events: set up the GA4 ecommerce events correctly first, then export to BigQuery if you want to rebuild first click or linear yourself.

Meta attribution settings: click, view and engage-through

Meta doesn't split credit with other channels at all. Ads Manager asks you to choose an attribution model at the ad set level, then, for the standard model, the windows in which a conversion can be credited to your ad.6Meta Business Help Centre, About attribution models and attribution settings

  1. Click-through

    Purchases within 1 day or 7 days after a link click on your ad.

  2. View-through

    Purchases within 1 day after an impression of your ad, with no click.

  3. Engage-through

    Purchases within 1 day after a non-link click, or a video play of 5 seconds (or 97% of a shorter video).

The two models Meta offers today:6Meta Business Help Centre, About attribution models and attribution settings

  • Standard attribution credits conversions inside the windows above and optimizes delivery for them.
  • Incremental attribution optimizes for conversions that Meta's models predict were caused by the ad, and reports those.
  • Custom attribution lets you send your own attribution data from an external analytics tool so Meta optimizes towards it.

Meta itself warns that results across ad sets with different attribution models can't be compared in the campaign table, and that "if using external analytics tools, evaluate performance in those tools." Some accounts still run earlier versions of the click and engage windows during the rollout.6Meta Business Help Centre, About attribution models and attribution settings

Inside Tagada

Build the funnel once, route every customer to the right offer

Checkout, upsells and subscriptions on one flow, with conditions per country, order or customer.

Start free

Why ad platforms over-claim the same sale

Back to our $120 order. Each tool reports what it can link to its own touchpoint:

Fig. 3One order, three claims

One $120 orderPaid once, on day 6
  1. Meta Ads: $120A link click 6 days before, inside the 7-day click window
  2. Google Ads: $120The only Google ad in the path gets all the Google credit
  3. Email tool: $120A click on day 5, inside its own window
  4. GA4 last click: $120 to emailOne channel, the total matches the store

$360 reported, $120 paid

Illustrative example, using each platform's own counting rules.

Nothing here is a bug. Each platform only sees its own ads, uses its own window, and has no reason to give credit away. Meta counts a view with no click; Google can't see Meta; the email tool sees neither. Add the three dashboards and you get three times the revenue you collected.

Three consequences for an ecommerce brand:

  1. Never add up platform-reported revenue. Use one neutral source for totals (GA4, your store, or better, your processor) and keep platform numbers for in-platform optimization.
  2. Compare windows before comparing ROAS. A 7-day click plus 1-day view setting at Meta and a 30-day window elsewhere don't measure the same thing.
  3. Retargeting and branded search look better than they are under any click-based model, because they reach people already on their way to buy. Only a test with a holdout tells you how much they add.

The browser side of this, and why pixels miss part of the orders in the first place, is covered in what is pixel tracking and server-side tracking.

Incrementality testing: geo holdouts and conversion lift

Attribution tells you who was there before the sale. Incrementality tells you whether the sale would have happened without the ad. The method is an experiment: one group can see your ads, a comparable group can't, and the difference in conversions is the lift.

MethodHow the groups are splitWhat it comparesAccess
Meta Conversion LiftMeta randomizes people into a test group that sees your ads and a control group that doesn'tConversions, converting people and sales revenue between the groupsLimited: contact a Meta representative
Google Ads Conversion Lift, user-basedGroups built from aggregated user attributesConversions between people who saw the ads and people who didn'tNot available for all accounts: contact a Google representative
Google Ads Conversion Lift, geography-basedGroups built from aggregated geographic data; supports offline dataConversions between regions with and without adsNot available for all accounts
GeoLift (open source)You choose test regions; a synthetic control built from other regions stands in for "no ads"Sales in test regions against the synthetic controlFree R package from Meta, MIT license

Sources: Meta for Developers, Google Ads Help, GeoLift repository.7Meta for Developers, Lift Study (Conversion Lift)8Google Ads Help, About Conversion Lift9GeoLift, Meta open-source repository (GitHub)

  1. Pick one channel and one question. For example: does Meta retargeting add sales, or harvest buyers who would come back anyway?
  2. Split regions. Choose comparable states or postal regions, switch the channel off in the holdout regions only, and keep everything else unchanged.
  3. Run long enough. At least one full buying cycle, with no big promotion in the middle.
  4. Measure sales by region from your own orders, not from the ad platform: the platform can't report what happened where it didn't run.
  5. Compare the lift with what attribution claimed. If Meta claimed $10,000 in the test regions and the lift was a fraction of that, the gap is demand your other channels would have caught.

A geo holdout you can run without a platform rep. Your store and processor data are enough to read the result.

Practical rule

Test the channels that last click flatters most before you scale them: retargeting, branded search and view-through credit. They are the ones most likely to be counting sales that would have happened anyway.

Marketing mix modeling: Meridian and Robyn

Marketing mix modeling (MMM) skips the customer journey. It uses aggregated data (weekly spend by channel, sales, prices, promotions, seasonality) and estimates how much each channel contributed. Because it needs no cookies or user-level data, it still works when tracking doesn't, and it covers channels with no clicks at all. Two big ad platforms publish free, open-source MMM packages:

  • Meridian (Google): "an MMM framework that enables advertisers to set up and run their own in-house models", built on Bayesian causal inference. It handles national or geo-level data, can use reach and frequency, and supports calibrating the model with experiments and other prior information. Apache 2.0 license.10Meridian, Google open-source repository (GitHub)
  • Robyn (Meta Marketing Science): "an experimental, semi-automated and open-sourced Marketing Mix Modeling (MMM) package", in R and, in beta, Python. It uses ridge regression and an evolutionary algorithm to tune the model, and includes a budget allocator. MIT license.11Robyn, Meta open-source repository (GitHub)

Where MMM helps

  • Works without user-level tracking or cookies
  • Covers TV, podcasts, influencers, retail and other untracked channels
  • Answers budget questions: what if we move 20% from Meta to Google?
  • Can be calibrated with your lift test results

Where it struggles

  • Robyn's guide asks for at least two years of weekly data
  • Too few observations per channel make results unstable
  • Weekly, not daily: no help optimizing a single ad
  • Needs someone who can read the model, not just run it

Robyn's documentation recommends calibrating the model with experiment results, "considered to be the ground truth", and a minimum of two years of weekly history, with roughly 10 observations per variable in the model.12Robyn documentation, Analyst's guide to MMM For a young brand, that means MMM comes after attribution and lift tests, not before.

Which method answers which question

Your questionMethodWhat you need
Which ads and keywords should get more budget this week?Data-driven attribution in each platformClean conversion tracking, ideally from the server
Which channels show up in buyers' journeys?GA4 attribution, model comparisonGA4 ecommerce events, consistent UTMs
Would these sales have happened without the ad?Conversion lift or a geo holdoutA test period, a holdout, sales by region or group
How should we split next year's budget across channels?Marketing mix modelingTwo years or more of weekly spend and sales
Which channels bring customers who pay, stay and don't dispute?Attribution joined to payment dataOrder and payment IDs on the same record

The last line is the one ad platforms can't answer for you.

Reconcile attributed revenue with settled revenue

Every model above credits the order value at the moment of purchase. Your bank account sees something else: captured payments, minus refunds, minus chargebacks and their fees, minus processing fees. A channel can win on attribution and lose on cash.

Order #1042 · The $120 order, 30 days laterCredited to email by GA4 last click, to Meta by Meta, to Shopping by Google Ads
Attributed revenue
$120 in GA4, $360 across platforms
Payment captured
$120
Refund on day 20
−$120, processing fee not returned
Net settled revenue
Negative: the processing fee
Still in ad platform reports
Yes, unless you send the refund

Illustrative record.

At Stripe, for example, a refund returns the money to the customer but the original processing fee isn't returned.13Stripe Docs, Refund and cancel payments A chargeback is worse: the disputed amount and a dispute fee leave your balance as soon as it's filed, and the fee for receiving the dispute is generally not returned even if you win.14Stripe Docs, How disputes work None of this reaches your attribution reports unless you send it there. The detail is in chargeback vs refund and chargeback fees.

The reconciliation, per channel and per month:

  1. Start from attributed revenue in one neutral tool, with one model (GA4 data-driven, for example). Never the sum of ad platforms.
  2. Match each order to its payment by order ID or payment ID. Remove orders whose payment failed or was never captured.
  3. Subtract refunds and chargebacks by acquisition channel, on the original order's channel, even when they arrive weeks later.
  4. Subtract processing and dispute fees, from your processor's reports or your merchant statement.
  5. Compare net settled revenue by channel with attributed revenue. A channel with a high refund rate or dispute rate can fall from first to last.

Run it monthly. The gap between the first and last column is the number marketing and finance should both look at.

  1. A channel's attributed revenue grows, settled revenue doesn'tRefunds, failed payments or disputes concentrated on that channelBreak refunds and disputes down by acquisition channel
  2. Ad platforms report more purchases than your processor capturedDuplicated events, or purchases counted before paymentFire the purchase event from the paid order, with one event ID
  3. A subscription channel wins on first orders, loses on renewalsCustomers who cancel or fail their second paymentJudge channels on cohort revenue at 90 days, not first order
  4. Attributed and settled revenue move togetherYour tracking and your payments agreeSpend your effort on lift tests instead

For subscriptions, the first order is only the start. Group customers by acquisition channel and track their revenue over time, as explained in what is cohort analysis and customer lifetime value. A channel that brings cheap first orders and weak renewals is a worse deal than its ROAS says.

Best practices for multi-touch attribution in ecommerce

  1. Pick one source of truth per question. GA4 or your store for cross-channel totals, the ad platform for optimizing inside it, your processor for cash.
  2. Send purchases from the paid order. A server-side event fired when the payment is captured, with the same event ID as the browser pixel, avoids both missing and duplicated purchases. See server-side tracking.
  3. Send refunds too. GA4 has a refund event; ad platforms can receive adjusted values. If you don't send them, refunded orders stay credited forever.
  4. Keep the click ID with the order. Store UTMs and click IDs on the order record at the first visit, if consent allows, so you can rebuild any model later.
  5. Align windows when comparing. Note the window next to every ROAS figure.
  6. Test before you scale. One holdout test per quarter on your largest or most suspicious channel beats any model debate.
  7. Change models rarely. Switching from last click to data-driven moves credit between channels overnight. Annotate the date, or your trend lines lie.

To compare the tools that collect and forward this data, see conversion tracking tools.

How Tagada helps

Purchase events sent from the checkout that took the payment

Tagada's checkout sends tracking server side to Meta, Google and TikTok, from the same platform that runs the checkout with one-click upsells and order bumps, subscriptions with retries, and payment routing across TagadaPay and processors such as Stripe, NMI and Airwallex, with a cascade to another processor when one is down or times out. Orders and payments live in the same system, which is where the reconciliation above starts. Plans are on the pricing page.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What is the best attribution model for ecommerce?

There isn't one for every store. Data-driven attribution is the default in GA4 and Google Ads and the better choice once you have enough conversions. Last click is easier to explain but favors retargeting, branded search and email. Whatever the model, test your biggest channels with a holdout before moving budget, and judge them on settled revenue.

What attribution models does GA4 support?

Three, in the Attribution reports: data-driven, paid and organic last click, and Google paid channels last click. First click, linear, time decay and position-based are no longer available since November 2023. The default lookback is 30 days for acquisition key events and 90 days for other key events, with shorter options.

Can lift studies and surveys replace attribution modeling?

They answer a different question. Attribution splits credit for sales that happened, every day, for every order. A lift study compares people or regions that saw the ad with a holdout that didn't, so it measures what the ads caused, but only for one test period. Post-purchase surveys add what tracking can't see. Use all three together.

Why do Meta and Google report more sales than my store?

Each platform counts the conversions it can link to its own ads, within its own windows. Meta credits a purchase within 7 days of a click or 1 day of a view; Google credits its own clicks. One order touched by both is counted twice. Your store and your processor count it once.

What is the difference between attribution and marketing mix modeling?

Attribution works at the level of the customer journey: clicks and views linked to each order. Marketing mix modeling works on aggregated weekly spend and sales, with no user-level data, and estimates each channel's contribution, including channels you can't track. Google's Meridian and Meta's Robyn are free open-source MMM packages.

What is multi-touch attribution?

Any model that splits credit for one sale across several touchpoints instead of giving it all to one. Linear, time decay and position-based are rule-based multi-touch models; data-driven attribution is a learned one. Most ecommerce tools that advertise multi-touch attribution build it from their own pixel or server events, linked to your orders.

Sources

Checked October 14, 2026
  1. Google Ads Help, First click, linear, time decay, and position-based attribution models are going away
  2. Google Analytics Help, Get started with attribution
  3. Google Analytics Help, Select attribution settings
  4. Google Ads Help, About attribution models
  5. Google Ads Help, About data-driven attribution
  6. Meta Business Help Centre, About attribution models and attribution settings
  7. Meta for Developers, Lift Study (Conversion Lift)
  8. Google Ads Help, About Conversion Lift
  9. GeoLift, Meta open-source repository (GitHub)
  10. Meridian, Google open-source repository (GitHub)
  11. Robyn, Meta open-source repository (GitHub)
  12. Robyn documentation, Analyst's guide to MMM
  13. Stripe Docs, Refund and cancel payments
  14. Stripe Docs, How disputes work

Tagada

Send paid orders, not page views, to your ad platforms

Funnels, one-click upsells, subscription billing and payment routing, on one customer record.

  1. 01Create your free account
  2. 02Connect your store or build a checkout
  3. 03Launch funnels, upsells and subscriptions