diff --git a/.env b/.env index 82cde0e..5205b0d 100644 --- a/.env +++ b/.env @@ -3,3 +3,5 @@ VITE_BACKEND_URL=https://ws.spraakbanken.gu.se/ws/mink/ VITE_AUTH_URL=https://sp.spraakbanken.gu.se/auth/ VITE_KORP_URL=https://spraakbanken.gu.se/korp/ VITE_STRIX_URL=https://spraakbanken.gu.se/strix/ +VITE_MATOMO_URL=https://spraakbanken.gu.se/stats +# VITE_MATOMO_ID= # Do not report to the real backend when developing \ No newline at end of file diff --git a/package.json b/package.json index 23227f4..ed095e7 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "vite-plugin-rewrite-all": "^1.0.1", "vue": "^3.2.6", "vue-i18n": "9", + "vue-matomo": "^4.2.0", "vue-router": "4" }, "devDependencies": { diff --git a/src/App.vue b/src/App.vue index 21348a2..07846f9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -16,6 +16,7 @@
+