Skip to content

Marketing attribution with GA4: the guide after the retired models

Guide

By Boris Parov20 min read

Lire cet article en français

GA4 attribution models shrank to "data-driven" and last click in November 2023. The BigQuery export carries neither model's credit. Marketing attribution with GA4 now means rebuilding first click, linear, time decay, and position-based yourself, on raw events. On Google's public sample, those rebuilt models move 98 conversions between organic search and referral in one month.

QuestionWhere the answer is
Which models did GA4 remove, and can I get them back?Which attribution models GA4 removed, and how to recompute them
Can I read the "data-driven" credit in BigQuery?GA4 "data-driven" attribution: what it does, and what it doesn't export
Why did the attribution deck stop matching the numbers?Why your attribution study is already stale
Two models disagree on a channel: which one is right?Five attribution models, one filter: reading the gaps between models
How do I build multi-touch attribution on the export?Building multi-touch attribution on the GA4 export in SQL
Which channel sequences end in a purchase?Conversion paths: the channel sequences that end in a purchase
How many days and sessions before a visitor buys?Time to conversion: how many days and sessions before a purchase
Should I move to Markov or Shapley?Markov and Shapley attribution: what they add, and when data runs short
Attribution, MMM, or incrementality tests?Attribution, MMM, incrementality: three answers to three questions
Is last click good enough?Last click attribution limits: incomplete, not wrong

Which GA4 attribution models remain, and which are gone

Google Analytics 4 (GA4) offers three attribution settings today. They are "data-driven", paid and organic last click, and Google paid channels last click. Four rule-based models left the interface in November 2023: first click, linear, time decay, and position-based. Google's documentation states they are no longer available as of that month.

The change matters less for what it removes than for what it leaves. Every remaining model is either a black box or a last-click rule. A marketing director can no longer click to see what first click says about a brand campaign. The raw export is the only place where that comparison still exists. It exists there only as SQL you write and keep. Three questions follow. What was removed? What does the surviving model do? And why is last click a starting point rather than a verdict?

November 2023: four models retired

GA4 retired first click, linear, time decay, and position-based attribution in November 2023. In Google Ads, the retirement also covered the model comparison report. It followed a schedule Google announced in April 2023. Google Ads first stopped conversion actions from selecting the four models, then switched the remaining ones to "data-driven". GA4's documentation gives a single date for its own removal: November 2023.

The practical effect is a loss of comparison, not of data. Nothing was deleted from your events; the interface simply stopped computing four arithmetic rules on them. Those rules are documented, deterministic, and short. First click gives all credit to the first touchpoint of the path. Linear splits it evenly. Time decay halves the credit every seven days of distance from the conversion. Position-based gives 40% to the first and last touchpoints and shares 20% among the rest. Each rule fits in one SQL expression once the path is reconstructed.

Rebuilding them is therefore a data-engineering task, not a modeling one. The hard part is the path. Which sessions belong to the same person, in which order, within which window? The arithmetic follows. The benefit of rebuilding is also larger than the interface ever offered. Four models computed in SQL accept any filter the export supports: country, device, landing page, product category. The interface compared models on one dimension at a time. Which attribution models GA4 removed, and how to recompute them walks through each rule and its SQL expression.

"Data-driven" attribution: what it does, and what it doesn't export

GA4 "data-driven" attribution assigns credit by comparing conversion probability with and without each touchpoint. That credit never reaches BigQuery. Google describes the method as counterfactual: the model contrasts what happened with what could have occurred. The difference is attributed to the touchpoints present. The weights are specific to each property and are not published.

The export tells a different story. Each event row carries the user's first acquisition source in the traffic_source record. Newer exports add a session_traffic_source_last_click record with the session's last-click source. Neither record contains a fractional credit, a model weight, or a path. The public sample used in this guide predates the session record. The queries in this guide therefore rebuild the session source from event_params.

Two consequences follow. First, a Power BI report fed by the export cannot display "data-driven" numbers. It can display last click exactly, and every rule-based model you decide to compute. Second, the "data-driven" figures in the interface cannot be audited against the export line by line. Treat them as one opinion among several, with a known owner. GA4 "data-driven" attribution: what it does, and what it doesn't export details what the record fields contain and what they omit.

