> For the complete documentation index, see [llms.txt](https://interactively.gitbook.io/interactively-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interactively.gitbook.io/interactively-docs/build/conditional-branching.md).

# Conditional Branching

{% hint style="info" %}
Conditional Branching is available on our **Growth** and **Enterprise** plans.
{% endhint %}

### What is Conditional Branching?

Conditional branching allows you to create different paths based on specific conditions or user choices. Select different interest areas or features within your demo to create a bespoke demo path for every visitor.

### How can I add branching paths in my demo?

* **Hotspot/callout branching:** Add multiple hotspots or callouts to a demo step, each directing viewers to a different step. &#x20;
* **Chapter Branching:** Add multiple buttons to a chapter, each linking to a different step or an external page.

{% hint style="info" %}
**Tip:** Create multiple chapters and branches in a single demo for an even more engaging and personalized experience.
{% endhint %}

### What insights can I gather from Conditional Branching?

In [**Step Analysis**](/interactively-docs/track-and-analyze/advanced-demo-analytics.md), steps with branches will display a branch icon. Hovering over the branch will show you:

* **View rate:** The total unique views for the step.
* **Drop-off:** The percentage and total number of visitors who exited after the previous step.
* **Branches:** The different paths and their destinations.
* **Visitor engagement:** The percentage and total count of visitors who selected each path.

Then, analyze each path visitors selected to identify engagement rates and drop-off percentages.&#x20;


---

# 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://interactively.gitbook.io/interactively-docs/build/conditional-branching.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.
