mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
feat(analytics): AB testing
User model update for AB tests, and the first AB test to start Sept 12 closes #7984
This commit is contained in:
committed by
Blade Barringer
parent
6f2767edd3
commit
f20a7b851f
@@ -85,6 +85,10 @@ let _formatUserData = (user) => {
|
||||
properties.subscription = user.purchased.plan.planId;
|
||||
}
|
||||
|
||||
if (user._ABtest) {
|
||||
properties.ABtest = user._ABtest;
|
||||
}
|
||||
|
||||
return properties;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user