support for tracking a/b test variations

- ref: https://github.com/GigaOM/legacy-pro/issues/2918
- continues the work from https://github.com/misterbisson/bstat/pull/9, specifically this [note] (https://github.com/misterbisson/bstat/pull/9#discussion_r12585584)