# Data-driven attribution

Also called: DDA, algorithmic attribution, data-driven model

Data-driven attribution is a multi-touch model that learns how much credit each touchpoint deserves from your own data, instead of using a fixed rule. It compares paths that converted with paths that did not and gives more credit to the interactions linked to a higher chance of converting.

## How it is calculated

In Google Analytics 4 it is one of three attribution models, next to paid and organic last click and Google paid channels last click. Google's [GA4 attribution page](https://support.google.com/analytics/answer/10596866) says it uses machine learning to evaluate converting and non-converting paths, compares what happened with what could have happened without an interaction, and weighs factors such as time from the key event, device type, number of ad interactions and the order of ad exposure. In Google Ads it is the default model for most conversion actions, per [About attribution models](https://support.google.com/google-ads/answer/6259715); every conversion action is eligible, and Google recommends at least 200 conversions and 2,000 ad interactions in 30 days for best results, per its [data-driven attribution page](https://support.google.com/google-ads/answer/6394265).

Outside Google, two methods are common. Shapley values average each channel's added contribution over every combination of channels. Markov chains measure how many conversions are lost when a channel is removed from the paths, the removal effect, and share the credit in proportion.

```
removal effect = 1 − (conversion rate without the channel ÷ conversion rate with all channels)
channel share = removal effect ÷ sum of all removal effects
```

## Example

Paths through your channels convert 4% of the time. Removing email from the paths drops that to 3%, a removal effect of 1 − 3 ÷ 4 = 0.25. Removing paid search drops it to 3.6%, an effect of 0.10, and removing organic search drops it to 2.4%, an effect of 0.40. The effects add up to 0.75, so of $10,000 in revenue organic search is credited with 0.40 ÷ 0.75 = $5,333.33, email with $3,333.33 and paid search with $1,333.33.

## Common mistakes

- Treating it as cause. It learns which paths tend to convert, not which ads caused the conversion; a lift test that pauses a channel is the check.
- Expecting it to see everything. It only weighs the touchpoints it recorded, and an ad platform's model sees that platform's own ads best.
- Trusting it on low volume. Google Ads makes every conversion action eligible whatever its volume, but with few conversions the learned weights swing from month to month.
- Not being able to explain it. The weights are not shown as a rule you can check, so a shift in channel credit can come from the model rather than from customers.

## How CrispStats shows it

CrispStats does not offer data-driven attribution and does not model credit. Each payment is credited to the first touch known for the visitor, and revenue and [revenue per visitor](/glossary/revenue-per-visitor) are shown for every source, campaign and landing page. With a daily rotating visitor hash by default, most paths are too short for a learned model to mean much; the [marketing attribution software](/analytics/marketing-attribution-software) page says when a dedicated platform fits better.

## Related terms

- [Multi-touch attribution](/glossary/multi-touch-attribution)
- [Attribution model](/glossary/attribution-model)
- [Last-touch attribution](/glossary/last-touch-attribution)
- [Attribution window](/glossary/attribution-window)
- [Statistical significance](/glossary/statistical-significance)
- [Return on ad spend (ROAS)](/glossary/return-on-ad-spend)
