Analytics

To display client actions from the bot in the "Analytics" section, you can use event and value settings for analytics in the block settings within the Builder.

When you click the "Analytics" button, a data input form opens:

with fields:

Event category – a general name for certain events in the bot:

For example, categories in the bot may include:

a) General actions: arrived, purchased, paid; b) General product categories: women's clothing, men's clothing, footwear, household goods, etc.; c) Service categories: haircuts, manicures, etc.

This field is optional for configuration.

Event name, for which statistics will be collected (Required field!).

A specific item from a general category.

For example, within the general actions category: a) arrived: from the Telegram bot, from the VK bot, from the WhatsApp bot; b) purchased: product1, product2, product3, etc.

This field is mandatory.

You can then specify a value for the event in the bot: for example, the client paid a specific amount, purchased a certain quantity of products, etc.:

Event value – a number or a client/deal variable specified in the format #{cost}:

  1. Specifying a numeric value:

  1. Specifying a value via a variable:

The data is grouped (summed) by event name and category.

When a client goes through a block where events are configured, you can view the data in the "Analytics" section:

You need to create a widget in the "Clients" section:

Next, select the necessary settings:

  1. Specify the analytics period

  2. Enter the widget name

  3. Choose the data visualization type for the analytics (pie chart, bar chart, etc.)

  4. Select the data to be displayed in the widget:

Next, follow these simple steps to set up analytics event tracking from the chatbot:

Step 1. Select the Conversions tab:

Step 2. Specify the methods for calculating Analytics data:

What to count – calculation parameters for each step:

  • Quantity – the number of clients who went through the selected event.

  • Sum of values – the total sum of the event values for all clients who went through it. This can show the quantity of goods sold or the total revenue from sales.

  • Average value – the average event value for all clients who went through it. This can show how many units of a product are sold on average per client.

  • Median value – the median event value for all clients who went through it. This provides a more accurate average by excluding extreme values.

How to calculate percetages

  • Count from the % previous step.

  • Count from the first step.

Step 3. Add a step for calculation:

Step 4. Select the category (if any) and the event that you previously specified and saved in the bot block:

If you need to display only a specific event value, enter the required value in the "Event value" field:

If you want to display all values, leave the field empty.

Other analytics features in MaviBot are explained in the article "MaviBot Analytics."

Last updated