add script to track host
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Andrew Woodlee 2024-10-30 00:27:06 -05:00
parent e8675fa290
commit b85bbc9f95
2 changed files with 6 additions and 1 deletions

View File

@ -6,8 +6,8 @@
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}"> <html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
<head> <head>
{{ partialCached "analytics.html" . }}
{{- partial "head.html" . }} {{- partial "head.html" . }}
{{ partialCached "analytics.html" . }}
</head> </head>
<body class=" <body class="

View File

@ -1,2 +1,7 @@
<script>
window.goatcounter = {
path: function(p) { return location.host + p }
}
</script>
<script data-goatcounter="https://stats.andrewnw.com/count" <script data-goatcounter="https://stats.andrewnw.com/count"
async src="//stats.andrewnw.com/count.js"></script> async src="//stats.andrewnw.com/count.js"></script>