mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
analytics event tracking
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
angular
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsSyncController', function ($scope, syncService, toastr) {
|
||||
.controller('settingsSyncController', function ($scope, syncService, toastr, $analytics) {
|
||||
$scope.lastSync = '--';
|
||||
$scope.loading = false;
|
||||
setLastSync();
|
||||
@@ -9,6 +9,7 @@
|
||||
$scope.sync = function () {
|
||||
$scope.loading = true;
|
||||
syncService.fullSync(function () {
|
||||
$analytics.eventTrack('Synced Full');
|
||||
$scope.loading = false;
|
||||
toastr.success('Syncing complete');
|
||||
setLastSync();
|
||||
|
||||
Reference in New Issue
Block a user