Last click isn't wrong, it's incomplete

Last click is an exact rule that answers one question: which session closed the purchase. The question is legitimate, and the rule is auditable to the row. Its weakness is coverage, not accuracy. On the public sample, January 2021, 536 of 1,115 purchase sessions had a prior session within 14 days. Last click ignores every one of those prior sessions.

GA4's own last click is not the plain rule. Google's documentation says paid and organic last click ignores direct traffic, unless the whole path is direct. It is therefore a last non-direct click. This guide reports both: plain last click, direct included, and last non-direct click, the closest match to GA4.

The bias has a direction. Channels that open paths lose credit; channels that close them gain it. Organic search on the sample moves from 447 conversions under first click to 349 under plain last click. Referral moves the other way, from 488 to 624. Direct falls from 105 to 62. It falls again to 32 once last non-direct click hands the direct closers to the touchpoint before them.

None of these numbers is the true one. Each answers a different question about the same 1,115 purchases. A report that shows only last click is not lying. It answers the closing question and stays silent on the opening one. Last click attribution limits: incomplete, not wrong shows how to read a last-click table with that silence in mind.

Why an attribution study goes stale

An attribution study goes stale because its inputs change faster than its delivery cycle. The media mix, the channel mapping, the site, and the conversion definition all move within a quarter. The study was computed once, on an extract frozen at a date. Each conclusion is accurate for that extract and for nothing after it.

The format is the problem, not the people who produce it. A one-off analysis has to pick one period and one channel grouping. It also fixes one set of models and one lookback window. Every question that arrives later needs a new extract and a new engagement. What about Spain, what about mobile, what about the campaign that launched after the extract? The deliverable cannot be filtered because it is a document, not a query.

Three signals tell you a study has aged out. The channel grouping no longer matches the current campaign naming, so new campaigns fall into "other". The conversion count in the study no longer reconciles with the interface for the same month. And the study's recommendation is being quoted without anyone able to rerun it. The public sample shows the first signal in miniature. A grouping built in December 2020 would miss the Newsletter_January_2021 email source that appears the next month.

The alternative is a model that runs as code against the export. It runs on every day's data, with the same definitions. The study becomes a page that you filter instead of a deck that you commission. Why your attribution study is already stale measures how those inputs drift on the public sample.

Five attribution models, the same conversions

Five rule-based attribution models can be computed on the same 1,115 purchase sessions of the public sample. They agree on the total and disagree on every channel.

A conversion, in this guide, is a purchase session: a session that contains at least one purchase event. January 2021 holds 1,115 of them on the public sample, against 1,204 purchase events and 894 distinct transaction IDs. The session avoids both double-counted events and purchases without a usable ID.

An attribution model is a rule that distributes the credit for one conversion across the touchpoints that preceded it. The credits of all touchpoints in a path sum to exactly one conversion, whatever the rule. The rule is arithmetic; the disagreement between rules is information. This section defines the five rules and shows how to read their gaps. It also sets the windows that bound them.

First click, last non-direct click, linear, time decay, and position-based

Each of the five models is a short formula applied to a time-ordered path of n touchpoints. The formulas share one property: they conserve the conversion. Whatever the rule, the credits across one path add up to one. That property is what makes the models comparable on the same table, channel by channel, with identical totals. The table gives the rule, the question it answers, and the channel type it favors.

ModelRule for a path of n touchpointsQuestion it answersFavors
First click100% to position 1Which channel opened the relationship?Prospecting channels
Last non-direct click100% to the last touchpoint that is not directWhich marketing action closed the sale?Closing channels
Linear1/n to each touchpointWhich channels were present at all?Channels present in long paths
Time decayWeight 0.5^(days before conversion / 7), normalizedWhich channels acted close to the purchase?Late channels, retargeting
Position-based40% first, 40% last, 20% shared among the middleWho opened and who closed, with the middle acknowledged?Both ends of the path

