goatcounter: add script tag to index.html

This commit is contained in:
2024-01-21 21:52:06 +01:00
parent 88ce25f6b4
commit ad6af66a61
2 changed files with 2 additions and 0 deletions

View File

@@ -39,6 +39,7 @@
installPhase = ''
mkdir $out
cp -r public/ $out/
cat goatcounter.url >> $out/public/index.html
'';
};
in {

1
goatcounter.url Normal file
View File

@@ -0,0 +1 @@
<script data-goatcounter="https://stats.project-cloud.net/count" async src="//stats.project-cloud.net/count.js"></script>