---
title: "GA4 \"data-driven\" attribution and the BigQuery export"
description: "GA4 \"data-driven\" attribution credits touchpoints with a model whose weights never reach BigQuery. What it does, what the export holds, and how to compare."
canonical: https://www.rtbanalytics.fr/en/blog/ga4-attribution/ga4-data-driven-attribution
date: 2026-11-08T11:30:00+01:00
author: "Boris Parov"
lang: en
---

# GA4 "data-driven" attribution: what it does, and what it doesn't export

Google Analytics 4 (GA4) "data-driven" attribution credits touchpoints with a machine-learning model trained on your property's paths. Its weights stay inside GA4: the BigQuery export holds source fields, never the model's credit. So no SQL can replicate it. This article extends our [guide to marketing attribution with GA4](https://www.rtbanalytics.fr/en/blog/ga4-attribution) with what the export allows instead.

**Key takeaways**

- GA4 "data-driven" attribution compares converting and non-converting paths and is trained per property and per key event.
- The BigQuery export holds user, event, and session source fields, but no "data-driven" credit, weight, or path.
- Google's current GA4 documentation publishes no conversion threshold; Google Ads recommends 200 conversions and 2,000 ad interactions in 30 days.
- On the public sample, January 2021, a 30-day lookback puts 611 of 1,115 conversions on multi-touch paths, against 317 at one day.
- "Data-driven" credit can be reattributed for up to seven days after a conversion, so a figure read on Monday can move.

## What does GA4 "data-driven" attribution do, according to Google?

GA4 "data-driven" attribution estimates how much each touchpoint raised the probability of a key event. Google's documentation describes machine learning that evaluates both converting and non-converting paths. The method is counterfactual: the model contrasts what happened with what could have occurred.

GA4 **"data-driven" attribution** is an attribution model that assigns credit with machine learning. It compares converting and non-converting paths to estimate each touchpoint's contribution to a key event. Google trains one model per advertiser and per key event, and does not publish its weights.

Google lists the factors the model uses. They include time from the key event, device type, ad interactions, exposure order, and creative type. The model also compares exposed users with similar users in a holdback group. Google states it was trained on data from randomized controlled trials. Depending on data availability, it may also draw on aggregate data from the property's data-sharing settings.

Two features set it apart from any rule. It credits engaged ad views, such as watching a video ad for 30 seconds. And its credit can move: Google says conversions can be reattributed for up to seven days. The model is useful for what it sees. It is also the only GA4 model whose logic you can't inspect.

## What does the BigQuery export contain instead of the weights?

The GA4 BigQuery export contains three source records, and none of them holds attribution credit. Each record answers a different question at a different scope. None carries a fractional credit, a model weight, or a conversion path.

| Record in the export                | Scope   | What it holds                                                                                   | What it doesn't hold                    |
| ----------------------------------- | ------- | ----------------------------------------------------------------------------------------------- | --------------------------------------- |
| `traffic_source`                    | User    | Source, medium, and campaign that first acquired the user                                       | Any later session source                |
| `collected_traffic_source`          | Event   | Campaign parameters and click identifiers (`gclid`, `dclid`) collected with the event           | Which touchpoint earned credit          |
| `session_traffic_source_last_click` | Session | The session's last-click source across Google Ads, other Google platforms, and manual campaigns | Any multi-touch or "data-driven" credit |

The schema documentation describes the session record as last-click attributed, "where available". It mentions no attribution model by name. The public sample used here predates the two newer records. Its queries therefore rebuild the session source from the `medium` parameter of `event_params`.

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 export gives you every input of such a rule: users, sessions, sources, timestamps. It gives you no output of Google's model. Engaged ad views also stay out, since they aren't sessions. The same gap applies to modeled data, covered in modeled conversions and Google Signals, the data the export doesn't have.

## How many conversions does "data-driven" attribution need?

Google's current GA4 documentation states no minimum number of conversions for "data-driven" attribution. Neither the attribution overview nor the attribution settings page gives a threshold. Thresholds quoted elsewhere come from other Google products or older documentation.

| Source (Google)                                   | Threshold stated                                                                                                                                   | Scope                                                   |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| GA4 attribution help pages                        | None published                                                                                                                                     | GA4 properties                                          |
| Google Ads help page on "data-driven" attribution | All conversion actions eligible "regardless of conversion or interaction volume"; 200 conversions and 2,000 ad interactions in 30 days recommended | Google Ads conversion actions                           |
| Universal Analytics legacy article                | 400 conversions per conversion type on paths of two or more interactions, and 10,000 paths, over 28 days                                           | Universal Analytics, paid edition only; retired product |

For GA4, "below how many conversions does it fall back to last click?" has no published answer. Google Ads says only that last click and "data-driven" "can have the same results" depending on data availability. That sentence describes a symptom you can check, not a rule you can apply.

Scale matters for any learned model. On the public sample, January 2021 has 1,115 purchase sessions. With a 14-day lookback, 536 of them sit on paths of two sessions or more. Only those paths can teach a model anything about order. Single-session purchases give every model the same answer.

## How do lookback and attribution windows change the credit?

The lookback window changes the credit as much as the model does, because it decides which touchpoints exist. A short window cuts paths down to their closing sessions. A long one adds early touchpoints and moves credit toward the channels that open paths.

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.

"Attribution window" is often used as a synonym. GA4 adds two other windows. Changing the reporting model rewrites historical data, while a new lookback window applies only going forward. And "data-driven" credit stays open for seven days of reattribution. The query below measures the lookback effect on the sample.

```sql
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 '20201202' 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 lookback_days, c.user_pseudo_id, c.sid, c.channel AS last_channel,
    ARRAY_AGG(t.channel ORDER BY t.started LIMIT 1)[OFFSET(0)] AS first_channel,
    COUNT(*) AS n
  FROM s AS c
  CROSS JOIN UNNEST([1, 7, 14, 30]) AS lookback_days
  JOIN s AS t
    ON t.user_pseudo_id = c.user_pseudo_id
   AND t.started BETWEEN c.started - lookback_days * 86400000000 AND c.started
  WHERE c.converted AND c.started >= UNIX_MICROS(TIMESTAMP '2021-01-01')
  GROUP BY 1, 2, 3, 4
)
SELECT lookback_days,
  COUNT(*) AS conversions,
  COUNTIF(n > 1) AS multi_touch,
  COUNTIF(first_channel != last_channel) AS first_differs_from_last,
  COUNTIF(first_channel = 'Organic Search') AS organic_first_click,
  COUNTIF(last_channel = 'Organic Search') AS organic_last_click
FROM p GROUP BY 1 ORDER BY 1
```

| Lookback window | Conversions | Multi-touch paths | First-click channel differs from last-click channel | Organic Search, first click | Organic Search, last click |
| --------------- | ----------- | ----------------- | --------------------------------------------------- | --------------------------- | -------------------------- |
| 1 day           | 1,115       | 317               | 161                                                 | 405                         | 349                        |
| 7 days          | 1,115       | 482               | 255                                                 | 435                         | 349                        |
| 14 days         | 1,115       | 536               | 294                                                 | 447                         | 349                        |
| 30 days         | 1,115       | 611               | 341                                                 | 454                         | 349                        |

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). Data starts on December 2, 2020, 30 days before the first January conversion. The sample can't support GA4's 90-day default for the whole month.

