Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
default disable on FirefoxExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Jul 25, 2018
1 parent 799361d commit 9df96a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/misc/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export class Analytics {
}

this.appVersion = this.platformUtilsService.getApplicationVersion();
this.defaultDisabled = this.platformUtilsService.isFirefox() || this.platformUtilsService.isMacAppStore();
this.defaultDisabled = this.platformUtilsService.getDevice() === DeviceType.FirefoxExtension ||
this.platformUtilsService.isMacAppStore();
this.gaTrackingId = this.platformUtilsService.analyticsId();

(win as any).GoogleAnalyticsObject = GaObj;
Expand Down

0 comments on commit 9df96a3

Please sign in to comment.