goatcounter: add script tag to index.html

This commit is contained in:
Asmir A 2024-01-21 21:52:06 +01:00
parent 88ce25f6b4
commit ad6af66a61
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2
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>