Plain last click is the sixth column in the results: 100% to position n, direct included. It is not the model GA4 kept. GA4's paid and organic last click ignores direct unless the whole path is direct. It matches the last non-direct click column. That column differs from plain last click only when the closing session is direct. The credit then moves to the previous non-direct touchpoint.

On single-touch paths, every model gives the same answer. A site with mostly one-session purchases therefore sees small gaps between models. Google's retired time-decay model used a half-life of seven days. That half-life is a parameter, not a law. A one-day half-life turns time decay into last click. A one-year half-life turns it into linear.

Reading the gaps between models

The gap between two models on one channel measures that channel's position in paths, not its value. A channel that gains credit from last click to first click opens paths. A channel that loses credit closes them. Equal credit under every model means single-touch paths, or a seat in the middle of long ones.

On the public sample, January 2021, organic search earns 447 conversions under first click. It earns 349 under plain last click. The difference is 98 conversions, or 28.1% of its last-click figure. Referral earns 488 under first click and 624 under last click. The sample's referral traffic includes the store's own checkout domain, a tracking defect common on real properties. The gap still shows how a closing channel absorbs credit. Direct is the clearest case: 105 under first click, 62 under last click, 32 under last non-direct click.

The decision rule follows the question. To size a prospecting budget, read first click or position-based. To judge a closing channel such as branded search or email, read last non-direct click or time decay. To check whether a channel matters at all, read linear. Reading the five columns side by side with one filter is what the interface stopped offering. The filter is the point. A gap that holds on desktop and vanishes on mobile differs from a gap that holds everywhere. Five attribution models, one filter: reading the gaps between models turns these gaps into a reading grid.

Attribution and lookback windows

A lookback window is the maximum delay between a touchpoint and a conversion for that touchpoint to receive credit. It is counted backward from the conversion. GA4 uses 30 days by default for the acquisition key events first_open and first_visit, with a 7-day option. It uses 90 days for every other key event, with 30 and 60 days as options.

The window changes the model's answer as much as the rule does. A short window trims long paths down to their closing sessions and pushes every model toward last click. A long window adds early touchpoints and pushes credit toward prospecting channels. The queries in this guide use a 14-day window on the public sample. That value keeps each query under 1 GB billed; it is a parameter to set once and keep.

Two other windows hide in any attribution table. The conversion window selects which purchases are counted, here January 2021. The data window must start one lookback before the first conversion, here December 18, 2020. A query that bounds both windows on the same date truncates the paths of the first conversions. It does so silently, and it inflates last click.

Building attribution on the GA4 export

Building attribution on the GA4 export takes three steps. Define a touchpoint, reconstruct each person's path to a conversion, and apply the model rules as expressions. The export gives you events with a user key, a session key, and a timestamp. Everything else is a definition you write, and the definitions matter more than the models. Three subsections set the definitions, name the roles a touchpoint can play, and give the full query.

Touchpoints and paths

A touchpoint is a session attributed to one channel and placed on a person's timeline by its first event. It is eligible for credit if it falls inside the lookback window of a later conversion. A conversion path is the ordered list of a person's touchpoints that precede one conversion within the window, the converting session included.

Each definition carries a choice. The person is user_pseudo_id, a per-device identifier. One buyer on two devices is therefore two people with two shorter paths. The session is user_pseudo_id plus ga_session_id. A session's channel is the first medium seen in its events, or direct when there is none. On the public sample, 37,267 of 118,380 January sessions carry no medium parameter and count as direct.

Direct stays in the path as a touchpoint, in every query of this guide. Google's documentation says its own models give direct no credit, unless the whole path is direct. Keeping direct shows the returning visitors who open paths. To mirror GA4 exactly, drop direct touchpoints from mixed paths before applying the rules.

The grouping of session sources into channels is the choice that drifts fastest. The sample has obfuscated values such as <Other> and (data deleted). The queries in this guide group them under "other". A real property has new campaign names every week. One CASE expression, versioned with the query, keeps the attribution table comparable month after month.

Roles in the path: Introducer, Influencer, Closer

