Browse Source

Keep user active for Google Analytics

Keep user active if switch tabs
pull/116/head
Ramiro Saenz 9 years ago
parent
commit
5cf6f7aa7f
  1. 3
      app/view/main/MainController.js

3
app/view/main/MainController.js

@ -8,6 +8,9 @@ Ext.define('Rambox.view.main.MainController', {
var me = this;
var webview = newTab.down('component').el.dom;
// Set Google Analytics event
ga_storage._trackPageview('/index.html', 'main');
if ( webview ) webview.focus();
}

Loading…
Cancel
Save