Skip to content

Revenue

Marketing attribution models explained, with one example worked through every model

First touch, last touch, linear, time decay, U-shaped and W-shaped attribution run on one $500 customer journey, plus what data-driven models need.

The CrispStats team · · 10 min read

In short

Marketing attribution is the practice of deciding which marketing touchpoints get credit for a sale, and an attribution model is the rule that splits that credit. Single-touch models give everything to one visit (first touch, last touch, last non-direct), rule-based multi-touch models split it by a fixed formula (linear, time decay, U-shaped, W-shaped), and data-driven models learn the split from many converting and non-converting paths. Run the same journey through each and the winning channel changes, so pick the model that matches the decision you are making.

Most explanations of attribution models describe each one in the abstract and draw a different diagram for each. That hides the one thing worth seeing: the customer, the visits and the money stay the same, and only the rule changes. This guide uses a single journey and runs it through every common model, so you can watch the credit move.

If you only need the difference between the two simplest models, the shorter first touch vs last touch guide covers that and the checkout plumbing. This page covers the whole family.

What is marketing attribution?

Marketing attribution is assigning the value of a conversion (a signup, a sale, a subscription) to the marketing touchpoints that came before it. A touchpoint is anything you can record: a visit from search, a click in a newsletter, an ad click, a post on a social network. The rule that turns a list of touchpoints into a split of the credit is the attribution model.

Attribution answers a budgeting question: if a channel had not been there, would this money still have arrived? No model answers that exactly. Each model is a simplification you choose, and the useful skill is knowing what each simplification hides.

The example journey

One customer, five visits over ten days, one purchase of $500:

The journey every model below is applied to.
DayVisitChannelWhat happened
1Finds a blog post through GoogleOrganic searchReads, leaves
4Clicks a post on LinkedInSocialReads the features page
8Clicks a link in your newsletterEmailSigns up for a free account
9Clicks a search ad for your brandPaid searchLooks at pricing
10Types your addressDirectBuys the $500 plan

Every model below gets exactly this input. All amounts are in dollars and add up to $500 in every row.

Single-touch models

Single-touch models hand all of the credit to one visit. They are easy to explain and easy to compute, and they are blunt.

First touch

First touch gives everything to the visit that introduced the customer. Organic search gets $500. It answers: which channels bring in people who later pay?

Last touch

Last touch gives everything to the visit in which the purchase happened. Direct gets $500. It answers: what was the customer doing at the moment they paid? Here the answer is “typing our address”, which tells you nothing you can buy more of.

Last non-direct touch

Last non-direct touch skips direct visits and credits the last visit that had a known source. Paid search gets $500. This is the rule behind Google Analytics 4’s “paid and organic last click” model, which Google’s attribution help page also calls last non-direct click. It fixes the uselessness of a direct last touch, and it tends to reward brand search ads, which often catch people who had already decided.

Rule-based multi-touch models

Multi-touch models split the credit across every recorded visit by a fixed formula. They feel fairer. The formula is still a choice, not a measurement, and the multi-touch attribution guide covers what you need in place before the numbers mean anything. Multi-touch attribution has a short definition in the glossary.

Linear

Every visit gets an equal share. Five visits, so each channel gets $100. The glossary entry on linear attribution has the formula.

Time decay

Visits closer to the purchase get more. A common way to define it is a half-life: a visit seven days before the purchase gets half the weight of a visit on the day itself. With a seven-day half-life the weights are 0.41, 0.55, 0.82, 0.91 and 1.00 for days 1, 4, 8, 9 and 10. Each weight divided by their sum (3.69) is that visit’s share, which works out to $55.60, $74.84, $111.21, $122.79 and $135.56, rounded to the cent. The half-life is yours to pick: a shorter one pushes the result toward last touch, a longer one toward linear. See time decay attribution for the formula.

Position-based (U-shaped)

The first and last visits get 40% each and the visits in between share the remaining 20%. Organic search gets $200, direct gets $200, and social, email and paid search get $33.33 each. It encodes a belief that introducing and closing matter most. The glossary calls it position-based attribution.

W-shaped

Three moments get 30% each: the first visit, the visit where the person became a lead (here, the email visit where they signed up), and the last visit. The remaining 10% is shared by the others. Organic search, email and direct get $150 each; social and paid search get $25 each. It suits products with a clear signup step before a sale.

How does the credit move? All models side by side

One $500 purchase, seven rules. Rows add up to $500; time decay is rounded to the cent.
ModelOrganic searchSocialEmailPaid searchDirect
First touch$500$0$0$0$0
Last touch$0$0$0$0$500
Last non-direct touch$0$0$0$500$0
Linear$100$100$100$100$100
Time decay (7-day half-life)$55.60$74.84$111.21$122.79$135.56
U-shaped (40/20/40)$200$33.33$33.33$33.33$200
W-shaped (30/30/30, 10 shared)$150$25$150$25$150

Read the columns rather than the rows and the pattern is clear:

  • Organic search ranges from $0 to $500. It is the discovery channel, so only models that value the first visit reward it.
  • Paid search ranges from $0 to $500, and its $500 comes from one model, last non-direct touch. If that is the model your ad platform reports with, its numbers will look better than any other view of the same sale.
  • Social never gets more than $100. A middle touch is close to invisible under every rule except linear, which is why some reports count assisted conversions as well.
  • Direct gets $500 under plain last touch and $0 under last non-direct, from the same visit.

What is data-driven attribution?

