onInstalled event tracking
This commit is contained in:
parent
deb3cbeb48
commit
b1d406a3aa
|
@ -11,6 +11,13 @@ var autofillService = new AutofillService();
|
||||||
var passwordGenerationService = new PasswordGenerationService();
|
var passwordGenerationService = new PasswordGenerationService();
|
||||||
var appIdService = new AppIdService();
|
var appIdService = new AppIdService();
|
||||||
|
|
||||||
|
chrome.runtime.onInstalled.addListener(function (reason) {
|
||||||
|
ga('send', {
|
||||||
|
hitType: 'event',
|
||||||
|
eventAction: 'onInstalled ' + reason
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
function buildContextMenu() {
|
function buildContextMenu() {
|
||||||
chrome.contextMenus.removeAll();
|
chrome.contextMenus.removeAll();
|
||||||
chrome.contextMenus.create({
|
chrome.contextMenus.create({
|
||||||
|
|
Loading…
Reference in New Issue