Every touchpoint in a path of two or more plays one of three roles. The Introducer is position 1, the Closer is the last position, and the Influencer is anything between. Counting conversions by role and channel gives a table that no single model shows. A channel that is mostly an Introducer deserves a first-click reading. A channel that is mostly a Closer deserves a last-click reading.

The roles come from the path, not from the model, so they stay stable when you switch models. On the public sample, organic search is the Introducer of 195 multi-touch paths and the Closer of 97. Add its 252 single-touch paths to each figure: that gives first click, 447, and plain last click, 349. The 98 paths it opened without closing are exactly the ones that last click hands to another channel. Roles explain gaps; models only reveal them.

Single-touch paths, 579 of 1,115 on the sample, have one touchpoint that opens and closes at once. They form a fourth group, Single, and deserve their own line in any role table. They are the share of conversions on which every model agrees. The higher that share, the less the choice of model matters, and the more the channel grouping does.

Reproducible SQL on the public sample

The following query reconstructs the paths and computes six models in one pass on the public sample. It counts January 2021's 1,115 purchase sessions, with a 14-day lookback. The channel comes from the first medium seen in the session, with a direct fallback. Direct stays in the paths, and the last non-direct column applies GA4's direct rule.

WITH e AS (
  SELECT user_pseudo_id, event_timestamp, event_name,
    (SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS sid,
    (SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'medium') AS medium
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20201218' AND '20210131'
),
s AS (
  SELECT user_pseudo_id, sid, MIN(event_timestamp) AS started,
    LOGICAL_OR(event_name = 'purchase') AS converted,
    CASE COALESCE(ARRAY_AGG(medium IGNORE NULLS ORDER BY event_timestamp LIMIT 1)[SAFE_OFFSET(0)], '(none)')
      WHEN '(none)' THEN 'Direct' WHEN 'organic' THEN 'Organic Search'
      WHEN 'cpc' THEN 'Paid Search' WHEN 'referral' THEN 'Referral'
      WHEN 'email' THEN 'Email' WHEN 'affiliate' THEN 'Affiliate' ELSE 'Other' END AS channel
  FROM e WHERE sid IS NOT NULL GROUP BY 1, 2
),
p AS (
  SELECT t.channel,
    ROW_NUMBER() OVER (w ORDER BY t.started) AS pos,
    COUNT(*) OVER w AS n,
    MAX(IF(t.channel = 'Direct', NULL, t.started)) OVER w = t.started AS is_last_non_direct,
    POW(0.5, (c.started - t.started) / 604800e6) AS w_decay,
    SUM(POW(0.5, (c.started - t.started) / 604800e6)) OVER w AS w_total
  FROM s AS c JOIN s AS t
    ON t.user_pseudo_id = c.user_pseudo_id
   AND t.started BETWEEN c.started - 14 * 86400000000 AND c.started
  WHERE c.converted AND c.started >= UNIX_MICROS(TIMESTAMP '2021-01-01')
  WINDOW w AS (PARTITION BY c.user_pseudo_id, c.sid)
)
SELECT channel,
  SUM(IF(pos = 1, 1, 0)) AS first_click,
  SUM(IF(pos = n, 1, 0)) AS last_click,
  SUM(IF(COALESCE(is_last_non_direct, pos = n), 1, 0)) AS last_non_direct_click,
  ROUND(SUM(1 / n), 1) AS linear,
  ROUND(SUM(w_decay / w_total), 1) AS time_decay,
  ROUND(SUM(CASE WHEN n = 1 THEN 1 WHEN n = 2 THEN 0.5
                 WHEN pos IN (1, n) THEN 0.4 ELSE 0.2 / (n - 2) END), 1) AS position_based
FROM p GROUP BY channel ORDER BY last_click DESC
ChannelFirst clickLast click (direct included)Last non-direct click (GA4 rule)LinearTime decayPosition-based
Referral488624637574.4580.5563.2
Organic Search447349362379.7377.2390.4
Other61677163.362.464.1
Direct105623284.481.783.8
Paid Search11999.79.49.9
Email2332.52.82.5
Affiliate1111.01.01.0

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data). Fractional columns are rounded to one decimal; every column sums to 1,115 conversions.

