> For the complete documentation index, see [llms.txt](https://docs.pixeleyes.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pixeleyes.de/anleitungen-instructions/english/documentation-of-our-shopware-6-plugins/advertising-banners-and-pop-ups/a-b-testing.md). Agents can also search and read this documentation through its [MCP server](https://docs.pixeleyes.de/~gitbook/mcp).

# A B Testing

Use an A/B test to show **two variants** of the same banner and measure which performs better based on data.

## How it works

* **Variant A** = the Shopping Experience linked above.
* **Variant B** = a second Shopping Experience.
* Each visitor is assigned a variant **once** and continues to see the same one (remembered with a cookie so it does not change with every click).

## Setup

On the banner's **Content** tab:

{% stepper %}
{% step %}

## Enable A/B test

{% endstep %}

{% step %}

## Select Shopping Experience for variant B

{% endstep %}

{% step %}

## Set the Share of variant A (%)

The default is 50; the remainder sees variant B.
{% endstep %}
{% endstepper %}

## Analyze results

When A/B testing is enabled, the **Statistics** tab shows an **A/B analysis** with impressions, clicks, CTR, purchases, and revenue **for each variant**. The stronger variant (higher click-through rate) is marked as the **winner**.

| Variant        | Impressions | Clicks |      CTR |
| -------------- | ----------: | -----: | -------: |
| A              |       1,200 |     48 |     4.0% |
| **B** (winner) |       1,190 |     83 | **7.0%** |

## Use the winner

Apply the winner **manually**: link the stronger Shopping Experience as the regular Shopping Experience (variant A) and **disable the A/B test**. You remain in control; the shop does not switch automatically.

{% hint style="info" %}
A/B banners are always loaded live (uncached) so variants are distributed fairly.
{% endhint %}
