Add 'balanceGemAmount' to Amplitude #8057 (#8323)

* Add balanceGemAmount property

* Add check for balanceGemAmount property

* Fix balanceGemAmount to be 4 times balance
This commit is contained in:
Cai Lu
2016-12-29 12:31:30 -08:00
committed by Keith Holliday
parent 77b88490e4
commit e9543f0d28
4 changed files with 6 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ let _formatUserData = (user) => {
}
properties.balance = user.balance;
properties.balanceGemAmount = properties.balance * 4;
properties.tutorialComplete = user.flags && user.flags.tour && user.flags.tour.intro === -2;