> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/navigation/analytics/customers.md).

# Customers

{% hint style="info" %}
Not familiar with analytics? We recommend that you have a look at our [Analytics concepts](/bot-answers/definitions.md).
{% endhint %}

## Customers

The **Customers** tab is shows a graph of the number of total customers, new and returning ones.

{% hint style="success" %}
A [user ](https://docs.chatlayer.ai/bot-answers/analytics/definitions#user)is someone who sends at least one message to the bot, while a [returning user](https://docs.chatlayer.ai/bot-answers/analytics/definitions#returning-user) is someone who has had a conversation with the bot before this time period as well as during this time period.
{% endhint %}

<figure><img src="/files/KBJ6yqQiQHi49woi63mv" alt=""><figcaption><p>Customers tab.</p></figcaption></figure>

{% hint style="info" %}
Keep in mind that the amount of new and returning users are calculated based on `userId` (or `sessionId`). By default the web channel generates a random `sessionId`, but you could set a logical `sessionId` if you'd want to. Find out how in [this article.](https://docs.chatlayer.ai/channels/webwidget#sdk-options)
{% endhint %}

## Activity

The **Activity** tab shows first when during the day your customers are the most active.

<figure><img src="/files/O4YiJcjeOnfDhHdbRdcL" alt=""><figcaption><p>Activity tab per day.</p></figcaption></figure>

Another view shows when customers are the most active per hour.

<figure><img src="/files/p4TXbSKH0m1238fjruts" alt=""><figcaption><p>Activity tab per hour.</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.chatlayer.ai/navigation/analytics/customers.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
