# Course analytics

In the "Analytics" section you can view statistical data on created courses.

<div data-with-frame="true"><figure><img src="/files/d6suLLgvDoKMgnXTILni" alt=""><figcaption></figcaption></figure></div>

You can view statistics based on various criteria and for any existing MaviBot course in the project.

## How to create a widget in the "Course" section

To view course statistics, you need to create a widget and configure specific settings.

Go to the "Courses" tab in the "Analytics" section and click "Create widget."

<div data-with-frame="true"><figure><img src="/files/ZoVy8wRwDXS4Cvbs5WFV" alt=""><figcaption></figcaption></figure></div>

Or click the "Add your widget" tab.

Here you will find the functionality for adding a new widget. Click the tab to open widget settings menu.

<div data-with-frame="true"><figure><img src="/files/b5qYKUlyNolWn3xgvRHI" alt=""><figcaption></figcaption></figure></div>

## Settings

1. The **Analytics period** is the time frame for which the system calculates statistical data.&#x20;

<div data-with-frame="true"><figure><img src="/files/6B2izRXe4uSDHBueGB8r" alt="" width="563"><figcaption></figcaption></figure></div>

**Note!**&#x20;

* The monthly period shows data from the 1st of the current month up to today. For example, if today is May 6th, the "Month" setting will show data from May 1st to Mayr 6th.

<div data-with-frame="true"><figure><img src="/files/1Mmca8YFMBeDc9xtvMU4" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="success" %}
Please note!

If you select statistics for the month on the 2nd day of this month, the data will show the period from the 1st day up to the current day (i.e., the 2nd).
{% endhint %}

* The yearly period shows statistics for the current year, from January 1st of year N up to today. For example, from January 1, 2026, to May 6, 2026.

<div data-with-frame="true"><figure><img src="/files/4kgvNqFiQKYo4NypPgV0" alt="" width="563"><figcaption></figcaption></figure></div>

2. Widget name.\
   Enter a widget name to save your settings.

<div data-with-frame="true"><figure><img src="/files/pAfr24h4NxxQuvy2c78g" alt="" width="563"><figcaption></figcaption></figure></div>

3. Display statistics.\
   this setting helps you choose which data to show in the widget.

<div data-with-frame="true"><figure><img src="/files/87iRkI3c3zoqz880kUKz" alt="" width="563"><figcaption></figcaption></figure></div>

4. Course and plan selection.

<div data-with-frame="true"><figure><img src="/files/hMBZcwbY8msUsBG8jyBY" alt="" width="563"><figcaption><p>The course selection</p></figcaption></figure></div>

If you’ve selected a course to display statistics, you can also choose which course plans to include.

<div data-with-frame="true"><figure><img src="/files/2iNOczUwkQ9fiUxrvsVD" alt="" width="563"><figcaption></figcaption></figure></div>

All courses you’ve created in MaviBot are available for viewing in the widget (limited to one course per widget). However, analytics for a single course can be viewed across multiple plans available within that course.

5. Chart type is the visual representation of statistical data based on the selected graphical option.

<div data-with-frame="true"><figure><img src="/files/vFR7ZKmbSbrQGCmqUm5m" alt="" width="375"><figcaption></figcaption></figure></div>

After setting up the widget, click the “Add widget” button.

<div data-with-frame="true"><figure><img src="/files/FaKwrblZby2ALurNF95K" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="success" %}
Now you know how to monitor your course statistics and configure widgets.
{% endhint %}

## Extra information

You can also monitor the number of enrolled students and earnings in the "Courses" section.

<div data-with-frame="true"><figure><img src="/files/dci458rDcSZEDdFb4Qjs" alt=""><figcaption></figcaption></figure></div>

The course card displays the following:

1. Number of lessons;
2. Number of students;
3. Total earnings generated from the course.

Clicking on the "Earnings" figure will take you to the Analytics section, under the Courses tab.


---

# 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.mavibot.ai/lms/course-analytics.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.
