What is marketing attribution?
Marketing attribution is the process of assigning credit for a sale, or another conversion, to the marketing touchpoints that came before it: ads, emails, searches and visits. A rule or a model decides how the credit is split. The result is an allocation of credit, not a measurement of what caused the sale.
Three platforms, three answers, one budget to defend. Your GA4 export already holds the answer, and the first finding is free and never leaves your browser. Get your first finding free
By Joris van Huët, Founder & CEOUpdated 13 min read
Run the numbers for your store: the free email marketing ROI calculator.
Marketing attribution is the process of assigning credit for a sale, or another conversion, to the marketing touchpoints that came before it: ads, emails, searches and visits. A rule or a model decides how the credit is split. The result is an allocation of credit, not a measurement of what caused the sale.
How does marketing attribution work?
In three steps, in every tool.
- Collect the touches. Tags, pixels and link parameters record that a visitor came from an ad, an email or a search.
- Build the path. The tool lines up one buyer's touches inside a lookback window. Google Analytics 4 looks back 90 days by default for a purchase. Meta's standard setting counts a purchase within 1 or 7 days after a link click, or within 1 day after an impression.
- Apply a rule. The attribution model decides which touches on the path get the credit, and how much.
Google's own definition is the plainest one: attribution is "the act of assigning credit for important user actions to different ads, clicks, and factors along the user's path". Credit is a share of sales you already have. Switching models moves the shares around. It never adds or removes a sale.
What is an attribution model?
An attribution model is the rule that splits the credit. Google puts it this way: a model "can be a rule, a set of rules, or a data-driven algorithm that determines how credit is assigned to touchpoints" (Google). There are three families: single-touch rules, multi-touch rules and data-driven models.
What are the different types of attribution models?
| Model | How it splits the credit | What it tends to favour |
|---|---|---|
| Last click | All of it to the final touch before the sale | Whatever closes: branded search, email, Direct |
| Last non-direct click | All of it to the final touch that was not a direct visit | The same closers, with Direct taken out |
| First click | All of it to the first recorded touch | Whatever opens: prospecting ads, social |
| Linear | An equal share to every touch | Channels that show up often on paths |
| Time decay | More to a touch the closer it sits to the sale | Retargeting and email |
| Position-based (U-shaped) | Most to the first and the last touch, the rest shared by the middle | Openers and closers, at the cost of the middle |
| W-shaped | Like U-shaped, with a third weighted point in the middle of the journey | Long journeys with a lead stage, mostly B2B |
| Data-driven | By how much each touch changes the odds of a sale, across many paths | It depends on your data, and only on touches the tool recorded |
The first three are single-touch rules. The next four are multi-touch rules. The last is a model fitted to your own paths.
Fewer of these are on offer than most guides say. Google states that first click, linear, time decay and position-based are no longer available in Google Analytics 4 as of November 2023 and no longer supported in Google Ads. GA4 now has three: data-driven, paid and organic last click, and Google paid channels last click. Shopify's marketing reports still offer rule-based views, among them last non-direct click, first click, linear and any click. A guide that tells you to switch GA4 to time decay is describing a setting that no longer exists.
For a longer comparison of the rules, see attribution models compared.
One order, six answers
An example with invented numbers, to show the mechanics. A buyer clicks a Meta ad on Monday, arrives from an organic search on Wednesday, clicks an email on Friday, then types your address on Saturday and buys for €100.
| Model | Meta ad | Organic search | Direct | |
|---|---|---|---|---|
| Last click | €0 | €0 | €0 | €100 |
| Last non-direct click | €0 | €0 | €100 | €0 |
| First click | €100 | €0 | €0 | €0 |
| Linear | €25 | €25 | €25 | €25 |
| Position-based, set at 40% first, 40% last, 20% middle | €40 | €10 | €10 | €40 |
| Time decay | least | more | more still | most |
One order, one €100, and a different winner in almost every row. No row is wrong. Each one answers "who gets the credit under this rule?". None of them answers "would this buyer have bought without the Meta ad?".
How does a data-driven model decide?
It compares many paths, those that ended in a sale and those that did not, and credits each touch by how much its presence changes the odds. Two methods are common in the published work.
- Shapley value. The channels are treated as a team, and each one is paid its average contribution across every combination of teammates. Google documented its earlier Analytics 360 data-driven model as based on the Shapley value. More in Shapley value attribution, explained.
- Markov chain. Journeys are mapped as steps between channels, and the model asks how many sales disappear when one channel is removed (Anderl and colleagues, 2016). More in Markov chain attribution, explained.
For GA4, Google says its data-driven model uses a counterfactual approach that contrasts what happened with what could have occurred.
All of this is still attribution. The model splits the sales you had among the touches the tool saw. An ad that was seen and never clicked, a friend's tip or a podcast mention never enters the sum.
What can attribution not tell you?
Whether the sale would have happened without the ad. That question has its own name, incrementality, and it needs a comparison group: people or regions that did not get the ad.
When researchers run that comparison, the answer differs from the credit. At eBay, a series of large field experiments found that returns from paid search were "a fraction of non-experimental estimates", and that brand keyword ads had "no measurable short-term benefits" (Blake, Nosko and Tadelis, 2015). The clicks were real. Many of those buyers were coming anyway. A study of advertising experiments on Facebook found that observational methods "often fail to accurately recover" the effect the randomised tests measured (Gordon and colleagues, 2019).
Meta itself now offers a separate incremental attribution model that predicts whether a conversion is caused by an ad. That alone tells you standard attribution answers something else.
Attribution also cannot see anything that left no trail. A friend's tip, a podcast mention or a shop window reaches GA4 later as Direct or a branded search, if at all. Since iOS 14.5, apps also need a user's permission to track them across other companies' apps and websites, so some ad touches are never recorded. The models split the credit among the touches that remain.
And it cannot say whether the credit paid off. Credit is revenue, not profit. At a 40% margin, break-even ROAS is 2.5, because 1 divided by 0.40 is 2.5. A channel can win the attribution contest and still lose money below that line.
Why do the platforms claim more sales than you made?
Because every tool keeps its own books, with its own idea of what counts as a touch. Each platform reports on itself, and none of them subtracts the others.
- Meta's standard setting counts purchases within 1 or 7 days after a link click, and within 1 day after someone only saw the ad.
- Klaviyo's default credits an order to an email opened or clicked in the 5 days before it.
- GA4 looks back 90 days by default for a purchase.
- Shopify even offers an Any click model, which gives 100% of the credit to each channel the customer clicked, so the credits add up to more than the orders.
So one order can count three times. Picture a buyer who saw your Meta ad, opened your email, then typed your address. Meta, Klaviyo and a last-click report's Direct row can each claim that sale. Nobody is lying. Each tool answers its own question. More on this in why platform numbers overcount.
What is Direct, and why is it so large?
Google defines Direct as the channel by which users arrive "via a saved link or by entering your URL". A buyer who types your address heard of you somewhere first. That first contact is the marketing. The typed address is only the last step.
So a large Direct share is a list of buyers whose source the report does not show. GA4's attribution models handle it by giving direct visits no credit unless the whole path was direct. A plain last-click view that counts Direct as a channel hands it the sale instead.
Attribution, marketing mix modelling or an experiment?
They answer different questions. Use the one that fits yours.
| Method | The question it answers | What it needs | Its limit |
|---|---|---|---|
| Attribution | Which recorded touches were on the path to this sale, and how is the credit split? | Click and visit tracking | Credit is not cause, and unrecorded touches are missing |
| Marketing mix modelling | How do sales move when spend per channel moves, over months? | A long history of spend and sales by channel | Slow, and coarse for a small budget |
| Experiment (holdout or geo test) | What happens to sales when a channel goes quiet for a comparable group? | A region or audience you can leave out, and a few weeks | One channel and one period at a time |
| Post-purchase survey | Where do buyers say they heard of you? | One question at checkout | Memory, and who chooses to answer |
Google researchers described the geo version in 2011: ads run in some regions and not in others, and the difference in sales is the effect (Vaver and Koehler). Open-source tools exist for mix modelling, among them Google's Meridian and Meta's Robyn. More in what is marketing mix modeling, geo testing and incrementality testing.
Which attribution model should you use?
Start from the decision, not from the model.
- Most journeys have one touch. Then the model barely matters. One touch leaves nothing to split, and every rule hands it all the credit.
- You are steering bids and creative inside one ad platform. Use that platform's data-driven model, and read it as a ranking inside the platform. It is not proof of sales.
- You are comparing channels with each other. Use one neutral source for all of them, GA4 or your shop system, with one model. Then every channel is counted by the same rule.
- You are deciding a budget. Test the biggest claim with an experiment. Attribution tells you what to test. The test tells you what it was worth.
Three checks you can run this week
- Add up what each tool claims for last month. In Meta Ads Manager, add Purchases conversion value through Columns > Customize columns. In Google Ads, add Conv. value (current model) from the Attribution section of the Columns menu, and note the revenue on Klaviyo's Overview dashboard. Set the sum against Total sales over time in Shopify, under Analytics > Reports with the Category filter on Sales. Pass: the claims add up to less than your sales. Fail: they add up to more, so some orders are counted twice, and no single claim tells you what caused them.
- Check that GA4 holds the sales it splits. In GA4, open Reports > Acquisition > Traffic acquisition for last month and note Total revenue in the totals row. Compare it with gross sales minus discounts in the same Shopify report, since Shopify's Google & YouTube app sends a value without shipping or taxes. Pass: the two are close. Fail: GA4 is far lower, so it misses purchases, and every model is splitting a smaller pie.
- Test the biggest claim. Pick the channel whose own claim sits furthest above the credit GA4 gives it. Pause it in a few regions for four weeks. In Meta, use Audience > Locations at the ad set level; in Google Ads, use Locations in the Campaigns menu. Read the regions in Shopify's Total sales by billing location report. Pass: sales dip where it went quiet, so part of its claim was cause. Fail: nothing moves, so the claim was credit, not cause.
How should you report attribution?
State the model and the window next to every number. A figure without them cannot be compared with anything.
Show three numbers per channel when you have them: what the platform claims, what one neutral model gives it, and what a test showed. Give a tested result as a range, not as a single figure.
Then reconcile the total to the sales in your shop system. If the channel claims add up to more than the sales, say so on the first slide.
Check the homework. Your GA4 Attribution paths export already holds the paths. Causality Engine reads that one file and shows what each channel caused next to what last-click gave it, in 1 to 2 minutes, for €99 once per upload (excluding VAT), with a full refund within 30 days. The first finding is free: which channels sent the buyers GA4 files under Direct. Get your first finding free
Sources, 12 November 2026: Get started with attribution (Google); Select attribution settings (Google); About attribution models (Google Ads); Default channel group (Google); MCF Data-Driven Attribution methodology (Google); About attribution models and attribution settings (Meta); Understanding Klaviyo message attribution (Klaviyo); Marketing reports (Shopify); User privacy and data use (Apple); Consumer Heterogeneity and Paid Search Effectiveness (Blake, Nosko and Tadelis, Econometrica, 2015); A Comparison of Approaches to Advertising Measurement (Gordon, Zettelmeyer, Bhargava and Chapsky, Marketing Science, 2019); Mapping the customer journey (Anderl, Becker, von Wangenheim and Schumann, International Journal of Research in Marketing, 2016); Measuring Ad Effectiveness Using Geo Experiments (Vaver and Koehler, Google, 2011); Shopify event parameters (Google); Customize columns in Meta Ads Manager (Meta); Purchases conversion value (Meta); Sales reports (Shopify); Traffic acquisition report (Google); Target ads to geographic locations (Google); Use location targeting (Meta)
Related answers
Frequently asked questions
What are the different types of marketing attribution models?
Three families. Single-touch rules give all the credit to one touch: last click, last non-direct click or first click. Multi-touch rules share it by position or time: linear, time decay, position-based (U-shaped) and W-shaped. Data-driven models fit the split to your own paths. All of them divide sales you already had.What is an attribution model?
The rule that decides which touches on a buyer's path get the credit for a sale, and how much. Google describes it as a rule, a set of rules, or a data-driven algorithm that determines how credit is assigned to touchpoints. Change the model and the shares move. The number of sales stays the same.Why do marketers use attribution models?
To compare channels by one rule and decide where the next euro goes. A model makes the credit consistent, so this month can be compared with last month. It does not show what would have happened without a channel. For that you need a test with a comparison group.Which attribution model is best?
None is best in general. If most journeys have one touch, every model gives the same answer. Inside one ad platform, its data-driven model is a fair ranking of your campaigns there. Across channels, use one neutral source and one model for all, then test the biggest claim with a holdout.What is the difference between attribution and incrementality?
Attribution splits the credit for sales that happened among the touches that were recorded. Incrementality asks how many of those sales would not have happened without the ad, and needs a comparison group that did not see it. A channel can collect a lot of credit and add few sales.Which attribution models does Google Analytics 4 offer?
Three: data-driven, paid and organic last click, and Google paid channels last click. Google states that first click, linear, time decay and position-based are no longer available as of November 2023. In all three, a direct visit gets no credit unless the whole path was direct.Is marketing attribution the same as tracking?
No. Tracking collects the clicks, visits and orders. Attribution decides which of those touches gets credit for each sale. Tracking is the input: if a click never reaches GA4 with a readable source, no attribution model can credit it, however clever the model is.Why does every ad platform claim more sales than I made?
Because each platform counts by its own rules and window, and none of them subtracts the others. Meta can count a purchase after someone only saw an ad, and Klaviyo can count one after an email was merely opened. The same order can sit in several reports at once.Can attribution work if most of my sales come from Direct?
Only partly. GA4 gives direct visits no credit unless the whole path was direct. A store that sells mostly through Direct has little path data to split. The model you pick then barely matters. Tagging your links and testing channels with holdouts tell you more.
Go deeper: Incrementality testing, explained.
Sixty-second versions of these ideas: Causality Engine on YouTube Shorts.
Have an audience of ecommerce operators? Earn 20% recurring commission by recommending the €99 read.
Keep reading
Terms in this article
- Attribution ModelAn Attribution Model defines how credit for conversions is assigned to marketing touchpoints. It dictates how marketing channels receive credit for sales.
- Causal AttributionCausal Attribution uses causal inference to determine which marketing touchpoints genuinely cause conversions, not just correlate with them.
- CounterfactualA counterfactual is what would have happened under conditions that did not occur, such as a customer's outcome had they not received the campaign they did receive. It is never observed, so every effect estimate has to stand in for it with a control group, comparable units or a forecast.
- Customer journeyCustomer journey is the path and sequence of interactions customers have with a website. Customers use multiple devices and channels, making a consistent experience important.
- Google AnalyticsGoogle Analytics is a web analytics service that tracks and reports website traffic.
- Incrementality TestingIncrementality Testing measures the additional impact of a marketing campaign. It compares exposed and control groups to determine causal effect.
- Marketing AttributionMarketing attribution assigns credit to marketing touchpoints that contribute to a conversion or sale. Causal inference enhances attribution models by identifying true cause-effect relationships.
- Marketing Mix ModelingMarketing Mix Modeling (MMM) is a statistical analysis that estimates the impact of marketing and advertising campaigns on sales. It quantifies each channel's contribution to sales.