AppFig Start free
  1. Home
  2. Glossary
  3. What is A/B testing in a mobile app or game?

What is A/B testing in a mobile app or game?

A/B testing gives random groups of users different versions of one thing and compares a chosen metric to see which version does better.

A/B testing means showing different versions of one thing to randomly chosen groups of users at the same time and measuring which version does better. Because the groups differ only in the version they saw, a difference in the result can be put down to the change. An experiment is a feature flag whose value depends on the group. In a mobile app or game the "thing" is usually a value: a price, a trial length, the number of lives, how often an ad appears.

Control and variants

The control group keeps the current behavior. Each variant gets one changed version.

Random and stable assignment

Choosing the metric

Decide what counts as winning before the test starts.

Conversion: the share of users who do something, such as finishing onboarding, completing level 10 or starting a trial. It suits changes to flows and difficulty.

Revenue per user: total revenue divided by users in the group. It is the right metric for prices, paywalls and ad frequency, where a variant can convert fewer people and still earn more. A few large spenders can move the total, so it needs more time.

Pick one. If you watch ten metrics, one will move by chance.

Sample size and running time

Small groups produce large differences by accident. A result is usually called "significant" when a difference this large would appear by chance less than 5% of the time (p < 0.05).

Common mistakes

How AppFig experiments work

An AppFig experiment has one audience and up to 10 variants with percentage shares, and can change up to five values at once. The first variant is the control, and the audience uses the same conditions as any rule (events, user properties, device).

The SDK assigns the variant on the device with no network call, by hashing the user id when there is one and the device id otherwise, and remembers it across restarts and when you change the shares.

Results are read from your own Google Analytics. For a conversion metric, a winner is called with at least 100 users and 10 conversions per group and p < 0.05. For revenue per user, it needs at least 100 users per group and at least 7 days with revenue in every group. See Experiments and the A/B testing reference.

FAQ

How long should a mobile A/B test run?

Until each group has enough users for your metric, and at least a full week. AppFig does not call a revenue winner before seven days with revenue in every group.

Do I need a new app release to run a test?

Only if the app does not yet read the value you want to test. Once the code reads it through remote config, further tests on that value need no release.

How many A/B tests can I run at once?

As many as you have users for. On AppFig the Lite plan runs 1 test at a time and the Full plan 25 per app; see pricing.

Keep reading