JEEKSSHIRE 24

Marketing attribution models: how to split the value of a sale between ad channels

An attribution model is the rule that splits the value of a sale between the ad touchpoints a customer had before buying. First-click gives all the credit to the channel that brought the person in, last-click to the channel right before the purchase, linear splits it evenly, time decay favours recent touchpoints, position-based highlights the first and last, and data-driven calculates shares from accumulated data. There is no universally correct model: the choice depends on the length of the sales cycle and the number of channels. The key is to store every touchpoint so you can look at the same sales through different models.

Open the software development page

What attribution is and why decisions depend on it

Customers rarely buy after the first contact. Someone might see a video on social media, find the company in search a week later, subscribe to a newsletter and finally place an order after coming to the site directly. Each of those channels cost money, and the question is which one gets credit for the sale.

An attribution model answers that question with a rule chosen in advance. The rule determines which channel looks profitable in the report and which looks like a loss, and therefore where the marketer moves the budget next month. The same sales look different under different models, and that is not a data error but different answers to different questions.

An attribution model does not replace end-to-end analytics; it sits on top of it. First you need to collect the customer journey from ad to payment, which is covered in the guide to end-to-end analytics. This guide is about the next step: how to split the value of a sale between touchpoints you have already collected.

The main attribution models

ModelHow it assigns valueWhen it helpsWeak spot
First clickAll of it to the first channel that brought the customerJudging channels that bring new audiencesIgnores what led to the purchase
Last clickAll of it to the last channel before the purchaseShort journeys, impulse buysUndervalues awareness channels
Last non-direct clickAll of it to the last channel, excluding direct visitsA simple baseline for most reportsSame biases as last click
LinearEvenly across all touchpointsLong journeys where every step mattersTreats key and incidental touches alike
Time decayMore to touchpoints closer to the purchaseShort promotions and sale periodsGives little weight to the first contact
Position-basedA large share to first and last, the rest to the middleWhen both discovery and closing matterProportions are set manually
Data-drivenShares calculated from journeys with and without a purchaseMany conversions and channelsNeeds volume, logic is opaque

Last non-direct click is often the default in web analytics reports: a direct visit usually means the person already knew the company, so the sale goes to the previous source. For position-based attribution a common split gives two fifths of the value each to the first and last touchpoints and shares the remaining fifth among the middle ones, but you can adjust it to your business.

Example: one customer journey in different models

Take a journey with four touchpoints: a video ad on social media, then a search ad, then a newsletter email and finally a direct visit to the site with a purchase.

If you only look at last click, social media videos seem useless and you are tempted to switch them off. But a few weeks later the number of people who even hear about the company may drop, followed by newsletter sales. That is why it helps to compare at least two models: one that credits discovery and one that credits closing.

How to choose an attribution model

The choice depends on how your sales work, not on fashion. A few questions that help:

A practical approach is to pick one main model for regular reports and budgeting and keep one or two others for comparison. If a channel looks good in every model, you can scale it; if only in one, it is worth finding out exactly what it is being credited for.

Data-driven attribution: requirements and limits

A data-driven model compares journeys that ended in a purchase with journeys that did not and estimates how much the presence of each channel changes the likelihood of buying. It sounds like the best option, but it has requirements.

  1. Volume. You need enough conversions and journeys for each channel, otherwise the shares jump from week to week.
  2. Completeness. The model sees only touchpoints that reached the system. Calls, offline meetings and untagged visits do not exist for it.
  3. Consent. If some visitors declined cookies, their journeys are missing, and the model learns from an incomplete sample.
  4. Transparency. How a share was calculated is usually not visible; explaining to a manager why a channel got that much is harder than with simple models.

So data-driven works well for companies with a large flow of orders and careful tagging. A small business usually gets more from a clear model and an honest comparison of two or three simple rules.

Why every system counts differently

Ad accounts, web analytics and the CRM almost never show the same picture. Each platform sees only its own touchpoints and tends to credit the sale to itself: if a customer saw ads in two ad systems, both may record the purchase. That is why the sum of conversions across all accounts is often higher than the real number of orders.

Attribution windows differ too: one system counts clicks over the last few weeks, another also counts views without a click. Figures from different ad accounts cannot be compared directly.

The solution is to keep one reference attribution in your own analytics or data warehouse and reconcile the ad accounts against it. Let the ad accounts do their job of optimising delivery inside their platform, and make decisions about splitting the budget between platforms using your own model. How to connect spending with results by creative is covered in the guide to ad creative metrics.

How to build attribution into end-to-end analytics

Attribution is a calculation on top of data, and it cannot be more accurate than the data itself. Most of the work happens in the development of the website, app and integrations:

If the full customer journey is stored, you can switch models at any time without losing history. If only the last source is kept, other models can no longer be calculated. Apps add in-product events on top of this, covered in the guide to product analytics for apps.

Limits: attribution shows association, not cause

Any attribution model splits value between touchpoints but does not prove that the sale would not have happened without a particular channel. A customer who searched for the company by name would have bought without the search ad, yet the model still credits that ad.

To check a channel's real contribution, companies run experiments: part of the audience or some regions do not see the ads, and the results are compared with those who did. Such tests are harder and more expensive, but they answer a question attribution does not, namely how many sales the channel added. Good practice is to rely on an attribution model day to day and periodically test the large channels with an experiment.

How we approach attribution at JEEKSSHIRE 24

We plan analytics at the design stage: we store the touchpoint history, pass the customer ID into leads and the CRM, count purchases on the server and keep raw data so the client can view sales through different models. Trackers are connected with user consent in mind.

We start by reviewing the current setup: which channels exist, where data is lost and which model the reports use today. Timing and cost come after that. More on the web app development and business process automation pages; all areas are on the custom software development page.

Frequently asked questions

What is an attribution model in simple terms?

It is the rule that credits a sale to the ad channels the customer encountered before buying: all of it to one channel or in parts to several.

Which attribution model is best?

There is no universal best. Last non-direct click suits short journeys, linear or position-based suits long ones, and data-driven suits large data volumes.

How does first click differ from last click?

First click credits the sale to the channel that introduced the customer to the company, last click to the channel after which the customer bought.

Why do ad accounts show more sales than actually happened?

Each platform sees its own touchpoints and credits the purchase to itself. If a customer saw ads in several systems, one sale ends up in each report.

Can you change the attribution model retroactively?

Yes, if the history of all customer touchpoints is stored. If only the last source was kept, past sales cannot be recalculated in another model.

Does a small business need data-driven attribution?

Usually not: it needs a lot of conversions. On a small volume a simple model compared with one or two others is more useful.

Does attribution prove that advertising produced a sale?

No, it splits value but does not prove cause. A channel's real contribution is checked with experiments that use a control group.

IP geolocation by DB-IP