# Cart Abandonment criterion

The Cart Abandonment 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).

## 📖 Definition <a href="#h_01hhmh23k6521r1wyqb0tb6x6y" id="h_01hhmh23k6521r1wyqb0tb6x6y"></a>

The **Cart Abandonment** segment criterion allows you to create a segment to restrict the visibility of a campaign to visitors who initiate a card without validating it during the previous session.

## ⚙️ Configuration <a href="#h_01hhmh23k7k4v0krqj6b1r23b5" id="h_01hhmh23k7k4v0krqj6b1r23b5"></a>

This criterion is derived from the transaction tag and specific [***Product Hits integration***](/account/technical-implementation/how-to-integrate-product-hits/product-hits-integration-principles.md), which enables AB Tasty to pinpoint the audience. In order to use this criterion, you need to setup those hits first.

Once done, go to the segment builder and choose the Cart Abandonment criterion in the list of criteria.

<img src="/files/0801VnyfSPvNUcENg17p" alt="" width="563">

Then you must first select one value from the first drop-down list: `has` or `has not`, depending on which visitors you want to target. You have two options :

1. the ones who abandoned their cart during the previous session,
2. the ones who did not abandon their cart during the previous session, which means visitors who did not engage a cart previously on your website.

Additionally, you can refine the abandoned cart targeting by adding advanced conditions (by clicking the **`+Add condition`** option), which will help you define the audience more precisely.

You have two options here:

* Number of products
* Total cart amount

## 💡 Use case <a href="#h_01hhmh23k78cbewypnqhwfsv9d" id="h_01hhmh23k78cbewypnqhwfsv9d"></a>

<img src="/files/moc2PLj0E9dSyQZ8b58A" alt="" width="563">

In this example, your campaign will be displayed for visitors who initiated a cart greater than 300€ during their previous session. To reassure your visitors about ordering from your website, you may want to highlight your fidelity/return policies better on your website when they return.

**Need additional information?**

Submit your request at <product.feedback@abtasty.com>

Always happy to help!

<img src="/files/w27vI0ffXH6GLBTgbbbE" alt="" width="146">


---

# 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/cart-abandonment-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.