From one day to 30, multi-touch paths rise from 28.4% to 54.8% of conversions. The conversions where first click and last click disagree rise from 14.4% to 30.6%. Last click doesn't move: organic search keeps 349. First click gives organic search 405, then 454. Every other model sits between those two readings.

## How does "data-driven" attribution compare with five rule-based models?

"Data-driven" attribution and the rule-based models answer the same question with different guarantees. The learned model sees more signals, such as ad views. The rules can be read, filtered, and rerun on the export. Neither is the true number.

| Criterion                      | "Data-driven" (GA4 interface)                    | Five rule-based models (SQL on the export)                                              |
| ------------------------------ | ------------------------------------------------ | --------------------------------------------------------------------------------------- |
| How credit is set              | Machine learning, per property and per key event | A fixed formula: first click, last non-direct click, linear, time decay, position-based |
| Weights visible                | No                                               | Yes: the formula is the weight                                                          |
| Present in the BigQuery export | No                                               | Rebuilt from session sources                                                            |
| Filters                        | The dimensions of GA4 reports                    | Any export column: country, device, landing page, product                               |
| Minimum volume                 | None published for GA4                           | None: exact on any number of paths                                                      |
| Signals beyond sessions        | Engaged ad views, ad exposure order              | Sessions only                                                                           |
| Stable after the fact          | Reattributed for up to seven days                | Fixed once your definitions are fixed                                                   |

The guide's six-model query gives the rule-based side on the public sample. Its figures are reused here as published there.

