diff --git a/app/view/main/MainController.js b/app/view/main/MainController.js index 17914098..3ae7afb5 100644 --- a/app/view/main/MainController.js +++ b/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(); }