Data-driven attribution in GA4 is a machine learning model that assigns credit for conversions based on your own account data. It moves beyond last-click rules by analyzing all touchpoints on a user's path and distributing fractional credit to the interactions that actually influenced the key event. This model replaces the older fixed-rule models like first click and linear, which are no longer available as of November 2023. Available in every GA4 property, you can apply data-driven attribution at the property level to make it the default for all key event reports, or use it on the fly in the Attribution reports. You can use the Attribution models and Attribution paths reports to see how data-driven attribution allocates credit across channels. The model continuously improves as it processes more data, so credit allocation adapts to changes in channel performance over time.
What Data-Driven Attribution Does
Attribution is the act of assigning credit for conversions to different ads, clicks, and factors along a user's path to completing a key event. In GA4, the data-driven attribution model uses machine learning end-to-end to deliver credit allocation that is customized based on your account's historical data. Unlike fixed-rule models, it adapts automatically as the performance of different touchpoint categories changes.
The model works by analyzing both converting and non-converting paths. It builds key event probability models that consider factors like time from key event, device type, number of ad interactions, the order of ad exposure, and the type of creative assets. Using a counterfactual approach, the model contrasts what happened with what could have occurred to determine which touchpoints are most likely to drive key events. It then algorithmically assigns fractional credit to each touchpoint based on how its presence changed the estimated key event probability. The model trains on data from randomized controlled trials, comparing users exposed to an ad with a holdback group that was not.
For example, a path with four ad exposures (Paid search, Social, Affiliate, Search) might show a 3% probability of key event. If the last Search exposure is removed and the probability drops to 2%, that Search interaction is credited with a +50% lift in key event probability. The model repeats this calculation for every touchpoint and uses the learned contributions as attribution weights.
When you switch to data-driven attribution and use event-scoped traffic dimensions, you will see decimals in the Key events, Total revenue, Purchase revenue, and Total ad revenue columns. This fractional credit sums to 1.0 per key event and reflects the distributed contribution of multiple interactions. On a path of keyword1 > keyword2 that leads to a key event, each keyword shows a fraction of the credit, and the two fractions sum to 1.0.
An engaged view on YouTube is counted in data-driven attribution when a user watches an ad for 30 seconds (or until the end if shorter), clicks a teaser card, companion banner, video wall, call-to-action phrase, end screen, or visits the advertiser's site. Conversions can be reattributed for up to 7 days after the conversion. Depending on data availability, the model may use aggregate data from your Data sharing settings. All attribution models exclude direct visits from receiving credit unless the path to key event consists entirely of direct visits. Learn more about the data-driven attribution methodology.
The Other Models Still Available
GA4 now offers three attribution models in the Attribution reports: Data-driven, Paid and organic last click, and Google paid channels last click. The first click, linear, time decay, and position-based models are no longer available as of November 2023. If you choose a date range that includes a period before a model's start date, you will see partial data. Paid and organic channels data-driven attribution is available from November 1, 2021; rules-based models from June 14, 2021.
| Model | How Credit Is Assigned | Fallback Behavior |
|---|---|---|
| Data-driven | Distributes fractional credit based on machine learning analysis of your account's path data. | N/A |
| Paid and organic last click | Ignores direct traffic and gives 100% credit to the last channel the customer clicked through (or engaged view through for YouTube) before converting. | If the last click is direct, credit goes to the preceding non-direct channel. |
| Google paid channels last click | Gives 100% credit to the last Google Ads channel clicked before converting. | If there is no Google Ads click in the path, falls back to Paid and organic last click. |
Paid and organic last click (also called Last non-direct click) works as shown in these examples:
- Display > Social > Paid Search > Organic Search → 100% to Organic Search
- Display > Social > Paid Search > Email → 100% to Email
- Display > Social > Paid Search > Direct → 100% to Paid Search (direct is ignored)
- Direct → 100% Direct traffic (path is entirely direct)
Google paid channels last click attributes credit only to Google Ads channels. Examples:
- Display > Social > Paid Search > Organic Search → 100% to Paid Search
- Display > Social > YouTube EVC > Email → 100% to YouTube
- Display > Social > Email > Direct → 100% to Email (fallback to last non-direct click)
- Direct → 100% Direct traffic
Both last-click models treat direct visits the same way: direct is ignored unless the entire path is direct. The data-driven model also excludes direct visits from credit unless the path is all direct. In the Attribution reports, you can switch between these models using the dropdown at the top of the data visualization to compare how credit distribution changes. Data-driven is the only one of the three that uses your own account data to estimate each touchpoint's contribution. Last-click models are simpler but may overvalue bottom-of-funnel channels.
Short on time? Analytics Art can check this in your property for you.
Changing The Reporting Attribution Model
You change the reporting attribution model from the Attribution settings page. To get there:
- Sign in to Google Analytics.
- Click Admin.
- Under Data display, select Events.
- Click Attribution settings.
You must be a Marketer or above at the property level to access these settings.
On this page you can configure three settings:
Reporting attribution model: Select the reporting attribution model you want to use. This change applies to historical and future data in all key event reports and explorations that use event-scoped traffic dimensions such as Source, Medium, Campaign, and Default channel group. User- and session-scoped traffic dimensions like Session source or First user medium are unaffected. If you select a date range that includes a period before a model's start date, you will see partial data. Paid and organic channels data-driven attribution is available from November 1, 2021; rules-based models from June 14, 2021.
Channels that can receive credit: Select Google paid channels to see only Google Ads conversions in your reports, or Paid and organic channels for a broader cross-channel view. The default for Google Analytics reports is Paid and organic; for Google Ads reports it is Google paid. Changing this setting applies going forward and can affect the conversions used for bidding and reporting in linked Google Ads accounts. It may take a few days for the changes to be reflected in your Google Ads campaigns and reports. App conversions always use Google paid channels. When you select Paid and organic channels, the conversion window and counting method must be managed through Google Analytics under Advertising > Conversion management. Also, note that Google Analytics reporting uses the property's time zone, while Google Ads uses the account's time zone; this can cause discrepancies if they differ. Selecting Google paid channels limits credit to Google Ads interactions, which is useful if you only want to optimize Google Ads bidding based on Google Analytics conversions.
Key event lookback window: This determines how far back a touchpoint is eligible for attribution credit. For acquisition key events (first_open and first_visit), the default is 30 days; you can switch to 7 days. For all other key events, the default is 90 days; you can choose 30 or 60 days. A shorter window focuses credit on more recent interactions; a longer window includes earlier touchpoints. For example, with a 30-day window, a key event on January 30 can only be attributed to touchpoints from January 1 onward. Changes apply going forward and also affect session attribution.
After making changes, click Save. Google Analytics also offers a centralized conversion management interface under Advertising > Conversion management. There you can review conversion settings and reconcile discrepancies between Google Analytics and Google Ads. Google notes this feature may not be available to every property yet.
Model Comparison And Conversion Path Reports
To see how different attribution models distribute credit, use the Attribution reports. Click Advertising on the left, then under Attribution click Attribution models to compare models, or Attribution paths for the paths report. Google's help page for the paths report also lists it as Key event attribution paths under the Key events drop-down.
The Key event attribution paths report (formerly Conversion Paths) visualizes the user journey and provides a data table. The data visualization splits the path into three segments: Early touchpoints (first 25% of the path), Mid touchpoints (middle 50%), and Late touchpoints (last 25%). For a single-touchpoint path, the late segment gets all credit. Bar charts under each segment show how much credit a selected dimension (Channel, Source, Medium, or Campaign) receives in that part of the path. The early, mid, and late segments help you see which channels initiate, assist, and close key events. For example, you might find that social media often appears in early touchpoints while branded search dominates late touchpoints.
The data table lists the actual paths users took, along with metrics: Key events, Purchase revenue, Days to key event, and Touchpoints to key event. The top row of the data table shows the total Key events, Purchase revenue, Days to key event, and Touchpoints to key event across all paths. By default, the report sorts by the highest number of conversions. You can click a column header to sort by another metric. Hover over individual touchpoints to see the credit and number of key events for that step.
To customize the report:
- Select one or more key events from the dropdown at the top left. By default, all key events are aggregated.
- Add a filter to view data for a specific set of users (e.g., Browser = Chrome).
- Use the dimension dropdowns to switch between Primary channel group, Source, Medium, or Campaign.
- Change the attribution model for the data visualization using the model dropdown. The default is Paid and organic last click; you can switch to Data-driven or Google paid channels last click.
- Filter by path length: choose an operator (equal to, greater than, etc.) and enter a number of touchpoints (up to 20).
- Click Share this report in the top right to share, download, or export the data.
When you select the data-driven model, you will see fractional credit in the table. Each row shows an average credit across the individual paths grouped in that row. Some dimension values may appear as (not set), Unassigned, Direct, Unattributable, or (Other) when Analytics cannot assign a value. (Not set) means no information was received for that dimension; Unassigned means no channel rules matched the event data; Direct indicates no path data was available; Unattributable means credit could not be assigned; (Other) is an aggregated row due to cardinality limits.
The Attribution models report lets you compare side by side how different models allocate credit across channels. You can select the models to compare and see the percentage of credit each channel receives under each model. This report helps you understand the impact of switching from a last-click model to data-driven attribution.
Data in these reports is available from June 14, 2021 onwards. The Key event attribution paths report includes paths up to 20 touchpoints long. See the Key event attribution paths report help page for more details.
Frequently Asked Questions
What Is A GA4 Attribution Model And How Does It Work?
An attribution model is a rule or algorithm that determines how credit for conversions is assigned to touchpoints along a user's path. GA4 offers three models: data-driven (machine learning), paid and organic last click, and Google paid channels last click. The model you select affects how key event reports and explorations distribute credit.
How Does Data-Driven Attribution Differ From Last-Click Models?
Data-driven attribution uses your account's historical data and machine learning to assign fractional credit based on each touchpoint's actual influence. Last-click models give 100% credit to the last non-direct interaction (or last Google Ads click). Data-driven adapts to performance changes and provides a more granular view of the customer journey.
Can I Change The Attribution Model For Historical Data?
Yes. Changing the reporting attribution model in Admin > Data display > Events > Attribution settings applies to both historical and future data in GA4 reports. However, data-driven attribution is only available for paths from November 1, 2021 onward. If you select a date range before that, you will see partial data.
What Is The Key Event Lookback Window And How Do I Set It?
The lookback window determines how far back a touchpoint is eligible for attribution credit. You can set it in Attribution settings. For acquisition key events (first_open, first_visit), the default is 30 days (can be 7). For all other key events, the default is 90 days (can be 30 or 60). Changes apply going forward.
How Do I Compare Different Attribution Models In GA4?
Use the Attribution models report under Advertising > Attribution. Select the models you want to compare to see side-by-side credit allocation across channels. You can also switch models in the Key event attribution paths report to visualize how credit shifts for each path segment.
What Are Unattributable Dimensions In The Conversion Paths Report?
When Analytics cannot assign a dimension value, it shows (not set), Unassigned, Direct, Unattributable, or (Other). (Not set) means missing data; Unassigned means no channel rules matched; Direct means no path data; Unattributable means credit cannot be assigned; (Other) is an aggregated row due to cardinality limits.
What Happened To The First Click And Linear Attribution Models?
Google deprecated the first click, linear, time decay, and position-based models in November 2023. They are no longer available. The only models now available are data-driven, paid and organic last click, and Google paid channels last click.
Related GA4 Guides
- What Is Cross-Network In Google Analytics 4?Cross-network in Google Analytics 4 is a default channel group for ads running on multiple networks. Learn what campaigns land here and how to analyze them in your reports.
- What Is Unassigned Traffic In GA4?Unassigned traffic in Google Analytics 4 means no channel rule matched your session. Learn why it happens and how to fix it with UTMs, GTM triggers, and custom channel groups.
- Active Users In GA4: What They Are And How They Are CountedLearn what an active user in Google Analytics 4 is, how GA4 counts active users vs total users, and where to find daily, weekly, and monthly active user metrics.
- What Is A Session In Google Analytics 4?What is a Google Analytics session? Learn how GA4 defines sessions, when they end, how to change timeout, and why session counts differ from Universal Analytics.
- Engaged Sessions And Engagement Rate In GA4Learn how GA4 engagement rate is calculated from engaged sessions, what counts as engaged, and how to add the metric to your reports. Practical guide for marketers.
More in Reports & Traffic or browse all GA4 guides.