forked from MapComplete/MapComplete
Fix: extract goatcounter to update hash
This commit is contained in:
parent
3777fa601a
commit
9725e98e6f
10 changed files with 24 additions and 25 deletions
7
src/loadGoatcounter.js
Normal file
7
src/loadGoatcounter.js
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue