From f4127a575b7a3b8ab1ed7da7409184debf756de2 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 19 Jul 2018 19:49:48 -0400 Subject: [PATCH] filter analytics on self host --- src/app/services/services.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 1a86545b01a..84869fe9216 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -108,7 +108,7 @@ const authService = new AuthService(cryptoService, apiService, const exportService = new ExportService(folderService, cipherService, apiService); const auditService = new AuditService(cryptoFunctionService, apiService); -const analytics = new Analytics(window, () => platformUtilsService.isDev(), +const analytics = new Analytics(window, () => platformUtilsService.isDev() || platformUtilsService.isSelfHost(), platformUtilsService, storageService, appIdService); containerService.attachToWindow(window);