← Back to Blogs

Marketing Attribution Models: How Model Choice Drives Budget Decisions

Four attribution models, same data, very different budget advice. First-touch, last-touch, linear and time-decay compared.

Marketing Analytics

Marketing Attribution Models

The attribution problem Core Concept

A customer sees a Display ad on Monday. They search for the product on Wednesday and click an Organic result. They get a retargeting Email on Friday and convert. Which channel gets the credit?

The analogy: A football team scores a goal. The striker put it in the net. But the midfielder set it up. And the goalkeeper's save ten minutes earlier kept the scoreline level so the goal even mattered. Who deserves the credit? Last Touch attribution gives 100% to the striker, ignoring everyone else who made it possible.

This matters because attribution drives budget. If you believe the striker did everything, you pay the striker everything. Attribution models are not a data exercise; they are a spending decision.

Why this is hard

  • Customers interact with multiple channels before converting
  • Channels interact: paid search builds on organic awareness
  • There is no ground truth: causation is unobservable
  • Every model makes a different assumption about causation

Why it matters now more than ever

  • Typical B2C journey: 6–8 touchpoints before conversion
  • Marketing budgets are under pressure: every allocation decision is scrutinised
  • GA4 defaulted to Last Click: most teams inherited a bad model

The four rule-based models Models

Rule-based attribution assigns credit according to a fixed heuristic. No machine learning, just a rule about which touchpoints matter. There are four dominant variants.

First Touch

100% credit to the first channel in the journey. The assumption: awareness is everything; if they never heard of you, they never converted.

Best for: Brand awareness campaigns. Overvalues top-of-funnel.

Last Touch

100% credit to the channel immediately before conversion. The assumption: the closing touch is the only one that converted the customer.

Best for: Direct response. Heavily overvalues closers. Was GA's default for years.

Linear

Equal credit split across every touchpoint in the journey. A 4-touch journey gives 25% to each channel. The assumption: every interaction contributed equally.

Best for: When you genuinely don't know which touchpoints matter most. A fair starting baseline.

Time Decay

More credit to touchpoints closer to conversion, decaying exponentially backwards. Uses a half-life, typically 7 days, so a touchpoint 7 days before conversion gets half the weight of one the day before.

Best for: Short sales cycles where recency signals intent. Undervalues awareness.

The time decay formula: weight = 2(-days_before_conversion / half_life). At half_life = 7: a touchpoint 7 days before conversion gets weight 0.5. At 14 days: 0.25. At 0 days: 1.0.

Implementation in Python Python

Each model is a function that takes a dataframe of journeys and returns a dictionary of channel → revenue credit. The key design: separate the credit calculation from the revenue aggregation.

# Each journey = one row per touchpoint
# user_id | touchpoint_order | channel | timestamp | converted | conversion_value

# Helper: map credit weights to revenue
def credits_to_revenue(credit_series, user_value):
    result = {ch: 0.0 for ch in channels}
    for uid, weights in credit_series.items():
        val = user_value.get(uid, 0)
        for ch, w in weights.items():
            result[ch] += w * val
    return pd.Series(result)
# First Touch: one line of logic
def first_touch(jdf):
    first = jdf.sort_values('touchpoint_order').groupby('user_id').first()['channel']
    return credits_to_revenue(first.apply(lambda ch: {ch: 1.0}), user_value)

# Linear: split evenly across all touches
def linear(jdf):
    def even_split(group):
        chs = group.sort_values('touchpoint_order')['channel'].tolist()
        w   = 1.0 / len(chs)
        d   = {}
        for ch in chs:
            d[ch] = d.get(ch, 0) + w
        return d
    return credits_to_revenue(jdf.groupby('user_id').apply(even_split), user_value)
# Time Decay: exponential weight toward conversion
def time_decay(jdf, half_life=7):
    def decay_split(group):
        group   = group.sort_values('timestamp')
        last_ts = group['timestamp'].iloc[-1]
        days    = [(last_ts - ts).total_seconds() / 86400
                   for ts in group['timestamp']]
        weights = [2 ** (-d / half_life) for d in days]
        total   = sum(weights)
        d = {}
        for ch, w in zip(group['channel'], weights):
            d[ch] = d.get(ch, 0) + w / total
        return d
    return credits_to_revenue(jdf.groupby('user_id').apply(decay_split), user_value)

