> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.personizely.net/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to A/B test widgets in Personizely

The instructions below describe the process for setting up an A/B test.

1. On the widgets page, click on the pencil button to edit the widget:

![Edit Widget](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-17-37_1atumek.png)

2. Select the **Experiment** option at the top of the page, and create a new experiment:

![A/B Test](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-18-04_ba7lg7.png)

3. Set the experiment title, primary metric, variation name, and percentage of traffic you want to attribute to each variation:

![Variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-19-32_10py8ii.png)

4. You can add additional variations by clicking the "Clone" button next to an existing variation:

![Add variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-23-48_ozx2ij.png)

5. To edit a variation, select the Experiment option and then click the pencil icon to the right of the variation. You will see the variation badge in display options. Next, you can click Edit in builder:

![Edit variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-28-01_dpqmtp.png)

**Note:** You can also set up A/B testing for triggers. 

6. Once you have made the necessary changes to all variations and everything is set to run, click on the Experiment option and change the status from "Draft" to "Start":

![](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-24-23_axkgrf.png)

7. Once the A/B test has completed, click on your widget in the "Widgets" tab to see the results. You can change the data you want to compare against for more in-depth results:

![A/B testing results](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-jan-27-17-32-09_ea6x6j.png)