Five attribution models, one filter: reading the gaps between models
To compare attribution models, run five rules on the same conversions and read where they disagree. On Google's public sample for January 2021, organic search earns 447 first-click and 349 last-click conversions. That gap marks a channel that opens paths, not an error. The method follows our guide to marketing attribution with GA4.
What are the five attribution models, in one sentence each?
The five rule-based attribution models are first click, last non-direct click, linear, time decay, and position-based. Each one answers a different question about the same purchase.
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.
- First click gives 100% of the credit to the session that opened the path.
- Last non-direct click gives 100% to the last session that isn't direct.
- Linear splits the credit evenly across every session in the path.
- Time decay halves a session's weight for every seven days before the purchase.
- Position-based gives 40% to the first and last sessions and shares 20% across the middle.
Plain last click sits next to them as a sixth column. It gives 100% to the closing session, direct included. GA4's own paid and organic last click ignores direct unless the whole path is direct. It therefore matches the last non-direct click column. Which attribution models GA4 removed, and how to recompute them covers each formula. On single-touch paths, all six rules give the same answer. On the sample, 579 of 1,115 purchases are single-touch, so the models only disagree on the other 536.
How do you compare attribution models on the same conversions?
You compare attribution models by running all five on one set of conversions, one window, one grouping.
A conversion path is the ordered list of a person's touchpoints that precede one conversion within the window, the converting session included. A touchpoint is a session attributed to one channel and placed on a person's timeline by its first event.
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 90 days by default for a purchase; the query in this section uses 14 days.
Here, a conversion is a January 2021 session with a purchase event: 1,115 on the sample. The person is user_pseudo_id, and the channel is the session's first medium. Direct stays in the path as a touchpoint. GA4 credits it only on all-direct paths: drop it from mixed paths to mirror GA4. The data starts on December 18, 2020, one window before the first conversion.
WITH e AS (
SELECT user_pseudo_id, event_timestamp, event_name, device.category AS device,
(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, ANY_VALUE(device) AS device,
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
| Channel | First click | Last click (direct included) | Last non-direct click (GA4 rule) | Linear | Time decay | Position-based |
|---|---|---|---|---|---|---|
| Referral | 488 | 624 | 637 | 574.4 | 580.5 | 563.2 |
| Organic Search | 447 | 349 | 362 | 379.7 | 377.2 | 390.4 |
| Other | 61 | 67 | 71 | 63.3 | 62.4 | 64.1 |
| Direct | 105 | 62 | 32 | 84.4 | 81.7 | 83.8 |
| Paid Search | 11 | 9 | 9 | 9.7 | 9.4 | 9.9 |
| 2 | 3 | 3 | 2.5 | 2.8 | 2.5 | |
| Affiliate | 1 | 1 | 1 | 1.0 | 1.0 | 1.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 totals agree and the channels don't. Referral gains 136 conversions from first click to last click. Organic search loses 98. Direct loses 43, then 30 more under last non-direct click. The sample is old and obfuscated, so these 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.
How do you read a gap: Introducer, Influencer, or Closer?
A channel that gains under first click and loses under last click is an Introducer. The reverse profile is a Closer. Counting roles directly turns each gap into a number you can check.
A path role is the position a touchpoint holds in a conversion path of two sessions or more. The Introducer is position 1, the Closer is the last position, and the Influencer is anything between. Roles come from the path, not from the model, so they stay stable when you switch models.
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 (PARTITION BY c.user_pseudo_id, c.sid ORDER BY t.started) AS pos,
COUNT(*) OVER (PARTITION BY c.user_pseudo_id, c.sid) AS n
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')
)
SELECT channel,
SUM(IF(n = 1, 1, 0)) AS single_touch,
SUM(IF(n > 1 AND pos = 1, 1, 0)) AS introducer,
SUM(IF(pos > 1 AND pos < n, 1, 0)) AS influencer,
SUM(IF(n > 1 AND pos = n, 1, 0)) AS closer
FROM p GROUP BY channel ORDER BY closer DESC
| Channel | Single-touch paths | Introducer | Influencer (touchpoints) | Closer |
|---|---|---|---|---|
| Referral | 268 | 220 | 399 | 356 |
| Organic Search | 252 | 195 | 89 | 97 |
| Other | 25 | 36 | 53 | 42 |
| Direct | 26 | 79 | 83 | 36 |
| Paid Search | 5 | 6 | 8 | 4 |
| 2 | 0 | 0 | 1 | |
| Affiliate | 1 | 0 | 0 | 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 influencer column counts touchpoints: one path can hold the same channel several times.
The roles explain the gaps exactly. Organic search's 447 first-click conversions are 252 single-touch paths plus 195 openings. Its 349 last-click conversions are the same 252 plus 97 closings. Organic search opens twice as often as it closes: an Introducer. Referral closes 356 paths and opens 220: a Closer. Direct opens 79 paths but closes only 36. Referral, direct, and other each count more middle touchpoints than openings or closings.
What about mobile? The same table, one filter
On mobile, the five-model table keeps its shape: organic search still opens, and referral still closes. The filter is one line. Add AND c.device = 'mobile' to the WHERE clause of p, and change nothing else. The device is device.category of the converting session.
| Channel | First click | Last click (direct included) | Last non-direct click (GA4 rule) | Linear | Time decay | Position-based |
|---|---|---|---|---|---|---|
| Referral | 214 | 266 | 271 | 246.2 | 247.7 | 242.7 |
| Organic Search | 187 | 150 | 154 | 160.8 | 160.6 | 164.7 |
| Other | 22 | 26 | 28 | 23.6 | 22.8 | 24.1 |
| Direct | 42 | 23 | 12 | 34.2 | 33.4 | 33.4 |
| Paid Search | 4 | 3 | 3 | 3.7 | 3.7 | 3.6 |
| 0 | 1 | 1 | 0.5 | 0.8 | 0.5 |
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). Same query with the mobile filter; every column sums to 469 conversions.
Mobile carries 469 of the 1,115 purchases, or 42.1%. Organic search falls from 187 to 150 on mobile, a gap of 37 conversions. That gap is 24.7% of its last-click figure, against 28.1% on all devices. Its share of first-click conversions barely moves: 39.9% on mobile, 40.1% on all devices. The Introducer role therefore holds on mobile. Direct halves again under last non-direct click, from 23 to 12. A filter that flips a role is a finding; a filter that keeps it is a confirmation. A one-off study would need a new extract for each such question, as why your attribution study is already stale shows.
What can you decide with this table, and what can't you?
This table tells you which model to read for each channel. It doesn't tell you what each channel is worth. The decision rule follows the question, and the role table tells you which question fits each channel. Keep the five columns side by side, and choose the reading per channel.
| Question | Model to read | On the sample, all devices |
|---|---|---|
| How large should a prospecting budget be? | First click or position-based | Organic search: 447 first click, 390.4 position-based |
| Is a closing channel doing its job? | Last non-direct click or time decay | Referral: 637 last non-direct click, 580.5 time decay |
| Is a channel present in paths at all? | Linear | Direct: 84.4 linear |
| Does a channel mostly catch return visits? | Last click against last non-direct click | Direct: 62 last click, 32 last non-direct click |
Three things stay out of reach. The table shows position, not causation: no column says what a channel's absence would cost. It holds no media spend, so it says nothing about efficiency per channel. And it can't read channels with a handful of conversions, such as email's three. The table also flags tracking defects before any decision. Referral holds 399 influencer touchpoints, and the sample's top referral source is the store's own shop domain. That self-referral needs a tracking fix before referral's credit means anything.
When should you move to incrementality testing?
Move to incrementality testing when your decision is causal: what a channel's absence would cost in sales. Attribution can't answer that question, whatever the model.
An incrementality test compares an exposed group with a held-out group that doesn't see the campaign. Three signals justify a test. First, you plan to cut an Introducer because its last-click credit looks weak. Second, a channel's role flips across the filters you budget by, such as device or country. Third, the channel acts mostly outside tracking, through views, offline media, or refused consent.
A test answers one question per campaign and costs sales in the holdout during the test. Keep it for the few decisions that justify that cost. Between tests, the five-model table runs every day on the export, with the same definitions. Attribution, MMM, incrementality: three answers to three questions compares the three methods on data needs and lead time.
FAQ
First click vs last click: which one is right?
Neither is right in general, because each answers a different question about the same purchase. First click tells you which channel opened the path; last click tells you which session closed it. On the public sample, January 2021, organic search gets 447 first-click and 349 last-click conversions. Both numbers are exact for their rule.
Can I still compare attribution models in the GA4 interface?
Only among the models GA4 kept: "data-driven" and two last-click variants. Google's documentation lists the four others as no longer available since November 2023. To compare the five rules side by side, rebuild them in SQL on the BigQuery export. The export still holds every session source.
Why filter on the device of the purchase session?
The device filter applies to the converting session because user_pseudo_id identifies one browser or app instance. A path built on that key never crosses devices, so the purchase device is the path device. A buyer who browses on mobile and buys on desktop appears as two people, with two shorter paths.
Which attribution model should I use for email or branded search?
Email and branded search usually close paths, so read them under last non-direct click or time decay. Check the role table first: a channel that closes far more paths than it opens is a Closer. On the public sample, email has three conversions in January 2021, too few to read a role.
The rest of Marketing attribution with GA4: the guide after the retired models covers paths, delays, and estimated models.
To see the five models and path roles on your own GA4 export, Book a diagnostic.
Sources
- Get started with attribution (GA4) (opens in a new tab) - Google, consulted 2026-10-15
- Select attribution settings (GA4) (opens in a new tab) - Google, consulted 2026-10-15
- About attribution models (Google Ads) (opens in a new tab) - Google, consulted 2026-10-15
- BigQuery Export schema (GA4) (opens in a new tab) - Google, consulted 2026-10-15