From 2751f7753748b791bd8fb014551f5388e6d16d5f Mon Sep 17 00:00:00 2001 From: prakhyatox Date: Fri, 6 Oct 2023 17:26:37 +0100 Subject: [PATCH] updating Simple Analytics syntax --- src/main.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 82a776df35..9220184faa 100644 --- a/src/main.js +++ b/src/main.js @@ -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));