| Channel, January 2021 | First click | Last click | Linear | Position-based |
| --------------------- | ----------- | ---------- | ------ | -------------- |
| Referral              | 488         | 624        | 574.4  | 563.2          |
| Organic Search        | 447         | 349        | 379.7  | 390.4          |
| Direct                | 105         | 62         | 84.4   | 83.8           |

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; 14-day lookback.

A "data-driven" column can't be added to this table. The sample has no GA4 property behind it, and a real export wouldn't carry the column either. The honest comparison is therefore side by side, never row by row. [Which attribution models GA4 removed, and how to recompute them](https://www.rtbanalytics.fr/en/blog/ga4-attribution/ga4-attribution-models-removed) gives each rule's SQL expression.

## How do you use "data-driven" attribution without taking it on trust?

You use "data-driven" attribution as one labeled estimate, checked against rules you can audit. Four habits keep it honest.

First, read it beside last click in GA4's key event attribution models report. If both columns match channel by channel, the model may have little to learn from. Google Ads describes exactly that case.

Second, reconcile the inputs. Your export's last-click session sources should match the interface's last-click figures for the same key event. Once the inputs agree, any "data-driven" gap comes from the model, not from tracking.

Third, wait seven days before freezing a "data-driven" figure in a monthly report. Note the reporting model in the report itself, since a change rewrites history.

Fourth, label each number by its owner and method. "Data-driven" is Google's estimate with an unpublished method. A rule-based model is your formula, rerun every day on the export.

A home-made model doesn't close the gap. A Markov or Shapley model on the export is a different estimate, built on sessions only. It needs plenty of paths per channel, as Markov and Shapley attribution: what they add, and when data runs short explains. Present it as yours, never as a copy of Google's.

> **In Lightstack · Available**
>
> Lightstack, by RTB Strategic Analytics (Montpellier, France), recomputes consultancy-grade GA4 analyses every day from the raw BigQuery export and delivers them in Power BI. Its Measurement triangulation analysis, in the Measurement module, sets attribution, last click, and ad-platform figures side by side. Co-delivered MMM is part of the same module. See [the "We already have GA4" answer on the Analyses page](https://www.rtbanalytics.fr/en/analyses#faq-title).

## FAQ

### Why did my "data-driven" numbers change a few days later?

GA4 can reattribute a conversion for up to seven days after it happens, under "data-driven" attribution. A channel's credit read the day after a campaign can therefore shift by the following week. Rule-based models rebuilt on the export don't move that way. Freeze "data-driven" figures only after seven days, and note the date you read them.

### Does changing the attribution model in GA4 rewrite past reports?

Yes, changing the reporting attribution model applies to historical and future data, according to Google's attribution settings documentation. A lookback window change behaves differently: it applies only going forward. A year-over-year comparison can therefore mix two settings without warning. Record each change and its date beside the report that depends on it.

### Does "data-driven" attribution give credit to direct traffic?

No, GA4 attribution models exclude direct visits from credit, unless the whole path is direct. A purchase closed by a direct session goes to the previous non-direct touchpoint. Rebuilt in SQL, that choice is yours. Keep direct as a touchpoint, or drop it from mixed paths to mirror GA4.

### Is "data-driven" attribution more accurate than last click?

Google doesn't publish an accuracy measure for its model on your property, so the claim can't be checked. The model uses more signals than last click, including ad views. Last click answers a narrower question, which session closed the sale, and is exact. Treat "data-driven" as a useful estimate and last click as an auditable baseline.

The rest of [Marketing attribution with GA4: the guide after the retired models](https://www.rtbanalytics.fr/en/blog/ga4-attribution) covers paths, delays, and the five rules with the same queries. To compare these readings on your own GA4 export rather than Google's sample, [Book a diagnostic](https://www.rtbanalytics.fr/en/contact?topic=diagnostic).

## Sources

- [Get started with attribution (GA4)](https://support.google.com/analytics/answer/10596866) - Google, consulted 2026-10-15
- [Select attribution settings (GA4)](https://support.google.com/analytics/answer/10597962) - Google, consulted 2026-10-15
- [Key event attribution models report (GA4)](https://support.google.com/analytics/answer/10596865) - Google, consulted 2026-10-15
- [About "data-driven" attribution (Google Ads)](https://support.google.com/google-ads/answer/6394265) - Google, consulted 2026-10-15
- [BigQuery Export schema (GA4)](https://support.google.com/analytics/answer/7029846) - Google, consulted 2026-10-15
- [About MCF "Data-Driven" Attribution, Universal Analytics legacy article](https://support.google.com/analytics/answer/3264076) - Google, consulted 2026-10-15