The query runs in one pass because the path join is self-contained. Each converting session is joined to the same person's sessions within the window. The WINDOW clause computes position, path length, decay weights, and the last non-direct position without a second scan. The sample is old and obfuscated, so the channel shares illustrate the method, not a benchmark. Building multi-touch attribution on the GA4 export in SQL adapts the same query to campaigns and compares 7-, 14-, and 30-day windows. GA4's 90-day default is out of reach on the sample, which starts on November 1, 2020.

What do conversion paths and time to conversion show?

Conversion paths and time to conversion are the two analyses that attribution models summarize. The interface's path report only samples them. Both come from the same reconstructed paths as the models, so they share definitions with them. On the public sample, half of the purchases are single-session. The other half take 2.3 to 6.0 days on average from first touchpoint to purchase. A model gives each channel a number; a path table shows the sequences behind that number. A delay table shows how long those sequences take. Read together, the three answer the budget question, the sequencing question, and the timing question.

The channel sequences that end in a purchase

The most frequent conversion paths on the sample are single-touch. Referral alone and organic search alone account for 46.6% of January 2021 purchases together. The sequences with two or more touchpoints are dominated by repetitions of the same channel. That pattern says more about the sample's self-referral than about marketing. On a real property, the same table shows the handoffs between channels. Paid social opens, organic search returns, email closes.

WITH e AS (
  SELECT user_pseudo_id, event_timestamp, event_name,
    (SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS sid,
    (SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'medium') AS medium
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20201218' AND '20210131'
),
s AS (
  SELECT user_pseudo_id, sid, MIN(event_timestamp) AS started,
    LOGICAL_OR(event_name = 'purchase') AS converted,
    CASE COALESCE(ARRAY_AGG(medium IGNORE NULLS ORDER BY event_timestamp LIMIT 1)[SAFE_OFFSET(0)], '(none)')
      WHEN '(none)' THEN 'Direct' WHEN 'organic' THEN 'Organic Search'
      WHEN 'cpc' THEN 'Paid Search' WHEN 'referral' THEN 'Referral'
      WHEN 'email' THEN 'Email' WHEN 'affiliate' THEN 'Affiliate' ELSE 'Other' END AS channel
  FROM e WHERE sid IS NOT NULL GROUP BY 1, 2
),
paths AS (
  SELECT c.user_pseudo_id, c.sid,
    STRING_AGG(t.channel, ' > ' ORDER BY t.started) AS path
  FROM s AS c JOIN s AS t
    ON t.user_pseudo_id = c.user_pseudo_id
   AND t.started BETWEEN c.started - 14 * 86400000000 AND c.started
  WHERE c.converted AND c.started >= UNIX_MICROS(TIMESTAMP '2021-01-01')
  GROUP BY 1, 2
)
SELECT path, COUNT(*) AS conversions,
  ROUND(100 * COUNT(*) / SUM(COUNT(*)) OVER (), 1) AS share_pct
FROM paths GROUP BY path ORDER BY conversions DESC LIMIT 8
PathConversionsShare
Referral26824.0%
Organic Search25222.6%
Referral > Referral837.4%
Organic Search > Referral504.5%
Referral > Referral > Referral433.9%
Organic Search > Organic Search262.3%
Direct262.3%
Other252.2%

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data).

The useful reading is the fourth row. Organic search followed by referral, 50 conversions, is a path where first click and last click disagree completely. One model credits each of those 50 purchases to organic search, the other to referral. Multiplying such rows by a country or device filter is where a path table starts to guide budget. A path table is also the first place where a tracking defect shows. A channel that follows itself three times in a row is usually the site talking to itself. Conversion paths: the channel sequences that end in a purchase adds the stalled paths, the sequences that never reach a purchase.

Days and sessions before the purchase

Time to conversion on the public sample is short. 51.9% of January 2021 purchases happen in the first session. Paths of six sessions or more take 6.0 days on average. The measure needs both units, sessions and days. Three sessions in one afternoon and three sessions over two weeks call for different marketing. The first is a comparison shopper; the second is a considered purchase.

