> 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/user-flow.md).

# User flow

The User flow page gives detailed information about the user journey through the bot.

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

## General user flow

Every time a user starts a new session, all of the blocks they run through are counted and summed up to form these analytics. You can also see where users dropped out of the chatbot flow.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2Fv4JH1ipO2OQZMoTzWeOC%2FScreenshot%202024-06-04%20at%2012.00.39.png?alt=media&amp;token=203c1dc4-fe8d-473a-946b-6a74b6a65d56" alt=""><figcaption><p>User flow.</p></figcaption></figure>

{% hint style="info" %}
Use this information to improve your bot:

* Are users indeed taking the route you mapped out while building the bot? Are there any discrepancies? What is the cause of these differences?
* Is there a very high dropoff point at a certain block? See how you can improve this block, perhaps the information is not clear or the user is stuck.
  {% endhint %}

## Detailed block flow

This page shows how to user exactly arrived at that specific block, and which block they used afterwards.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FE1KRgllSwUicZOFcr9GT%2Fdownload.gif?alt=media&amp;token=cb5bab7a-021d-490c-aa71-c12257866931" alt=""><figcaption><p>Detailed block flow.</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chatlayer.ai/navigation/analytics/user-flow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
