From 2f78109733236e2493ef2953059b6a0d254264eb Mon Sep 17 00:00:00 2001 From: ManUtopiK <emmanuel.salomon@gmail.com> Date: Sat, 29 Oct 2022 23:23:33 +0200 Subject: [PATCH] fix: use umami from header --- nuxt.config.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 289d0a99..d4a38dd9 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -45,9 +45,11 @@ export default { }, { hid: 'umami', - autoTrack: true, - websiteId: '9a1eba12-8e69-4417-bbeb-2526f48accbb', - scriptUrl: 'https://analytics.axiom-team.fr/umami.js', + 'auto-track': true, + 'data-website-id': '9a1eba12-8e69-4417-bbeb-2526f48accbb', + async: true, + defer: true, + src: 'https://analytics.axiom-team.fr/umami.js', }, ], link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.svg' }], -- GitLab