From 1f00960c27d7bea3ac8577ca383f2d421af088ed Mon Sep 17 00:00:00 2001 From: Calua de Lacerda Pataca Date: Sun, 27 Oct 2024 17:23:53 -0400 Subject: [PATCH] umami tracking code test --- setup.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup.js b/setup.js index b929b8d9..44ca5d64 100644 --- a/setup.js +++ b/setup.js @@ -1,3 +1,12 @@ +;(function () { + const script = document.createElement('script') + script.src = 'https://cloud.umami.is/script.js' + script.defer = true + script.setAttribute('data-website-id', 'e2f681f9-0ef5-4e7c-98b9-e3f2316e9125') + + document.head.appendChild(script) // Append the script to the head +})() + fetch('footer.html') .then((response) => response.text()) .then((html) => {