1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-10-04 04:58:05 +02:00

onInstalled event tracking

This commit is contained in:
Kyle Spearrin 2016-09-27 23:36:55 -04:00
parent deb3cbeb48
commit b1d406a3aa

View File

@ -11,6 +11,13 @@ var autofillService = new AutofillService();
var passwordGenerationService = new PasswordGenerationService();
var appIdService = new AppIdService();
chrome.runtime.onInstalled.addListener(function (reason) {
ga('send', {
hitType: 'event',
eventAction: 'onInstalled ' + reason
});
});
function buildContextMenu() {
chrome.contextMenus.removeAll();
chrome.contextMenus.create({