From 94db493974ab14d5b1b063589e93c99d1a04ea1b Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Tue, 12 Feb 2019 16:07:14 -0600 Subject: [PATCH] fix(analytics): don't also send prop along with event --- website/server/libs/analyticsService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/server/libs/analyticsService.js b/website/server/libs/analyticsService.js index 2e64bd7b3d..0a7ff5da70 100644 --- a/website/server/libs/analyticsService.js +++ b/website/server/libs/analyticsService.js @@ -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']; +const AMPLITUDE_PROPERTIES_TO_SCRUB = ['uuid', 'user', 'purchaseValue', 'gaLabel', 'gaValue', 'headers', 'registeredPlatform']; const PLATFORM_MAP = Object.freeze({ 'habitica-web': 'Web',