Sub topic 13
Attribution Basics and Their Limits
This chapter assumes you know what a conversion is and have chosen metrics for each channel. Attribution is the practice of deciding which marketing touchpoints get credit for a conversion. You need it because a buyer rarely acts after one contact. A person might read a blog post, see a social ad, open an email, and then click a search ad before buying.
Why attribution matters for the mix
Budget allocation depends on knowing which channels produce customers. If your credit rules favor one channel, you will move money toward it, whether or not it deserves the money. Attribution is therefore an input to the review cycle, and its errors carry into your budget.
Common attribution models
A model is a rule for splitting credit across the touchpoints in a customer's path.
| Model | How it assigns credit | Tends to favor |
|---|---|---|
| First touch | All credit to the first interaction | Awareness channels such as SEO and social |
| Last touch | All credit to the final interaction before conversion | Channels close to purchase, such as search ads and email |
| Linear | Equal credit to every touchpoint | Long paths with many channels |
Consider a customer who finds you through an SEO article, clicks a social ad, then buys after a search ad. First touch credits SEO. Last touch credits search ads. Linear gives each channel one third.
A simple calculation
The code below applies the three models to the same path and totals credit per channel.
path = ["seo_content", "social_ads", "search_ads"]
def first_touch(path):
return {path[0]: 1.0}
def last_touch(path):
return {path[-1]: 1.0}
def linear(path):
share = 1 / len(path)
credit = {}
for channel in path:
credit[channel] = credit.get(channel, 0) + share
return credit
for model in (first_touch, last_touch, linear):
print(model.__name__, model(path))The same sale produces three different answers. None of them is wrong, because each is a rule and not a measurement of cause.
Limits you should plan around
- Missing touchpoints. Offline contacts, word of mouth, and untracked devices do not appear in the data.
- Correlation is not cause. A search ad may get credit for a sale that would have happened anyway, for example when the buyer was already searching for your brand.
- Privacy rules. Consent requirements and browser limits on tracking reduce how much of a path you can see.
- Long sales cycles. If a purchase takes months, recent data undercounts the channels that started the journey.
Matching the approach to the goal
Match the level of attribution effort to the goal and the budget. For an awareness goal, first touch plus reach metrics is often enough. For a direct sales goal, last touch is a reasonable starting point, but compare it with at least one other model. When a decision is large, use a test with a holdout group, which is a set of people who do not see the campaign. The gap in conversions between the exposed group and the holdout group estimates the real effect better than any credit rule.
When two models disagree about a channel, treat that as a reason to run a test and not a reason to pick the model you like.
Exercise
A customer reads an SEO article, opens an email, and then buys after clicking a search ad. Under last-touch attribution, which channel gets credit? Under linear attribution, how much credit does email get?
Show answer
Search ads get all the credit under last touch. Under linear attribution, email gets one third (about 0.33), because the path has three touchpoints.
Exercise
Last-touch reports show social ads with very few conversions. Before cutting its budget, what should you check or do?
Show answer
Check whether social ads often appear earlier in customer paths, for example with first-touch or linear reports. Then, if the decision is large, run a holdout test to measure the channel's actual effect.