default disable on FirefoxExtension
This commit is contained in:
parent
799361d933
commit
9df96a3288
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue