mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
analytics event tracking
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
.module('bit.vault')
|
||||
|
||||
.controller('vaultController', function ($scope, $rootScope, siteService, folderService, $q, $state, $stateParams, toastr,
|
||||
syncService, utilsService) {
|
||||
syncService, utilsService, $analytics) {
|
||||
$('#search').focus();
|
||||
|
||||
var syncOnLoad = $stateParams.syncOnLoad;
|
||||
@@ -114,6 +114,7 @@
|
||||
|
||||
$scope.clipboardSuccess = function (e, type) {
|
||||
e.clearSelection();
|
||||
$analytics.eventTrack('Copied ' + type);
|
||||
toastr.info(type + ' copied!');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user