chore(analytics): reenable navigation tracking

This commit is contained in:
Sabe Jones
2018-09-21 16:24:18 -05:00
parent 84e2b2f45e
commit 58a9e4a439

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';
@@ -344,15 +344,12 @@ router.beforeEach(function routerGuard (to, from, next) {
});
}
/*
Analytics.track({
hitType: 'pageview',
eventCategory: 'navigation',
eventAction: 'navigate',
page: to.name || to.path,
});
*/
next();
});