WITH e AS (
  SELECT user_pseudo_id, event_timestamp, event_name,
    (SELECT value.int_value FROM UNNEST(event_params) WHERE key = 'ga_session_id') AS sid
  FROM `bigquery-public-data.ga4_obfuscated_sample_ecommerce.events_*`
  WHERE _TABLE_SUFFIX BETWEEN '20201218' AND '20210131'
),
s AS (
  SELECT user_pseudo_id, sid, MIN(event_timestamp) AS started,
    LOGICAL_OR(event_name = 'purchase') AS converted
  FROM e WHERE sid IS NOT NULL GROUP BY 1, 2
),
paths AS (
  SELECT c.user_pseudo_id, c.sid,
    COUNT(*) AS sessions_in_path,
    (c.started - MIN(t.started)) / 86400e6 AS days_in_path
  FROM s AS c JOIN s AS t
    ON t.user_pseudo_id = c.user_pseudo_id
   AND t.started BETWEEN c.started - 14 * 86400000000 AND c.started
  WHERE c.converted AND c.started >= UNIX_MICROS(TIMESTAMP '2021-01-01')
  GROUP BY 1, 2, c.started
)
SELECT
  CASE WHEN sessions_in_path = 1 THEN '1 session'
       WHEN sessions_in_path = 2 THEN '2 sessions'
       WHEN sessions_in_path BETWEEN 3 AND 5 THEN '3 to 5 sessions'
       ELSE '6 sessions or more' END AS path_length,
  COUNT(*) AS conversions,
  ROUND(100 * COUNT(*) / SUM(COUNT(*)) OVER (), 1) AS share_pct,
  ROUND(AVG(days_in_path), 1) AS avg_days_first_to_last
FROM paths GROUP BY 1 ORDER BY MIN(sessions_in_path)
Sessions in the pathConversionsShareAverage days, first touchpoint to purchase
1 session57951.9%0.0
2 sessions23821.3%2.3
3 to 5 sessions25623.0%4.9
6 sessions or more423.8%6.0

Computed on 2026-10-15 on the public sample bigquery-public-data.ga4_obfuscated_sample_ecommerce (Google Merchandise Store, 2020-11-01 to 2021-01-31, obfuscated data). The 14-day lookback caps the day counts. On a full export, a longer window lengthens the last two rows.

The average hides the spread, and the spread is the decision. Fast converters tell you how long a retargeting window needs to be. Slow converters tell you how early a prospecting touch must land. The same table also validates the lookback window. If 3.8% of paths reach six sessions in 14 days, a longer window will find longer paths. Time to conversion: how many days and sessions before a purchase splits the distribution into fast and slow converters by channel and device.

Beyond rules: when do Markov and Shapley have enough paths?

Markov and Shapley attribution replace fixed rules with credits estimated from the paths themselves. Both need more paths than most properties produce in a month. A Markov model represents paths as transitions between channels and measures each channel's removal effect. The removal effect is the share of conversions that disappear when that channel is deleted from the graph. Shapley attribution treats channels as players in a cooperative game. Each channel receives its average marginal contribution across every subset of channels in the path.

The two methods answer the same objection to rule-based models. A rule assumes where value sits; an estimate measures it. Anderl and colleagues published work on graph-based attribution in 2016. They showed that Markov credits differ materially from last click on real journeys. The credits stay stable across samples when paths are plentiful. The counterfactual logic Google describes for "data-driven" attribution belongs to the same family.

The threshold is the practical question. Removal effects on a channel seen in 30 paths are noise. Shapley values with eight channels enumerate 256 subsets per path and need each subset observed. On the public sample, email appears in three January conversions and affiliate in one. No estimated model can say anything about them. A rule-based model still gives an exact, if partial, answer. A reasonable practice is to compute the five rules every day for every channel. Markov or Shapley then come as an addition, on the channels with enough paths, flagged as estimates. Markov and Shapley attribution: what they add, and when data runs short gives the minimum path counts and the SQL for the transition matrix.

