From 58a9e4a43999ced7ffdcc77de2e21ed82aad87b5 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Fri, 21 Sep 2018 16:24:18 -0500 Subject: [PATCH] chore(analytics): reenable navigation tracking --- website/client/router.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/website/client/router.js b/website/client/router.js index 6368e39744..a7c53c18ff 100644 --- a/website/client/router.js +++ b/website/client/router.js @@ -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(); });