Common implementation mistake

When a user touches the same channel multiple times in one journey (e.g. Paid Search twice), you must sum the weights for that channel, not overwrite them. The d[ch] = d.get(ch, 0) + w pattern handles this correctly.

Budget implications Business Impact

The point of running four models isn't to pick the "right" one; it's to understand the range of budget recommendations they produce. The divergence is the insight.

# From the analysis: $100K budget allocation
# Channel        First Touch  Last Touch   Linear   Time Decay
# Paid Search      $26,800     $27,700    $26,500    $26,400
# Organic          $18,500     $16,900    $19,200    $18,600
# Email            $21,600     $20,900    $20,800    $21,000
# Social           $14,500     $14,500    $13,900    $14,200
# Direct           $10,200     $10,900    $10,800    $11,000
# Display           $8,300      $9,000     $8,900     $8,800
The key finding: Last Touch undervalues Organic by $2,300 per $100K spend compared to Linear, because Organic consistently starts journeys but rarely closes them. Scale that to a $1M annual budget: $23,000 per year flows away from a channel doing real work, toward channels that just happen to appear last.

Where Last Touch systematically misleads

  • Undervalues Organic: great at starting journeys, poor at closing
  • Overvalues Paid Search: appears frequently at journey end
  • Undervalues Email: mid-funnel workhorse, not a closer
  • Overvalues Display retargeting: last ad before conversion

How to use this in practice

  • Run all four models before any budget review
  • Flag channels where models disagree by more than 20%
  • Treat disagreement as a signal to run an incrementality test
  • Never present a single model as ground truth to stakeholders

Limits of rule-based attribution Critical Thinking

Rule-based models are useful baselines, but they share a fundamental flaw: they measure correlation, not causation. Knowing a channel appeared in converting journeys does not mean it caused the conversion.

What rule-based models cannot tell you

  • Whether the customer would have converted without a given touchpoint
  • Whether channels interact: e.g. paid search amplifying organic intent
  • The counterfactual: what happens if you cut a channel's budget

What comes next

  • Data-driven attribution: uses Shapley values to distribute credit based on observed conversion uplift
  • Geo holdout tests: turn off a channel in one region, compare to control
  • Media Mix Modelling (MMM): regression-based, handles cross-channel effects

Attribution vs incrementality

Attribution tells you which channels appear in converting journeys. Incrementality tells you which channels caused conversions. You need both. Attribution without incrementality testing is like measuring foot traffic without knowing if people actually bought anything.

Decision framework Framework

Which model should you use? The answer depends on your sales cycle and what decision you're trying to make.

Is this a brand awareness or performance question?
→
Awareness → First Touch. Performance → Last Touch or Time Decay.
Don't use the same model to evaluate both; they answer different questions.
Is your sales cycle short (<7 days) or long (>30 days)?
→
Short → Time Decay (recency matters). Long → Linear or data-driven (every touch matters equally).
Do models disagree by more than 20% on a channel?
→
Run an incrementality test before making a budget decision. The models are telling you they're uncertain.
Model disagreement is signal, not noise. Investigate before acting.
Is a channel's LTV:CAC below 1× regardless of model?
→
Cut or pause the channel. Model choice doesn't matter; the unit economics are broken regardless of how you attribute credit.

Simplicity vs accuracy

Last Touch is simple and wrong. Data-driven attribution is accurate but requires large data volumes and machine learning. Linear is neither, but it's honest about its uncertainty, which is a valid property. Choose based on data volume and decision stakes.

Resources: Marketing Attribution

Free
GA4 data-driven attribution explained

Google's documentation on how data-driven attribution works in GA4.

Free
Think With Google: Attribution

Practical frameworks for choosing attribution models.

Paper
Shapley value attribution (arXiv)

The theory behind data-driven attribution, cooperative game theory applied to marketing.