add: tracking
Add Plausible
This commit is contained in:
parent
0a71a62af8
commit
3b67ce0e5a
6 changed files with 40 additions and 8 deletions
|
@ -36,7 +36,17 @@ export default defineNuxtConfig({
|
|||
'/privacy': { prerender: true },
|
||||
},
|
||||
|
||||
modules: ['@nuxt/icon', '@vueuse/nuxt', '@nuxtjs/device', '@nuxt/fonts', 'nuxt-seo-utils', 'nuxt-ripple', '@nuxtjs/sitemap', '@nuxtjs/robots'],
|
||||
modules: [
|
||||
'@nuxt/icon',
|
||||
'@vueuse/nuxt',
|
||||
'@nuxtjs/device',
|
||||
'@nuxt/fonts',
|
||||
'nuxt-seo-utils',
|
||||
'nuxt-ripple',
|
||||
'@nuxtjs/sitemap',
|
||||
'@nuxtjs/robots',
|
||||
'@nuxtjs/plausible'
|
||||
],
|
||||
|
||||
css : [
|
||||
'./app/assets/styles/general.css',
|
||||
|
@ -90,5 +100,10 @@ export default defineNuxtConfig({
|
|||
sitemap: {
|
||||
// exclude all URLs that start with /secret
|
||||
exclude: ['/other/**'],
|
||||
}
|
||||
},
|
||||
|
||||
plausible: {
|
||||
// Prevent tracking on localhost
|
||||
ignoredHostnames: ['localhost'],
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue