# Action & Custom Tracker criterion

The Action Tracker 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_01hhphh9wbn50vsk36ep2fr8sh" id="h_01hhphh9wbn50vsk36ep2fr8sh"></a>

The Action Tracker criterion enables you to create a segment of visitors who have (or haven't) completed an **Action Tracker** or **Custom Tracker** in the current or previous session(s) during the last 13 months.

## 🔎 How Does It Work? <a href="#h_01hhpcyeh3r9x758f97wt1cbn8" id="h_01hhpcyeh3r9x758f97wt1cbn8"></a>

With the tag, we created an object called `ABTastyData` **in Local Storage** that contains information about your visitors’ journey. Once a visitor has completed an Action Tracker or a Custom Tracker on your website, the information will be stored there under ActionTracker.

You can refer to the [***technical documentation***](https://developers.abtasty.com/docs/tag/tag-window#abtastyclicktracking-) to have more information.

<figure><img src="/files/nuNmY0K86gNVGx0NEkOX" alt="" width="563"><figcaption><p>Action &#x26; Custom Tracker in ABTastyData</p></figcaption></figure>

Note that since this information is stored in the local storage and thus historicized, the Action & Custom Tracker criterion is to be used as a segment and not a trigger.

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

To use this criterion, drag and drop the **Action & Custom Tracker** label inside the middle column of the segment builder. You will have to choose from the following operators to configure your segment, which will determine the operation behind the value you will declare:

* **`is`:** will include visitors who match the declared value. Here we are referring to users who interacted with a specific element during their navigation.
* **`is not`:** will exclude visitors who do not match the declared value. Here we are referring to users who did not interact with a specific element during their navigation.

Then enter the required value inside the number field. You have to enter the exact name (string) of the Tracker.

You can select one action tracker per line. To add another action tracker, you can click **`+Add condition`** and choose the action to be added from the dropdown. By choosing `some`, you will target all visitors who converted one or the other of the selected action trackers. By choosing `all`, you will target the visitors who converted both action trackers.

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

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

On certain websites, to join a loyalty program or confirm a newsletter subscription, visitors are asked to click a confirm button on a specific page. You can then choose this click tracking to create a new “subscriber” or “VIP member” segment.

**Need additional information?**

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

Always happy to help!

<img src="/files/NnhmJKjKLCtUhHkfgRAR" 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/action-tracker-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.
