# Prioritization rules

#### Explanation

* **Before to launch the test**, The AB Tasty's Tag checks the prioritization configured by the client on [/prioritization](https://app2.abtasty.com/prioritization) the goal is for the user can discover what are the campaigns with possible overlap with the campaign then set up a configuration to prioritize some of them.

#### How tag works

1. Firstly the tag check if the user has the cookie of an MPP test or MEP test on the page, if it's there we apply these tests **no matter the priority**, otherwise we continue with the step 2.
2. The tests are sorted by level priority as set by the user. If a test hasn't priority for the tag this test is priority 0 and **we always apply these tests with priority 0**.

<figure><img src="/files/7sHkKcpn6cAEL5hE3VdH" alt=""><figcaption></figcaption></figure>

1. We check if the user match with the tests on priority 1, otherwise we continue to downgrade of the level until finding a match

<figure><img src="/files/gVmgeBW1onZijb68EgZy" alt=""><figcaption></figcaption></figure>

1. Once the match is made, we do not check any more, **other unchecked tests are ignored**.

:::danger To end the process or move to another priority level, we need the tests to be accepted or rejected, if a test is in an infinite loop for example, the tag cannot move to another priority level. :::


---

# 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/client-side/tag/tag-prioritization.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.
