Enhancing User Experience with Dynamic A/B Testing

Oguz Ozsoy13 Dec 2023

Problem

A mobile app team runs A/B tests to measure conversion, but each test normally needs a client change. That change has to be built, released and installed by users before the test can start. Trendyol's Dolap app calls this approach time-consuming. Some tests only swap content that already comes from the server, and for those the release adds delay without adding logic.

Example from the article: Dolap tests banner designs, product badges and product recommendations. The content arrives from the server, so no client code changes between variants.

Solution in brief

Dolap added a "dynamic" test type. The server holds three config values per test: an enabled flag and the shares of A and B. The app gives each device a stored random number and picks the variant by comparing it with the config. The variant is sent in the header of every request and attached to interaction events.

Questions this case answers
  • How to start a randomized experiment on a client application without waiting for a client release when the tested content is controlled by the server
  • How to assign users to variants on the client from server-side configuration without a third-party experimentation service
  • How to launch an A/B test in a mobile app without shipping a new app version?
  • How to test banners, badges and recommendation changes on server-driven content quickly?

Tools and methods

  • Server-side config, three values per test — switches a test on or off and sets the split without a release.
  • Random value (0–100) stored on the device — keeps the assignment stable between sessions.
  • Variant in request headers and events — carries the assignment to the server and into the analysis.
Continue reading — it's free

Google or a one-time email code. No password.