# Compare multiple notices (A/B tests)

You can run A/B tests in order to compare consent rates between various notices. This section will help you to set up your A/B test.

***

## Introduction

Using AppConsent, you can modify and update your notice settings. But you may want to compare the consent rate of differently defined notices to implement the notice generating the most consent-in.

AppConsent allows you to lunch A/B tests campaigns in order to test and compare performance of different notice configurations (with or without banner, order of buttons...).

You can create an A/B test with 2 or more records running on the same time, on the same source. This various notices are called "Variations". Each variation will be exposed alternatively to users, according to your parameters.

An A/B test can be implemented at anytime on a source.

While an A/B test is running, you can consult the consent rate of each variation through the dashboard. But you can't modify the settings of the notice variations.

You can stop the A/B test whenever you want. At this moment, you will have to choose one of the notice variations. The one you choose will be implemented definitively on the source, and your A/B test stops. After that, you could modify the parameters of this notice if needed, or start an other A/B test.

You have subscribed to AppConsent Standard, you can run 2 A/B test campaigns simultaneously.

You have subscribed to AppConsent Premium, you can run as many A/B test campaigns as you want, simultaneously.

***

## Prerequisites before creating an A/B test

Before creating an A/B test, you need to have a notice declared in AppConsent.

* This can be a notice running since a while on your website. In that case you don't have to create a new notice and you can read the paragraph **Create an A/B test** below. The A/B test will run instead of your current notice.
* Or it can be a new notice that you will implement when you will start your A/B test (for example if you are a new client and want to start by an A/B test). In that case, you need to create a notice first. Read this page to learn how to create a notice.

***

## Set up an A/B test

### 1. Create an A/B test

To create an A/B test, click on **A/B test** in the left menu.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FnlNOgoSI9LCHORrm4TTc%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2016.46.06.png?alt=media&#x26;token=4a2b29b9-062d-4266-a551-bdedc92cb382" alt=""><figcaption></figcaption></figure>

Then click on **Add A/B test** on the left top.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2F9XAcA7VrMyZTQTOX8YmH%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2016.51.16.png?alt=media&#x26;token=2fae262b-2050-4eac-ab4b-15ccb7ffe71c" alt=""><figcaption></figcaption></figure>

In the list of sources that appears, select the one on which you want to apply the A/B test. It can be whether a web source or a mobile app source.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FpZTQLq6B0rszodNmiyle%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.01.47.png?alt=media&#x26;token=81eaa878-bf72-4f2a-b3d3-2ad476a47c47" alt=""><figcaption></figcaption></figure>

Then select the Notice Version ID you want to use for the A/B test. We call this notice, the **parent version**. Then click on **Create A/B test**. A copy of this notice will be created in the A/B test.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2F2DVJeXmMZSuIAUUlPE4w%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.02.34.png?alt=media&#x26;token=e526dfac-b535-4fa2-b493-07cac979bea5" alt=""><figcaption></figcaption></figure>

Your A/B test has now an "Open" status. Meaning that it is created, but not yet activated on your website or app.

* ID: A/B test ID
* Source: Source where the A/B test will be implemented
* Parent version ID: ID of the notice from the one the A/B test has been created (the parent notice).
* Note: you can add note by clicking one the 3 dots at the right. This note will not appear in the A/B test on the website, it's just for you own usage (for example to distinguish 2 variations you could add this notes: Notice with banner / notice without banner).
* Status:
  * Open: the A/B test is created, but not yet activated on your website or app
  * Running: the A/B test is live on your website or app
  * Done: the A/B test has been stopped
* Update date: date of the last update
* Test start date: date when you start the A/B test
* Test end date: date when you stop the A/B test
* 3 dots at the right: if you click on this dots, you can edit the note field or delete the A/B test.

To see the details of the A/B test, click on the line of the A/B test.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FerHWjusM4EusGCYTbDoI%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.07.59.png?alt=media&#x26;token=1e84313d-9c90-4260-9bae-fd7445c2e097" alt=""><figcaption></figcaption></figure>

The details of the A/B test are displayed:

* App Key : Notice App Key
* Start A/B test: click on this button when your A/B test is ready.
* Add variation: click on this button to add a variation.
* Line with a test number 1: this is the first variation of this A/B test, automaticaly created from the parent notice.

### 2. Add notice variations for the A/B test

{% hint style="info" %}
**INFO**

To be run, an A/B test needs at least 2 variations. We call **Variation** a notice with some settings. Each variation can have different settings.&#x20;

For example:&#x20;

* Variation 1: notice with banner, UI in a single step, CTA accept/Configure in the banner, CTAs enabled in notice.&#x20;
* Variation 2: notice without banner, UI in several steps, no CTA in the notice.
  {% endhint %}

There are 2 ways to create a new variation:

* Click on **Add variation**
* Or create a duplicate from the first variation.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2Fn8Gc1eSo8cDQ7M6cphLB%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.08.14.png?alt=media&#x26;token=58093f54-041c-4d32-a06c-fd31d005937e" alt=""><figcaption></figcaption></figure>

#### **2.1. Add a variation through the "Add variation" button**

Click on **Add variation.** The list of existing notice from the same parent notice appears.

You can select any notices as long as it is not part of an experiment and is from the same source as the basic notice of your experiment.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FvmztoNsUEsStYdNutq17%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.40.57.png?alt=media&#x26;token=5128d62c-b21e-4ba4-abb6-f5fa4ff6ee3a" alt=""><figcaption></figcaption></figure>

