# A/B Testing

A/B testing (also known as split testing) is one of the most commonly-known conversion optimization techniques.

It is the process of comparing two or more popup templates - by looking at which one drives more conversions.

**Step 1:** To create A/B testing for a campaign you’ve already created (Let’s say Campaign A), you have to click on the ‘A/B test’ button on Optinly dashboard -> Campaigns

![](/files/OySQGnD7PHAREl9Dwo7o)

Click on the A/B test button

**Step 2:** Set a title to the second campaign.

Then, you have to select a template by clicking on the ‘Change template’ button and configure the campaign settings.

**Step 3:** Once when you’re done with creating the campaign, you can head to Optinly dashboard -> Campaigns page to activate the two campaigns.

You can use the toggle switch to activate the campaigns.

That’s all, now you’ve successfully activated your A/B test campaign.

You can compare the performance of the campaigns at your Optinly -> Dashboard

![](https://help.optinly.com/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MF9ylqyItu40XBNZKH4%2Fuploads%2FTIuGKAwB0Ky5FyVGJ4Jx%2FOptinly_A-B_test_analytics.png?alt=media\&token=fb02b3ee-d9c7-48d5-97fe-7beebb5c1a40)

Camparing the performance of campaigns

Note: For an effective A/B testing, please make sure to use the same popup type in each campaign and keep the campaign settings the same (Display rules, Targeting rules)


---

# 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://help.optinly.com/popups-and-campaigns/a-b-testing.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.
