Skip to content

What does the attribution model change in your GA4 conversions?

Five attribution models on the same purchases from Google’s public sample: switch models and the credit moves between channels.

The demo

GA4 attribution: five models compared

January 2021 · 14-day window

Model
Lookback window

The longest gap allowed between a touchpoint and the conversion. GA4 uses 90 days for most key events; the sample allows 60 days at most.

Biggest gap: Referral gets 488 conversions under first click (compared model) versus 637 under last non-direct click (selected model), a difference of −149.

January 2021 conversions by channel, Last non-direct click and First click, 14-day window
Channel Last non-direct click First clickGap (compared − selected)
Referral637 57.1%488 43.8%−149
Organic Search362 32.5%447 40.1%+85
Direct32 2.9%105 9.4%+73
Other71 6.4%61 5.5%−10
Paid Search9 0.8%11 1.0%+2
Email3 0.3%2 0.2%−1
Affiliate1 0.1%1 0.1%0
Total1,1151,115

14-day window: 1,115 conversions, 579 of them with no other session in the window (51.9%), where all models agree. 2.05 touchpoints per path on average, 12 at most.

Google Merchandise Store, public obfuscated data from 2020 and 2021. The shares illustrate the method; this isn’t a benchmark.

ConversionsModels seen: 2 of 5

1,115the total does not change from one model to the next

The two models compared

Selected model

Last non-direct click

All the credit goes to the last touchpoint that isn’t direct; an all-direct path stays direct. This is GA4’s last-click rule.

How to read it. It shows which marketing action closed the sale.

When it misleads. For prospecting: channels that open paths without closing them disappear.

Compared with

First click

All the credit goes to the first touchpoint of the path, within the window.

How to read it. It shows which channels open the relationship. Useful for sizing prospecting.

When it misleads. For judging a closing channel: brand, email, or retargeting look useless.

Frozen results of a query on Google’s public sample: nothing is sent or recomputed during your visit.

The five models, rule by rule

Each model is a short rule applied to the same path. A path’s credits always add up to one conversion.

  • First click

    Rule
    All the credit goes to the first touchpoint of the path, within the window.
    How to read it
    It shows which channels open the relationship. Useful for sizing prospecting.
    When it misleads
    For judging a closing channel: brand, email, or retargeting look useless.
  • Last non-direct click

    Rule
    All the credit goes to the last touchpoint that isn’t direct; an all-direct path stays direct. This is GA4’s last-click rule.
    How to read it
    It shows which marketing action closed the sale.
    When it misleads
    For prospecting: channels that open paths without closing them disappear.
  • Linear

    Rule
    The credit is split equally across every touchpoint in the path.
    How to read it
    It checks that a channel shows up in the paths, without judging its role.
    When it misleads
    On long paths: a visit with no effect weighs as much as the one that decided.
  • Time decay

    Rule
    Each touchpoint’s weight halves for every seven days between it and the conversion, then the weights are normalized.
    How to read it
    It favors channels that act close to the purchase.
    When it misleads
    On paths of a few days, it’s close to linear. The seven-day half-life is a setting, not a law.
  • Position-based

    Rule
    40% to the first touchpoint, 40% to the last, 20% shared among those in between; 50% each on a two-step path.
    How to read it
    It credits both who opened and who closed.
    When it misleads
    When the middle of the path matters: it shares 20%, however many steps there are.

Method and data

The 14-day figures are identical to those in the article Compare attribution models: reading the gaps between them.

The query we ran

Run on October 17, 2026 in BigQuery (job job_11Jlpx_b_h-tatUBGqpueQr_07eO, 1.58 GB read). The results are frozen in the page’s code: nothing is recomputed during your visit.

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 '20201102' 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 window_days, c.user_pseudo_id, c.sid, 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
  CROSS JOIN UNNEST([7, 14, 30, 60]) AS window_days
  JOIN s AS t
    ON t.user_pseudo_id = c.user_pseudo_id
   AND t.started BETWEEN c.started - window_days * 86400000000 AND c.started
  WHERE c.converted AND c.started >= UNIX_MICROS(TIMESTAMP '2021-01-01')
  WINDOW w AS (PARTITION BY window_days, c.user_pseudo_id, c.sid)
),
credits AS (
  SELECT window_days, 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), 3) AS linear,
    ROUND(SUM(w_decay / w_total), 3) 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), 3) AS position_based
  FROM p GROUP BY window_days, channel
),
paths AS (
  SELECT window_days, COUNT(*) AS conversions, COUNTIF(n = 1) AS single_touch_paths,
    ROUND(AVG(n), 3) AS avg_touchpoints, MAX(n) AS max_touchpoints
  FROM (SELECT DISTINCT window_days, user_pseudo_id, sid, n FROM p)
  GROUP BY window_days
)
SELECT c.*, paths.conversions, paths.single_touch_paths, paths.avg_touchpoints, paths.max_touchpoints
FROM credits AS c JOIN paths USING (window_days)
ORDER BY window_days, last_non_direct_click DESC

The five models, on your export, every day

Lightstack recomputes these five models every day on your raw GA4 export, in Power BI, filterable by country, device, and campaign. The window and the channel grouping are settings fixed once, not a choice remade for each study.

See the Five-model attribution analysis

Questions and answers

Which attribution model should I use with GA4 since 2023?

No model is right in itself: each one answers a question. First click shows who opens the relationship, last non-direct click who closes it, linear who is present; time decay and U-shaped weigh between the two. Comparing them side by side shows which channels change role depending on the rule.

Which attribution models did GA4 remove in 2023?

In November 2023, GA4 removed first click, linear, time decay and position-based. It keeps data-driven and last click. The removed models can be recomputed on the raw GA4 export in BigQuery, as in this demo.

How can I compare attribution models on my own GA4 data?

With the GA4 export to BigQuery: it holds every session, so you can rebuild conversion paths and then apply each rule. The query on this page is published; it runs on Google’s public sample and adapts to your own export.

Does the lookback window change attribution?

Yes. A longer window brings older sessions into the paths: channels that open the relationship gain credit under first click and linear, while last non-direct click does not move. The total number of conversions does not change from one model to the next.

Go further

Your raw export, turned into Power BI analyses

Lightstack recomputes your GA4 analyses every day from the BigQuery export and delivers them in Power BI. The Platform page details each pack, and what stays on your side.

Embed this tool

Paste this code into your page. The tool appears in a frame, followed by a credit link to this page.

<iframe src="https://www.rtbanalytics.fr/en/tools/ga4-attribution-demo/embed" title="GA4 attribution demo" loading="lazy" style="width:100%;max-width:760px;height:1200px;border:0"></iframe>
<p><a href="https://www.rtbanalytics.fr/en/tools/ga4-attribution-demo" rel="nofollow">GA4 attribution demo · Free tool by Lightstack</a></p>