Select one or several notice(s) and click on **Apply**.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FTJ4B45LcnHyl6dXA3pSu%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.13.38.png?alt=media&#x26;token=f4d6c58a-823e-4c83-a272-59785eae26e7" alt=""><figcaption></figcaption></figure>

A new variation is created.

#### **2.2. Add a variation through the "Duplicate" button**

Click on the 3 dots at the end of the line of the variation you want to copy, and click on **Duplicate**.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2Fm98ZQ8IGAtr5olPKsfqw%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.30.54.png?alt=media&#x26;token=55a6eb4b-13c3-4af3-8fe1-00f50f9beb3f" alt=""><figcaption></figcaption></figure>

A new variation is created.

{% hint style="info" %}
**INFO**&#x20;

You can create as many variations as you want, but we recommend not to create too many. The larger the number of variations, the lower their weight, and the less frequently appear on your site.
{% endhint %}

### 3. Edit and configure a variation

Each variation can be edited and configured with its own settings.

Click on the 3 dots at the end of the line of the first variation and click on **Edit**.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FG09dqXQevNFkIR7IPtpN%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.31.49.png?alt=media&#x26;token=3233762f-655c-4731-be8b-c0f736b21574" alt=""><figcaption></figcaption></figure>

The notice form appears, with the same configuration fields than a notice. You can modify all settings.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FprNmgsZyJXLB6KAzTABw%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.21.39.png?alt=media&#x26;token=fb7ac87a-b8b8-40bf-9909-5911b20df843" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FwQjQNQobGKpFhgavfU97%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.23.01.png?alt=media&#x26;token=a77ef811-2afe-4761-aa4c-505096d82c1c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2Fy6EEjA8vBeEW8Mie41E4%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.23.30.png?alt=media&#x26;token=9624d4b9-ce83-4c37-afdb-21542a42b674" alt=""><figcaption></figcaption></figure>

The field "Weight" is specific to the variation form. You need to fill in this field with a number corresponding to a percentage. This percentage will define the display frequency of the variation, compared to other variations of the A/B test.

For example you can have a weight of 50/50 or 30/70 or 30/20/50, or 25/25/25/25, etc.

#### **3.1. Preview or delete a variation**

2 other actions are enabled for each variation:

* You can preview your settings by clicking on **Preview**
* You can delete a variation by clicking on **Delete**

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FKWX2RXITEQB33GNhjU7P%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.32.29.png?alt=media&#x26;token=f4fe6577-db9b-4f44-9147-9ec07bbc9793" alt=""><figcaption></figcaption></figure>

#### **3.2. Organize your variations**

If you want to easily identify the variations in the variations table, you can modify the **Note** field in the editing form. This text will not appear in the notice on your website or app.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2FYCQgAkTsgZR80iX1EU4S%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.33.53.png?alt=media&#x26;token=ba14dfe2-59ac-4d99-8b11-ee33d80554fe" alt=""><figcaption></figcaption></figure>

***

## Start an A/B test

When all your variations are ready to test, you can start the A/B test.

{% hint style="warning" %}
**CAUTION**

Make sure all your settings are well defined before clicking on **Start A/B test**, as you could no more modify them when the A/B test will be running.
{% endhint %}

Click on **Start A/B test**

{% hint style="warning" %}
**CAUTION**

If you haven't fill the field **Weight** for each variation, or if the total weight is not 100%, the A/B test cannot start.
{% endhint %}

{% hint style="warning" %}
**CAUTION**

There can't be 2 A/B tests running at the same time on the same source. If another A/B test is already running on the source, you need to stop it before starting a new one.
{% endhint %}

Few seconds after clicking on **Start A/B test**, the A/B test will run, and its status is **Running**, with a **Test start date.**

At this stage, the A/B test can no more be modified. You can only view details (throught the variation form), but settings cannot be updated. You can still see a preview of each variation, by clicking on **Preview**.

While an A/B test is running, the parent notice cannot be modified or deleted.

{% hint style="info" %}
**INFO**

While the A/B test is running, you can check the statistics for each variation. To do so, read the dedicated section.
{% endhint %}

***

## Stop the A/B test

You can run an A/B test as long as you want and stop it whenever you want. When you consider your test is done, click on **Stop A/B test**.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2F94E1z70i9XeqDHVRRZ3a%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.45.36.png?alt=media&#x26;token=4e85b3a0-3289-41a6-a333-9106b6af96c8" alt=""><figcaption></figcaption></figure>

The *Stop A/B test*\* button changes to **Confirm stop**. You need to pick one of the variations before confirming. The variation you choose is the one that will be permanently implemented on your website or Mobile application.

<figure><img src="https://4229351976-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkyFlZKFaKP4MUM0zILOg%2Fuploads%2F7qDnVs8lSmIeu0YRTp4h%2FCapture%20d%E2%80%99e%CC%81cran%202026-03-23%20a%CC%80%2017.46.22.png?alt=media&#x26;token=f487d938-4072-4435-9994-1c61c00fb64f" alt=""><figcaption></figcaption></figure>

Once you have picked one of the variations, click on **Confirm stop**. The A/B test stops immediately (its status is **Done** and a **Test end date** is filled in) and the notice you have picked is now running on your website or application.
