---
title: "What is Segmentation?"
slug: "what-is-segmentation"
updated: 2024-08-22T06:17:16Z
published: 2024-08-22T06:17:16Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What is Segmentation?

Segmentation helps you display Flows that are relevant to users on a particular page. Segmentation, as the name implies, provides a way of targeting Flows to specific users using widgets such as Self Help and Task List. Segments can be defined by various conditions and rules. For example, a segment can be built to filter your Flows as per user login, URL, elements on the screen, and/or a mix of several criteria.

## Use Cases

Segments may be used to display Flows based on any or all of the following:

- A particular group of user logins
- Current tab the user is in
- Visual elements on the page
- Any variable you define

For example, if your page has two different tabs: Leads and Contacts, using segments, Whatfix enables you to display different Flows depending on which tab the user navigates to.

![clm_segmentation_sh](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/clm_segmentation_sh.png)

![CLM_Segmentation_sh_contact](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/CLM_Segmentation_sh_contact.png)

## Create a Segment

Segments can be created through a simple selection of Flows and Visibility Rules. To segment Flows, manually select all the necessary Flows to display on a page. Segmentation can be performed using tags as well. Tags can be as simple as a user group or the page/module name. Segmentation of Flows can be done using single or multiple tags.

Whatfix performs segmentation on the basis of visual elements in your application. Whatfix displays Flows on elements present (or absent) in the web application.

## Perform Segmentation

Use the following steps to create a widget segment:

1. On the Whatfix Guidance dashboard, click **Widgets**. ![ia_left_nav_widgets2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left_nav_widgets%282%29.png)
2. Click **All widgets**. ![ia_widgets_all_widgets1](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_widgets_all_widgets%281%29.png)
3. Click **Create widget**. ![CLM_DB_CreateWidget2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/CLM_DB_CreateWidget%282%29.png)

1. Select **Self Help** or **Task List**. ![clm_db_create sh](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/clm_db_create%20sh.png)
2. Enter the segment name. ![RB_DB_New_Segment](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/RB_DB_New_Segment.png)

The visibility rules for Segmentation can be set based on three elements of your application.

| Segmentation Based On | Description |
| --- | --- |
| URL | Enables you to organize the Flows as per the content on your URL. |
| Elements on the page | Enables you to provide your own CSS selector identifier for the element. |
| Window Variable | Enables you to identify the page using the value of a particular Javascript global variable. Example: If you want to segment content for an Admin user role, use window.user.role='admin' |

For more details on the conditional elements, see [Visibility and Display Rule Conditions](/studio/docs/visibility-and-display-rule-conditions-1)

## Add Content to a Segment

Whatfix enables you to choose Flows individually to be added in a Self Help or Task List segment. To add Flows, use the **Select** option while creating the segment and select the Flows to be displayed.

![clm_task list_select articles](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/clm_task%20list_select%20articles.png)

          **Note**

          

For more information on creating Self Help and Task List segments, see

- [Create a Self Help Segment](/studio/docs/create-a-self-help-segment)
- [Create a Task List Segment](/studio/docs/creating-a-task-list-segment)

You can select all Flows to be displayed in that particular segment or select Flows based on specific tags you have created. See, [Add content to widgets using tags](/studio/docs/create-role-or-page-based-tags).

          **Note**

          

By default, Whatfix enables you to create up to 75 segments in each widget. If your account reaches the limit, you will see [Error: Maximum number of segments reached](/studio/docs/error-maximum-number-of-segments-reached). The link explains how you can increase the maximum number of segments in each widget.

## Related

- [Tags for Segmentation](/segmentation-using-tags.md)
