1
0
mirror of https://github.com/bitwarden/web synced 2025-12-11 22:03:21 +00:00

telemetry events

This commit is contained in:
Kyle Spearrin
2017-04-26 10:21:06 -04:00
parent b0d2374960
commit 90b0f3201e
12 changed files with 35 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.global')
.controller('sideNavController', function ($scope, $state, authService, toastr) {
.controller('sideNavController', function ($scope, $state, authService, toastr, $analytics) {
$scope.$state = $state;
$scope.params = $state.params;
$scope.orgs = [];
@@ -36,6 +36,7 @@ angular
return;
}
$analytics.eventTrack('View Organization From Side Nav');
$state.go('backend.org.dashboard', { orgId: org.id });
};