Adding support for tracking a/b test variations

See https://github.com/GigaOM/legacy-pro/issues/2918