# Engagement Level criterion

The Engagement Level criterion is a segmentation criterion that enables defining a [segment](/assets-library/creating-and-managing-segments.md).

To learn how to create a segment, please refer to this [article](/web-experimentation-and-personalization/targeting-step/how-to-create-a-segment-who-section.md).

{% hint style="warning" %}
This segment criterion is not in real time. The patterns identification of your visitors' behavior will be processed in the hour following the launch of the first campaign using this criterion.
{% endhint %}

{% hint style="info" %}
This segment criterion was originally designed for e-commerce websites but it can also be applied to lead-generation sites.

If no transaction tracking is available on the account, engagement is estimated based on the number of visits.&#x20;
{% endhint %}

### Definition <a href="#h_01hhmbzw71gvg9cks9qjyyzwr1" id="h_01hhmbzw71gvg9cks9qjyyzwr1"></a>

The Engagement level segment criterion allows you to control campaign visibility according to how engaged they are with your website.&#x20;

### Configuration <a href="#h_01hhmbzw72nzzf5j9ahjstags5" id="h_01hhmbzw72nzzf5j9ahjstags5"></a>

This criterion is based on data from the Universal Collect of AB Tasty. According to the behavior of the visitor on the website, AB Tasty is able to sort them into four categories.

Visitors who recently visited the website will be evaluated. The association of the `visitorId` and the segment will be stored and remain available for actual segmentation when they visit the website again. The visitor can be categorized after their second visit to the website.

These automatically built-in models help you increase the Engagement Level of your visitors by pushing messages or promotions via a campaign.

<img src="/files/GUYXpsKG0tSOGLy16agH" alt="" width="375">

The category to which the visitor has been assigned is not definitive. It will change over time, depending on their actions on the website. The category affectation will not change during the visit, but it will be updated after the next visit.

The categorization will happen during the **second visit** and will last 7 months. During their first visit, a visitor will not be affected to any of the Engagement Level categories.

Here is the list of data used to dispatch your visitors into four levels:

| **Criteria**                                      | **Explanation**                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **visitNumber**                                   | Number of sessions performed by the user                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **highest amount of time on site in one session** | <p>The highest amount of time spent by the user during his last session</p><p><br>For example, if the user had three sessions of 4 minutes, 2 minutes, and 15 minutes each, the value of this metric will be <strong>15</strong>.</p>                                                                                                                                                                                                                         |
| **average time on site per session**              | <p>Average amount of time spent by the user during his last sessions<br></p><p>For example, if the user had four sessions of 4 minutes, 2 minutes, 15 minutes, and 3 minutes each, the value of this metric will be <strong>7</strong>.</p><p>Another user that would have had three sessions of 5 minutes, 7 minutes, and 8 minutes each would have the same average of 7, but not the same highest time.</p>                                                |
| **highest number of page views in a session**     | <p>The highest number of pages viewed by the user during his last sessions<br></p><p>For example, if the user had three sessions of 4 page views, 2 page views, and 15 page views each, the value of this metric will be <strong>15</strong>.</p>                                                                                                                                                                                                             |
| **average page views per session**                | <p>The average number of pages viewed by the user during his last sessions<br></p><p>For example, if the user had four sessions of 4 page views, 2 page views, 15 page views, and 3 page views each, the value of this metric will be 7.</p><p>Another user who would have had 3 sessions of 5 page views, 7 page views, and 8 page views each would have the same average of 7, but not the same highest number of page views.</p>                           |
| **ratio of bounces of the user**                  | <p>Percentage of bounced sessions <br><br>For instance, if the user had three sessions, one session with multiple pageviews, another session with multiple pageviews, and one session which is a bounce (1-page view), the ratio of bounces will be <strong>33%</strong>.</p>                                                                                                                                                                                 |
| **count of transactions made by the user**        | <p>Number of transactions made during the user’s last sessions<br></p><p>For instance, if the user had three sessions: 2 sessions with no purchase and 1 with one purchase, the count of transactions will be <strong>1</strong>.</p><p>This feature is useful to spot loyal visitors who tend to have a low transaction ratio because they often visit the website without buying. But in the end, they are still buying a lot more than other visitors.</p> |
| **ratio of transactions**                         | Number of sessions with one or more purchases divided by the total number of sessions                                                                                                                                                                                                                                                                                                                                                                         |
| **average number of hits by session**             | The average number of hits recorded during the visitor’s last sessions                                                                                                                                                                                                                                                                                                                                                                                        |

### Categories <a href="#h_01hhmbzw71gvg9cks9qjyyzwr1" id="h_01hhmbzw71gvg9cks9qjyyzwr1"></a>

The algorithm creates 4 categories based on the criteria listed above:

| **👤 Segment name** | **🔍 Description**                                                                                                                                                                                                                              |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **😒 Disengaged**   | Visitors who have either bounced or have very little interaction on your website. Bouncing visitors are visitors who enter a website and then leave (“bounce”) without visiting any other page within the same website. It is the lowest level. |
| **😐 Wanderers**    | Visitors who are mildly engaged on your website but do not convert or transact.                                                                                                                                                                 |
| **😊 Valuable**     | Visitors who are engaged and have converted at least once compared to the overall traffic of the website.                                                                                                                                       |
| **😍 Loyal**        | Most engaged and highest converting visitors compared to the overall traffic of the website. This is the highest level.                                                                                                                         |

### How does it work? <a href="#h_01hhmc43v1g286xa2yqd2s4nt7" id="h_01hhmc43v1g286xa2yqd2s4nt7"></a>

The Engagement Level segmentation uses a Machine Learning (ML) process to organize visitors into segments: **Disengaged**, **Wanderer**, **Valuable** and **Loyal**. The criteria to start using the Engagement Level segmentation is to have at least two buying cycles of historical data, but the more data you have available to train the AI cluster model, and the more diverse and representative that data is, the more mature and accurate the model is likely to be.

The **training part** of the service builds the AI cluster model based on historical data from **the past 190 days** and updates the model every **28 days**. If you have more than 190 days of historical data available, the AI cluster model should be mature enough to be accurate and will continue to improve with each update. For businesses with short buying cycles, like fast fashion, it should take less time to reach that level of maturity. However, it is also important to ensure that the data is of high quality and relevant.

The **serving part** of this ML puts visitors into one of the four segments, it is scheduled to run **daily** on visitors that have recent sessions.

It is difficult to give a specific timeline for how long it will take for an AI cluster model to mature, as this can depend on a variety of factors, including the quality of the data being used to train the model, the type of business and length of the typical buying cycle.

### Use case <a href="#h_01hhmbzw726pjq209zc5dh2g6y" id="h_01hhmbzw726pjq209zc5dh2g6y"></a>

Each category can match a specific use case:

* **Disengaged**: you can limit the number of bounces by creating a retention modal with a special offer, targeted towards this specific segment
* **Wanderers**: you can boost their engagement by creating a feeling of urgency and drawing their attention to the products’s low stock level
* **Valuable**: you can activate special offers to encourage another purchase on the website
* **Loyal**: take care of this precious cluster by offering to recognize their loyalty with a specific welcoming message


---

# 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.abtasty.com/assets-library/creating-and-managing-segments/list-of-segment-criteria/engagement-level-criterion.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.
