mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
remove analytics in favor of platform utils
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { ToasterService } from 'angular2-toaster';
|
||||
import * as tldjs from 'tldjs';
|
||||
|
||||
import { BrowserApi } from '../browser/browserApi';
|
||||
@@ -203,6 +202,14 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
});
|
||||
}
|
||||
|
||||
eventTrack(action: string, label?: string, options?: any) {
|
||||
this.messagingService.send('analyticsEventTrack', {
|
||||
action: action,
|
||||
label: label,
|
||||
options: options,
|
||||
});
|
||||
}
|
||||
|
||||
isDev(): boolean {
|
||||
return process.env.ENV === 'development';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user