# One visitor One test on FE\&R

{% hint style="success" %}
**Prerequisites:**\
This option is available if you have implemented the Decision API or are using an SDK in DECISION API mode.

To learn more about it check our [Decision API documentation](https://docs.developers.flagship.io/docs/decision-api) and our [SDK documentation](https://docs.developers.flagship.io/docs/sdk-overview).
{% endhint %}

{% hint style="info" %}

* This option only affects Experiments (A/B Test). All Personalization and Feature management scenarios will continue to work as expected.
* This option is compatible with [Bucket Allocation](/flagship-deprecated/features-setup/bucket-allocation.md). Consider that if you put several experiments inside a bucket, your visitors will only see one of those experiments.
  {% endhint %}

## Activate One visitor One Test Option on Feature Experimentation and Rollout

{% hint style="warning" %}

* If you activate it while you have active experiments, it might create biases in your campaign results. We advise you to end all pending tests before enabling the option and launching new ones.
* Activating this option while conducting two experiments (one on your home page and another on the cart page) impacts traffic distribution. Visitors who view the home page before the cart will only experience the home page experiment, reducing traffic allocation for the cart experiment. Consequently, gathering adequate statistics for experiments on deeper pages (like product pages or conversion funnels) will take longer. This delay is exacerbated if combined with the bucket allocation feature.
  {% endhint %}

To enable this option:

{% stepper %}
{% step %}
Go to **User Profile** > **Feature Experimentation** > **Feature Experimentation Settings >** [**Environment Settings**](#activate-one-visitor-one-test-option-on-feature-experimentation-and-rollout)**.**
{% endstep %}

{% step %}
In the **Settings** section, check the option **1 visitor 1 experiment**.

* If you check the option: a visitor will see only one experiment at a time.
* If you uncheck the option: a visitor can see more than one experiment

{% hint style="info" %}
This option targets the environment (Prod or Preprod). Check this option for all the relevant environments.
{% endhint %}
{% endstep %}
{% endstepper %}

## How does the prioritization mechanism work on Feature Experimentation and Rollout?

* The Decision API evaluates which campaigns are eligible for a visitor based on their context keys.
* It then sorts the eligible campaigns by <mark style="color:$primary;background-color:$info;">creation date</mark>, from newest to oldest.
* The <mark style="color:$primary;background-color:$info;">first campaign</mark> in this list is the one returned by the Decision API for that visitor.
* There is <mark style="background-color:$info;">no additional prioritization logic</mark> beyond this order.
* If the visitor falls into untracked traffic for the first campaign (i.e., they aren't assigned to it due to traffic allocation), they may still be assigned to the next eligible campaign.
* The feature works the same, whatever the application or device, as long as the visitor stays the same.
* For more randomized traffic distribution, use the [<mark style="background-color:$info;">Bucket Allocation</mark>](/flagship-deprecated/features-setup/bucket-allocation.md) feature.


---

# 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/account/technical-implementation/one-visitor-one-experiment-option/one-visitor-one-test-on-fe-and-r.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.
