chore(news): Bailey

Also disable some costly analytics
This commit is contained in:
SabreCat
2018-04-17 19:52:36 +00:00
parent 4b9af8aa86
commit 45eec47b7f
5 changed files with 20 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
import getStore from 'client/store';
import * as Analytics from 'client/libs/analytics';
// import * as Analytics from 'client/libs/analytics';
// import EmptyView from './components/emptyView';
@@ -342,12 +342,15 @@ router.beforeEach(function routerGuard (to, from, next) {
});
}
/*
Analytics.track({
hitType: 'pageview',
eventCategory: 'navigation',
eventAction: 'navigate',
page: to.name || to.path,
});
*/
next();
});