From 51cafac0002ca4d7d7c9c10220d5d38803e858d8 Mon Sep 17 00:00:00 2001 From: valere Date: Sat, 30 Aug 2025 18:09:48 +0200 Subject: [PATCH] add umami tracking --- nuxt.config.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 872c7b7..3e1f9ea 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,5 +2,16 @@ export default defineNuxtConfig({ compatibilityDate: '2025-07-15', devtools: { enabled: true }, - modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss'] + modules: ['@nuxt/eslint', '@nuxtjs/tailwindcss'], + app: { + head: { + script: [ + { + src: 'https://umami.erudi.fr/script.js', + defer: true, + 'data-website-id': 'b685157f-81fc-4b68-8bf1-81efde4b9e9f' + } + ] + } + } }) \ No newline at end of file