Attribution, MMM, incrementality: three questions

Attribution, marketing mix modeling (MMM), and incrementality testing answer three different questions. None of them replaces the other two. Attribution asks which tracked touchpoints preceded each tracked conversion, person by person, from the export. MMM asks how total sales respond to total spend per channel over time. It reads aggregated weekly series and needs no tracking. Incrementality asks what a specific campaign caused, by comparing an exposed group with a held-out group.

Each method has a blind spot the others cover. Attribution sees nothing that was not tracked. Offline media, consent refusals, view-through, and cross-device paths are invisible to it. MMM sees everything in aggregate, but it cannot tell two campaigns on the same channel apart. It also needs two years of history. Incrementality is the cleanest causal answer and the most expensive to run. Each test answers one question, and its holdout costs sales during the test.

The sensible arrangement is triangulation. Attribution runs every day on the export, MMM once or twice a year on the aggregates. Incrementality tests cover the few decisions that justify a holdout. When the three disagree on a channel, the disagreement is the finding. It usually points at a tracking gap or at a channel whose influence is mostly untracked. Attribution, MMM, incrementality: three answers to three questions compares the three on data needs, lead time, and the questions each one cannot answer.

FAQ

Which attribution models did GA4 remove?

GA4 removed first click, linear, time decay, and position-based attribution in November 2023. The remaining settings are "data-driven", paid and organic last click, and Google paid channels last click. The removed rules are documented arithmetic. They can be recomputed in SQL on the BigQuery export, which still holds every session source.

Is GA4 "data-driven" attribution available in BigQuery?

No, the export contains no "data-driven" credit, weight, or path. Each event row carries the user's first acquisition source in traffic_source. Newer exports add the session's last-click source in session_traffic_source_last_click. A report built on the export can show last click exactly, and any rule-based model you compute. The "data-driven" figures exist only in the interface.

How many conversions do you need for attribution?

Rule-based models need no minimum. They are exact arithmetic on whatever paths exist. A channel with three conversions gets a correct, if small, credit. Estimated models such as Markov or Shapley need enough paths for removal effects to settle. That usually means hundreds of multi-touch paths per channel. On the public sample, January 2021 has 1,115 purchase sessions, 536 of them multi-touch.

Which attribution model should I choose?

Choose by question, not by model. First click or position-based sizes prospecting channels. Last non-direct click or time decay judges closing channels. Linear checks whether a channel is present at all. Keep the five side by side, with one filter on country, device, or campaign. The gap between models is itself the reading, so picking one loses it.

What attribution window should I use?

Start from GA4's defaults so your SQL reconciles with the interface. They are 30 days for first_open and first_visit, and 90 days for every other key event. Then shorten the window only if your time-to-conversion table shows that almost no path exceeds it. Fix the value once, write it as a parameter, and keep it across months so credits stay comparable.

Markov or Shapley: which one is better?

Neither is better in general; they measure different things. Markov attribution measures a channel's removal effect in a transition graph. It suits long paths with repeated channels. Shapley attribution averages each channel's marginal contribution over every channel subset. It suits a few channels with many observed combinations. Both need far more paths than a rule-based model, and both should be labeled as estimates.

Does attribution replace marketing mix modeling?

No, attribution and MMM answer different questions on different data. Attribution distributes tracked conversions across tracked touchpoints, person by person, every day. MMM estimates how total sales respond to total spend per channel, from aggregated weekly series. It includes offline media that no tracking sees. Run both, and test incrementality on the biggest decisions. The three then cover each other's blind spots.

Why do GA4 and Google Ads report different conversion numbers?

GA4 and Google Ads count the same purchase at different dates, under different models, with different visibility. Google Ads dates a conversion at the click. It credits its own clicks only, under the model set on the conversion action. GA4 dates it at the purchase and shares credit across every channel under the property's attribution setting. Consent, cross-device, and view-through conversions widen the gap further.

To see the five models, the paths, and the delays on your own GA4 export, Book a diagnostic.

Sources

Articles in this guide