> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/assets-library/creating-and-managing-triggers/list-of-trigger-criteria/minimum-pages-viewed-criterion.md).

# Minimum Pages viewed criterion

This article will show you how to use this Trigger criterion.

The Minimum pages viewed criterion is a triggering criterion that enables defining a [segment](https://docs.abtasty.com/assets-library/creating-and-managing-segments.md).

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

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

The minimum pages viewed is a criterion that allows you to trigger your campaign based on a specific number of pages viewed by your visitors. It helps build your strategy around visitors' engagement wherever our tag can count those visited pages.

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

You have to first select the right operators. You have two solutions, either:

* `is equal to or greater than`
* `is equal to or lower than`

In the value field, you just have to declare the right number of pages that will fit your use cases.

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

<img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2Fgit-blob-c0bba5935c35a4d93673f97430231041ed15cc36%2F91ab1742ef0463eaf335949fea3e4b2b.png?alt=media" alt="" width="563">

Let’s imagine you want to target visitors that wander on your website. You could set a trigger based on your average number of visited pages’ number to identify visitors that spend more time than average. If that number is `5`, you could set the configuration to `6` to display the campaign to visitors that exceed that number.

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

ABTasty gets this information from our main `ABTasty` cookie. We have a specific key `pvis` (that stands for “Pages viewed in Session”) that stores this information. Every time a visitor visits a new page, this number is incremented.

**Need additional information?**

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

Always happy to help!

<img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2Fgit-blob-b64a4880e8b3bef768254b2ffaa55a46ea3df702%2F4bf9153d56d8a6c14b040ec2699cc933.png?alt=media" alt="" width="146">


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.abtasty.com/assets-library/creating-and-managing-triggers/list-of-trigger-criteria/minimum-pages-viewed-criterion.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
