# Statistics

{% hint style="info" %}
Collecting statistics allows you to track the performance of your scenario funnels. You can see at what stage of the scenario certain events occur: for example, users leave or, on the contrary, take a key action.&#x20;
{% endhint %}

You can enter the statistics section from the project menu, where all scenarios are presented.

![](/files/bwPjbn7Z0fWOMD432o4t)

In the interface of the section, you can choose what to display on the chart:&#x20;

* What event (or several events) are you interested in. For example, how many messages were received from users.&#x20;
* What time range is needed (several days, a week, a month, etc.)&#x20;
* How many events happened, or how many users participated in them.

![Интерфейс раздела "Статистика"](/files/x7dRF3Wte83DL5K9TFPd)

### How to collect statistics

In the list of events, we can choose from several categories:&#x20;

* **Blocks of statistics.** These are the events that we ourselves created using the "Record event in statistics" action.

![](/files/FB0AslxhNR9APtaXiRGN)

![](/files/ROkGBYxGrBcIesPRrBda)

![К примеру, здесь бот для сети зоомагазинов проводит опрос, какой у клиента питомец, и заносит в статистику варианты.](/files/heZRFvMP7KTdpUWTitqW)

The label names are the blocks of statistics that we can create and subsequently view on the chart.&#x20;

* General events

![](/files/rrF9F0EMUbNf5df1YmS4)

In this category, you can see how many specific actions your bot performed in a given period: how many messages were written, how many variables were set, etc.&#x20;

* Named Blocks

![](/files/9VWDLvB4ITjB3F5KNGXY)

Here, you can select a specific script block as a tracked event: how many times it was executed in a certain period.

![Например, здесь бот для зоомагазина с помощью блока записи в статистику фиксирует результат опроса пользователя ](/files/yYCpLMpTrnzXnF2Nypau)

* Special events&#x20;

In this section, your scheduled transitions (i.e., "schedule delayed transition" and "cancel" actions)

![](/files/xR3PC2hCT2QFGPIq8VR1)

You can select any number of events to display on the chart, as well as download the table as a file for each of the selected events.

![](/files/mEvgmiXkIzaNaUTEY3DM)

Now you know how to interact with statistics in Smartbot Pro!


---

# 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.smartbotpro.io/information-sections/statistics.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.
