mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
move common electron code to jslib
This commit is contained in:
@@ -4,8 +4,22 @@ import { StorageService } from '../abstractions/storage.service';
|
||||
|
||||
import { ConstantsService } from '../services/constants.service';
|
||||
|
||||
import { DeviceType } from '../enums/deviceType';
|
||||
|
||||
const GaObj = 'ga';
|
||||
|
||||
export const AnalyticsIds = {
|
||||
[DeviceType.Chrome]: 'UA-81915606-6',
|
||||
[DeviceType.Firefox]: 'UA-81915606-7',
|
||||
[DeviceType.Opera]: 'UA-81915606-8',
|
||||
[DeviceType.Edge]: 'UA-81915606-9',
|
||||
[DeviceType.Vivaldi]: 'UA-81915606-15',
|
||||
[DeviceType.Safari]: 'UA-81915606-16',
|
||||
[DeviceType.Windows]: 'UA-81915606-17',
|
||||
[DeviceType.Linux]: 'UA-81915606-19',
|
||||
[DeviceType.MacOs]: 'UA-81915606-18',
|
||||
};
|
||||
|
||||
export class Analytics {
|
||||
private gaTrackingId: string = null;
|
||||
private defaultDisabled = false;
|
||||
|
||||
Reference in New Issue
Block a user