How I Run A/B Tests in a Chrome Extension (Without Re-Releasing to the Store)

https://hackernoon.imgix.net/images/ktpjW6NX5bUAGgCfG5mByvJREZ83-1h83bgw.png

Hi, this is Alexey Belozerov, author of PerfectPixel, a pixel-perfect design comparison tool used by 350k people. At some point of product growth an owner needs to launch experiments and measure impact against a reference group - i.e. A/B testing. Browser extensions are no different. Unfortunately there isn't any lib or tool tailored for Chrome/web extension development specifically, so I've decided to write my own and open-source it.

Browser extensions specifics

Compared to websites, extensions have a long update cycle - each new version should pass moderation and the process of rollout into the userbase, which can take up to several weeks. So it's critical to have a way to manage experiments asynchronously.

Requirements for extensions A/B testing library

  1. Multiple experiments at a time
  2. Extension user should be assigned to an experiment branch and persist its state
  3. Remote kill switch and pin of the winning variant
  4. Work in service worker,...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more