# Записать событие в статистику

{% hint style="info" %}
Сбор статистики позволяет отслеживать воронки ваших сценариев. Так вы можете посмотреть, на каком этапе продажи клиенты уходят и изменять сценарии, чтобы удерживать их.
{% endhint %}

Когда подписчик попадет на шаг **"записать событие"**, счетчик событий с указанным именем увеличится на единицу. Количество срабатываний этого события можно посмотреть в [разделе статистики](/rabota-s-podpischikami/sbor-statistiki.md).

Укажите уникальное имя события, чтобы отслеживать его:

![](/files/-M2wfZ5PxtcyQUpSNanB)

Подробный пример с применением этого шага в воронке продаж можно найти в статье [Сбор статистики](/rabota-s-podpischikami/sbor-statistiki.md#primer-otslezhivaniya-voronki-prodazh).


---

# 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.smartbot-vk.ru/sozdanie-scenariev/shagi/zapisat-sobytie-v-statistiku.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.
