# Модели атрибуции

Модели атрибуции — это правила по которым достижения целей, конверсии и прочие события присваиваются конкретному источнику трафика.

Представим ситуацию, у вас есть три источника трафика (пользователей):&#x20;

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center">Каталог ботов</td><td align="center"><mark style="color:blue;">catalog</mark>   </td></tr><tr><td align="center">Сайт компании</td><td align="center"><mark style="color:purple;">site</mark></td></tr><tr><td align="center">Реклама в TG ADS</td><td align="center"><mark style="color:orange;">ads</mark></td></tr></tbody></table>

1. Пользователь находит вашего бота в каталоге ботов и запускает его, источник пользователя будет "<mark style="color:blue;">**catalog**</mark>**"**. После этого он блокирует бота.
2. Спустя время находит ваш сайт, видит на нем ссылку на бота и снова запускает его. Источником будет “<mark style="color:purple;">**site**</mark>”. (Либо вы можете настроить [перенос меток с сайта](https://graspil.com/ru/post/utm-from-site-to-bot))
3. Через пару дней он видит вашу рекламу в TG ADS, переходит по ссылке в бота и совершает покупку на 100$. Источник = "<mark style="color:orange;">**ads**</mark>"

Какому источнику в этом случае нужно присвоить конверсию покупки? <mark style="color:blue;">**Catalog**</mark>, <mark style="color:purple;">**site**</mark> или <mark style="color:orange;">**ads**</mark>?

Для таких случаев и существуют модели атрибуции. Эти модели позволяют задать правила по которым присваивается достижение цели нужному источнику.

## Какие существую модели атрибуции?

В graspil есть 3 типа атрибуции

1. Первый запуск
2. Последний запуск
3. Последний значимый запуск

### Первый запуск

Это первый запуск бота пользователем в цепочке. В этом случает источником событий будет <mark style="color:blue;">**catalog**</mark>

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center">Каталог ботов</td><td align="center"><mark style="color:blue;">catalog</mark>   </td><td align="center"><mark style="color:green;"><strong>100$</strong></mark></td></tr><tr><td align="center">Сайт компании</td><td align="center"><mark style="color:purple;">site</mark></td><td align="center"><mark style="color:red;"><strong>0$</strong></mark></td></tr><tr><td align="center">Реклама в TG ADS</td><td align="center"><mark style="color:orange;">ads</mark></td><td align="center"><mark style="color:red;"><strong>0$</strong></mark></td></tr></tbody></table>

### Последний запуск&#x20;

Это последний запуск бота  в цепочке. В этом случае источником будет <mark style="color:orange;">**ads**</mark>

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center">Каталог ботов</td><td align="center"><mark style="color:blue;">catalog</mark>   </td><td align="center"><mark style="color:red;"><strong>0$</strong></mark></td></tr><tr><td align="center">Сайт компании</td><td align="center"><mark style="color:purple;">site</mark></td><td align="center"><mark style="color:red;"><strong>0$</strong></mark></td></tr><tr><td align="center">Реклама в TG ADS</td><td align="center"><mark style="color:orange;">ads</mark></td><td align="center"><mark style="color:green;"><strong>100$</strong></mark></td></tr></tbody></table>

### Последний значимый запуск

В этом типе атрибуций будут фиксироваться только **запуски** и **возвраты**. Т.е первый запуск и повторный запуск после блокировки бота. Если бот уже был запущен и пользователь запустил его снова эта модель атрибуции не применится. В этом случае источником будет <mark style="color:purple;">**site**</mark>

<table data-view="cards"><thead><tr><th align="center"></th><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center">Каталог ботов</td><td align="center"><mark style="color:blue;">catalog</mark>   </td><td align="center"><mark style="color:red;">0$</mark></td></tr><tr><td align="center">Сайт компании</td><td align="center"><mark style="color:purple;">site</mark></td><td align="center"><mark style="color:green;"><strong>100$</strong></mark></td></tr><tr><td align="center">Реклама в TG ADS</td><td align="center"><mark style="color:orange;">ads</mark></td><td align="center"><mark style="color:red;"><strong>0$</strong></mark></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graspil.com/ru/app/attribution-models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
