Skip to content

Commit

Permalink
umami tracking code test
Browse files Browse the repository at this point in the history
  • Loading branch information
caluap committed Oct 27, 2024
1 parent eb5ce37 commit 1f00960
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions setup.js
Original file line number Diff line number Diff line change
@@ -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) => {
Expand Down

0 comments on commit 1f00960

Please sign in to comment.