Hi, we’ve decided to use SplitIO for AB testing in my company, but since we also use Amplitude, I’d really like to have the ability of analysis based on ab tests user segments in Amplitude too
So, we send a getTreatment(“test_name”)
call to SplitIO that returns the test and the version that we should serve to the client. We then serve different versions to the client based on that. However we also want to register that in Amplitude so that we can do our full funnel analysis, retention analysis, stickiness analysis based on the cohort users belong to.
My approach would be to register each test and variant as a user property in Segment/Amplitude and this way we could easily do every analysis we want by simply grouping the users by the version that was served to them. Would that be the best practice?
In one tutorial (albeit by Mixpanel) they suggest that we should fire an event when the test is served to the user. I really dislike this approach because IMHO the test version served to the user is a user property just like any other user property such as the version of the app served or if the user was seeing the app in dark_mode
or not.
What do you think the best approach here would be?
- call
identify(“user_id”, {ab_tests: ,“testA--version1”,”testB--version2”]})
- fire an event
user_served_testA{ test_variant: “version1”}
anduser_served_testB{ test_variant: “version2”}
Best regards
Luka