Data-driven attribution, also called algorithmic attribution, does not use a fixed formula. It looks at many paths, both those that ended in a conversion and those that did not, and estimates how much each touchpoint raised the chance of converting. Common methods are Shapley values, borrowed from game theory, and Markov chains, which measure how often conversions drop when a channel is removed from the paths.

You cannot run data-driven attribution on the example above, because one journey says nothing about what would have happened without a step. It needs volume: many conversions and many non-converting paths per channel. Google describes its own version on the GA4 attribution page: it compares what happened with what would likely have happened without a given interaction, and weighs factors such as time before the conversion, device type and the order of exposures.

Two caveats. The model is only as complete as the touchpoints it can see, and an ad platform’s model sees that platform’s interactions best. And it is still correlational: it learns which paths tend to convert, not which ads caused the conversion.

Which attribution models does Google Analytics 4 offer?

Since November 2023, GA4 offers three: data-driven, paid and organic last click, and Google paid channels last click. Google removed first click, linear, time decay and position-based from both Google Ads and Google Analytics that year; Google’s notice in the Ads help center explains the change and the GA4 attribution page lists the models that remain. If you want to compare rule-based models today, you compute them yourself from raw visit data or use a tool that does.

What about marketing mix modelling and lift tests?

Attribution models work at the level of individual journeys. Two other methods work at a higher level and are worth knowing because they answer the causal question more directly.

  • Marketing mix modelling (MMM) is a regression over weekly or daily totals: spend per channel, seasonality, price changes, against sales. It needs no user-level tracking, and it needs a long history and real budget variation to say anything.
  • Incrementality or lift tests switch a channel off (or on) for a random part of the audience or a set of regions and measure the difference. They are the closest thing to a true answer for one channel at one time, and they cost you the sales you hold back.

For a small team, a lift test can be as simple as pausing a campaign for two weeks and watching total signups, not the campaign’s own report.

Which attribution model should you use?

Which attribution model should you use?
Your decisionModel to readWhy
Where to find new customersFirst touchRewards the channels that introduce people
Whether the last step works (pricing, email sequence, checkout)Last touch or last non-directShows what was happening when people paid
How a long, multi-visit sales cycle worksU-shaped or W-shapedKeeps both ends visible and gives the lead step weight
Budget across many paid channels with high volumeData-driven, checked against a lift testLearns weights from data rather than assuming them
Whether a channel causes sales at allA lift testThe only method here that measures cause

Most small teams do best with two views: first touch for acquisition decisions and last touch as a second opinion. When the two disagree sharply for a channel, that is information. And compare channels on revenue per visitor, not totals, which the guide on finding the channel that drives revenue works through.

How CrispStats attributes revenue

CrispStats uses one model: first touch. Each payment arriving from a connected provider is credited to the first visit known for that visitor, with its source, channel, campaign and landing page, and the report shows revenue and revenue per visitor next to every source. The customer view also shows the number of visits and the days between first visit and payment, so you can see how long paths are without changing the credit.

It does not offer last touch, linear, time decay, position-based or data-driven models, and it does not compare models side by side. Visitors are recognised by a hash that rotates daily unless you identify signed-in users with your own id, so a path that spans several days and devices is shorter than the real one. If you need rule-based multi-touch models, you have to compute them outside the product. Setup is in the revenue attribution overview and the revenue docs; the page on marketing attribution software says when a dedicated multi-touch platform is the better fit.

Guide questions. Straight answers.

What people ask after reading this.

  • Single-touch models (first touch, last touch, last non-direct touch) give all credit to one visit. Rule-based multi-touch models (linear, time decay, U-shaped, W-shaped) split it by a fixed formula. Data-driven models learn the split from many converting and non-converting paths.

  • U-shaped gives 40% to the first visit, 40% to the last and shares 20% among the rest. W-shaped adds a third milestone, usually the visit where someone became a lead or signed up, and gives 30% each to first, lead and last visits, sharing the remaining 10%.

  • A model that learns how to split credit instead of using a fixed formula. It compares paths that converted with paths that did not and estimates how much each touchpoint raised the chance of converting. Google Analytics 4 and Google Ads both offer it, and it needs many conversions to learn anything.

  • It can fit your data better than a fixed formula when you have many conversions and see most touchpoints. It is still based on correlation, it only sees the touchpoints it can record, and an ad platform's own model sees its own ads best. Check it against a lift test before moving budget on its numbers alone.

  • Google retired first click, linear, time decay and position-based models in Google Ads and Google Analytics 4 in 2023, saying rule-based models do not adapt to changing customer journeys and were used for under 3% of Google Ads web conversions. Conversion actions still on those models were switched to data-driven attribution, and last click options remain.

  • Usually first touch for deciding where to find new customers, read alongside last touch as a second opinion. Multi-touch and data-driven models need long, reliable visit histories per person and enough volume, which small sites rarely have.

Not answered here? Write to hello@crispstats.com

Go further

Free tools

  • Revenue per visitor calculator

    Enter visitors, conversion rate and average order value to get revenue per visitor, monthly revenue, and what a 10% improvement is worth.

  • CAC calculator

    Calculate customer acquisition cost from marketing and sales spend and new customers, then see how many months of margin it takes to earn that cost back.

  • Conversion rate calculator

    Work out your conversion rate from visitors and conversions: conversions ÷ visitors × 100.

Use cases

  • CrispStats for SaaS

    See which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.

  • CrispStats for ecommerce

    Tie orders to the campaign, page and source they came from, find where checkout loses people, and watch page speed, without cookies.

  • CrispStats for indie hackers

    Traffic, revenue by source, uptime and errors for every side project in one dashboard.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.