> ## 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 default attribution model and which evidence counts, with its window. Reading never changes anything.

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

**Store must have one of:** `EMAIL_SMS`

## Returns

**attributionSettings** `[AttributionSettings!](/docs/api-reference/v3/reference/marketing/attribution-settings)` *required*

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

**fields**

**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.

## Example

```graphql theme={null}
query {
  attributionSettings {
    defaultModel
  }
}
```


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