Fix: extract goatcounter to update hash

This commit is contained in:
Pieter Vander Vennet 2025-06-04 21:15:53 +02:00
parent 3777fa601a
commit 9725e98e6f
10 changed files with 24 additions and 25 deletions

7
src/loadGoatcounter.js Normal file
View file

@ -0,0 +1,7 @@
const script = document.createElement("script")
script.async = true
script.dataset.goatcounter = "https://pietervdvn.goatcounter.com/count"
script.src = "https://gc.zgo.at/count.js"
script.crossOrigin = "anonymous"
script.integrity = "sha384-atnOLvQb9t+jTSipvd75X2yginT4PjVbqDdlJAmxMm+wYElFmeR6EmLP5bYeoRVQ"
document.head.appendChild(script)