# A/B Testing

***

Generally, A/B testing allows you to experiment with different elements of your app by showing a segment of your user's different versions of the same thing in order to see which element or version performs better.

<figure><img src="https://files.readme.io/5362917-ab_test.png" alt=""><figcaption></figcaption></figure>

Let’s take paywalls for example. You can show different paywalls to a certain segment of your users, at the same time. The data you get from this will indicate which paywall is more effective and drives business metrics.

For instance, you can show 50% of your non-subscribers in China one kind of yearly discount, and the other 50% another kind of yearly discount.

We’ve created a more complex system to allow you to test with different segments and different SKUs.

Imagine that you want to see what happens if you test a $20/month subscription on 50% of your users in the US. And in Canada, you test the remaining 50% of your users with a $10/month subscription.

We also give you free rein when it comes to splitting your user base. Some companies offer a 50/50 split. But we love being different. With us, you get complete freedom to split your users any way you want.


---

# 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://doc.appflow.ai/docs/subscription-analytics/ab-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.
