mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 08:22:17 +00:00
fix(analytics): still more registeredThrough cleanup
This commit is contained in:
parent
94db493974
commit
f137342d88
1 changed files with 1 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ const AMPLITUDE_TOKEN = nconf.get('AMPLITUDE_KEY');
|
|||
const GA_TOKEN = nconf.get('GA_ID');
|
||||
const GA_POSSIBLE_LABELS = ['gaLabel', 'itemKey'];
|
||||
const GA_POSSIBLE_VALUES = ['gaValue', 'gemCost', 'goldCost'];
|
||||
const AMPLITUDE_PROPERTIES_TO_SCRUB = ['uuid', 'user', 'purchaseValue', 'gaLabel', 'gaValue', 'headers', 'registeredPlatform'];
|
||||
const AMPLITUDE_PROPERTIES_TO_SCRUB = ['uuid', 'user', 'purchaseValue', 'gaLabel', 'gaValue', 'headers', 'registeredThrough'];
|
||||
|
||||
const PLATFORM_MAP = Object.freeze({
|
||||
'habitica-web': 'Web',
|
||||
|
|
@ -97,10 +97,6 @@ let _formatUserData = (user) => {
|
|||
properties.ABtests = toArray(user._ABtests);
|
||||
}
|
||||
|
||||
if (user.registeredThrough) {
|
||||
properties.registeredPlatform = user.registeredThrough;
|
||||
}
|
||||
|
||||
if (user.loginIncentives) {
|
||||
properties.loginIncentives = user.loginIncentives;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue