# Creating a saved page

The creation of saved pages is useful for declaring the url structure of your site's pages once, and then using these saved pages as a targting criterion or filter in reporting.

For more information about saved pages usage in the application, please refer to our tutorial about [saved pages and pages builder](/assets-library/creating-and-managing-saved-pages.md).

You'll find the [**Page builder** ](https://app2.abtasty.com/library/page-list)in the section **Library** of the application.

## Creating a new page <a href="#h_01hvvackcrvy9pcrxjjn2m72f1" id="h_01hvvackcrvy9pcrxjjn2m72f1"></a>

To create a Page, click on the CTA **Create Page**. The builder opens:

<figure><img src="https://support.abtasty.com/hc/article_attachments/14280484160796" alt=""><figcaption></figcaption></figure>

You need to enter:

* a name for your Page. *Ex: "Product pages"*
* the configuration based on URL(s) using the available **8 operators** (is, is exactly, contains, is regular expression, is not, is not exactly, does not contain, is not regular expression). For more informatino about how to use the operators to build your URL pattern, please refer to the article [***How to use URL operators to build URL patterns***](/web-experimentation-and-personalization/targeting-step/how-to-use-url-operators-to-build-url-patterns.md).

A Page must include at least one URL(s) rule and can exclude one or several URL(s) rules.

{% hint style="info" %}
**⭐ Good to know**

You can combine inclusive operator(s) (is, is exactly, contains, is regular expression) with exclusive operator(s) (is not, is not exactly, does not contain, is not regular expression).

In this case, a website’s URL has to match:

* **All** the exclusion rules
* **Some** (almost one) of the inclusion rules
  {% endhint %}

### URL configuration examples <a href="#id-01hzez4ecz63rjs99781sk1ebr" id="id-01hzez4ecz63rjs99781sk1ebr"></a>

To configure the page URL(s), you can choose from the following operators:\\

| **Operator**                  | **Functional: accepts...**                                                                                                                                                                                                                                                                    |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **is**                        | <p>Includes all URLs matching the string, even if they include parameters.<br>⚠️ With this operator, the page is accepted no matter which parameters are included in the URL. Therefore, you cannot write any particular parameter in this field.<br>Example: <https://mydomain.com/cart></p> |
| **is exactly**                | <p>Includes the URL matching the exact string. Parameters that are not mentioned in the string are not taken into account.<br>💡 This field accepts parameters as an option.<br>Example: <https://mydomain.com/cart></p>                                                                      |
| **contains**                  | <p>Includes all URLs containing the string. Parameters following the string will also be taken into account.<br>Example: /product/</p>                                                                                                                                                        |
| **is not**                    | <p>Excludes all URLs matching the string, even if they include parameters.<br>⚠️ This field doesn’t accept parameters.<br>Example: <https://mydomain.com/cart></p>                                                                                                                            |
| **is not exactly**            | <p>Excludes the URL matching the exact string.<br>💡 This field accepts parameters as an option.<br>Example: <https://mydomain.com/cart></p>                                                                                                                                                  |
| **does not contain**          | <p>Excludes all URLs containing the string. Parameters following the string will also be taken into account.<br>Example: /product/</p>                                                                                                                                                        |
| **is not regular expression** | <p>Excludes all URLs matching the regex. You don’t need to escape special characters of your regular expression.<br>Example: <https://www.example.com><br>/products/(.\*)--(\[0-9]{5})</p>                                                                                                    |

#### Inclusion(s) only <a href="#h_01hvvackcrqcc3jd420skznccx" id="h_01hvvackcrqcc3jd420skznccx"></a>

If you include one or several specific URL(s), all the other URLs will automatically be excluded from the set-up. At least one of them has to match.

#### Combination of inclusions and exclusions <a href="#h_01hvvackcr7x2rhw6ecv1vvvr0" id="h_01hvvackcr7x2rhw6ecv1vvvr0"></a>

You can combine inclusive operator(s) (is, is exactly, contains, is regular expression) with exclusive operator(s) (is not, is not exactly, does not contain, is not regular expression).\
In this case, to be accepted in the targeting, a website’s URL has to match:

* *All* the exclusion rules
* *Some* (Almost one) of the inclusion rules

For example, to set-up a saved page that represents all the pages of your website except product pages, apply the following steps:

1. Select *contains* > *<http://mydomain.com>*.
2. Click *Add condition*.
3. Select *does not contain* > */product*/

{% hint style="info" %}
**⭐ Good to know**

Adding exclusions only is not possible. To work properly, the set-up has to be filled with almost one inclusion condition.
{% endhint %}


---

# 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/how-to-create-a-saved-page.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.
