fix: umami analytics date attribute (#477)
This commit is contained in:
parent
bf89e38a40
commit
a0a98bcf4f
@ -100,7 +100,7 @@ function addGlobalPageResources(
|
||||
componentResources.afterDOMLoaded.push(`
|
||||
const umamiScript = document.createElement("script")
|
||||
umamiScript.src = "https://analytics.umami.is/script.js"
|
||||
umamiScript["data-website-id"] = "${cfg.analytics.websiteId}"
|
||||
umamiScript.setAttribute("data-website-id", "${cfg.analytics.websiteId}")
|
||||
umamiScript.async = true
|
||||
|
||||
document.head.appendChild(umamiScript)
|
||||
|
Loading…
Reference in New Issue
Block a user