mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-18 01:42:20 +00:00
chore(analytics): reenable navigation tracking
This commit is contained in:
parent
84e2b2f45e
commit
58a9e4a439
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue