1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

remove analytics in favor of platform utils

This commit is contained in:
Kyle Spearrin
2018-10-03 00:21:22 -04:00
parent 89a448b12f
commit adb3dc78ee
19 changed files with 50 additions and 86 deletions

View File

@@ -109,6 +109,11 @@ export class AppComponent implements OnInit {
await this.showToast(msg);
this.changeDetectorRef.detectChanges();
});
} else if (msg.command === 'analyticsEventTrack') {
this.analytics.eventTrack.next({
action: msg.action,
properties: { label: msg.label },
});
} else {
msg.webExtSender = sender;
this.broadcasterService.send(msg);