How to A/B test widgets in Personizely
The instructions below describe the process for setting up an A/B test.
On the widgets page, click on the pencil button to edit the widget:
![Edit Widget](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/widgetsnewsletter_kgipvt.png)
Select the AB Test icon in the sidebar panel:
![A/B Test](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screen-shot-2020-09-15-at-1210_18zia0x.png)
Apply the modifications you want to test to your variation (for example, change button style):
![Edit variation](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/variant_11s1alj.png)
Set the percentage of traffic you want to attribute to each variation:
![Variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/variations_7jh8ki.png)
You can add additional variations by clicking "Add" button:
![Add variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/add-variation_1bckavh.png)
Click save and you will be set to test:
![Save](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/save_e4k9mf.png)
Note: You can also set up A/B testing for triggers.
Go to the "Display options" tab:
![Display options](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/display-options_15oxs65.png)
Select variation and select trigger for that:
![A/B testing for triggers](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screen-shot-2020-09-15-at-1432_18xr36h.png)
Once the A/B test has completed, click on your widget in the "Widgets" tab:
![A/B testing results](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/ab_dws4y.png)
On the widgets page, click on the pencil button to edit the widget:
![Edit Widget](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/widgetsnewsletter_kgipvt.png)
Select the AB Test icon in the sidebar panel:
![A/B Test](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screen-shot-2020-09-15-at-1210_18zia0x.png)
Apply the modifications you want to test to your variation (for example, change button style):
![Edit variation](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/variant_11s1alj.png)
Set the percentage of traffic you want to attribute to each variation:
![Variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/variations_7jh8ki.png)
You can add additional variations by clicking "Add" button:
![Add variations](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/add-variation_1bckavh.png)
Click save and you will be set to test:
![Save](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/save_e4k9mf.png)
Note: You can also set up A/B testing for triggers.
Go to the "Display options" tab:
![Display options](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/display-options_15oxs65.png)
Select variation and select trigger for that:
![A/B testing for triggers](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screen-shot-2020-09-15-at-1432_18xr36h.png)
Once the A/B test has completed, click on your widget in the "Widgets" tab:
![A/B testing results](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/ab_dws4y.png)
Updated on: 04/02/2022
Thank you!