> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AttributionSettings

> How this store attributes orders to its marketing messages: the settings on the Redo app's attribution page. Campaign and automation analytics follow them.

**Required scopes:** [`marketing_settings_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_settings_read), [`marketing_settings_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_settings_write)

**defaultModel** `[AttributionModel!](/docs/api-reference/v3/reference/marketing/attribution-model)` *required*

The model reports load first. Reports include every model either way.

**evidence** `[\[AttributionEvidenceSetting!\]!](/docs/api-reference/v3/reference/marketing/attribution-evidence-setting)` *required*

Every kind of evidence, switched on or off.

**fields**

**enabled** `Boolean!` *required*

Whether this kind of evidence is enough for a message to earn credit.

**type** `[AttributionEvidenceType!](/docs/api-reference/v3/reference/marketing/attribution-evidence-type)` *required*

The kind of evidence.

**window** `[AttributionWindow!](/docs/api-reference/v3/reference/marketing/attribution-window)` *required*

How far back from an order this evidence counts. Fixed for `CODE_REDEEMED` and `MEANINGFUL_CONVERSATION`.

**fields**

**unit** `[AttributionWindowUnit!](/docs/api-reference/v3/reference/marketing/attribution-window-unit)` *required*

The unit of `value`.

**value** `Int!` *required*

How many units, at least 1.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.