From 83c9fc2b978b2ee61064c7d64d5b4fd3d2a92905 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 10 Jul 2024 16:25:53 +0200
Subject: [PATCH] add plausible

---
 client/nuxt.config.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/client/nuxt.config.js b/client/nuxt.config.js
index 7ab7cc73..0a9624a8 100644
--- a/client/nuxt.config.js
+++ b/client/nuxt.config.js
@@ -20,6 +20,13 @@ export default {
       { hid: 'description', name: 'description', content: '' },
       { name: 'format-detection', content: 'telephone=no' }
     ],
+    script: [
+      {
+        defer: true,
+        data-domain: "jass.pasteur.fr",
+        src: "https://plausible.pasteur.cloud/js/script.js"
+      }
+    ],
     link: [
       { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
     ]
-- 
GitLab