diff --git a/src/background.js b/src/background.js index 2df4ac32e8..fae802ba6f 100644 --- a/src/background.js +++ b/src/background.js @@ -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({