Skip to content

Commit

Permalink
updating Simple Analytics syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhyatox committed Oct 6, 2023
1 parent a8ea6dc commit 2751f77
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ Vue.use(VueGtag, {
config: { id: process.env.VUE_APP_ANALYTICS_ID }
});
Vue.use(VueHead);
Vue.use(SimpleAnalytics, {
skip: process.env.NODE_ENV !== 'production'
})
// Vue.use(SimpleAnalytics, {
// skip: process.env.NODE_ENV !== 'production'
// })
Vue.use(SimpleAnalytics, { domain: "https://fairsharing.org/" });

router.beforeEach(async(to, from, next) => await beforeEach(to, from, next, store));
router.afterEach(async(to) => await afterEach(to));
Expand Down

0 comments on commit 2751f77

Please sign in to comment.