feat: goatcounter for analytics
continuous-integration/drone/push Build is passing Details

main
parent 8a5727fcd6
commit 10634b3293

@ -52,6 +52,19 @@ const { title, description, thumbnail, pageTags } = Astro.props
})
</script>
<script is:inline>
window.goatcounter = {
path(p) {
return location.host + p
},
}
</script>
<script
is:inline
async
src="//analytics.phc.dm.unipi.it/count.js"
data-goatcounter="https://analytics.phc.dm.unipi.it/count"></script>
<title>{title}</title>
</head>
<body class:list={typeof pageTags === 'string' ? [pageTags] : pageTags}>

Loading…
Cancel
Save