feat(track): added plausible tracker

This commit is contained in:
Corentin Thomasset 2021-07-23 23:01:40 +02:00
parent 5486bcfd85
commit 29891e0f0d
No known key found for this signature in database
GPG key ID: DBD997E935996158
4 changed files with 39 additions and 0 deletions

View file

@ -56,9 +56,16 @@ export default {
'@nuxtjs/svg',
'nuxt-i18n',
'@nuxtjs/markdownit',
'vue-plausible',
'@nuxtjs/sitemap' // Must stay last
],
plausible: {
domain: process.env.NUXT_ENV_PLAUSIBLE_DOMAIN,
apiHost: process.env.NUXT_ENV_PLAUSIBLE_API_HOST,
trackLocalhost: false
},
// Axios module configuration (https://go.nuxtjs.dev/config-axios)
axios: {},