Re-add GoatCounter script

This commit is contained in:
Nikita Karamov 2023-03-18 00:36:55 +01:00
parent 47c498ad2e
commit 9771d67af9
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD
2 changed files with 1 additions and 14 deletions

View file

@ -29,7 +29,6 @@
// This is the analytics code for Share₂Fedi. It just sends a beacon // This is the analytics code for Share₂Fedi. It just sends a beacon
// to GoatCounter with hardcoded path. This is way more lightweight, performant // to GoatCounter with hardcoded path. This is way more lightweight, performant
// and privacy-friendly than the default GC script. // and privacy-friendly than the default GC script.
if ( if (
window.location.host === "s2f.kytta.dev" || window.location.host === "s2f.kytta.dev" ||
window.location.host === "share2fedi.kytta.dev" window.location.host === "share2fedi.kytta.dev"

View file

@ -47,19 +47,7 @@ const prefilledInstance = searchParameters.get("instance");
href="https://s2f.kytta.dev/" href="https://s2f.kytta.dev/"
/> />
<!-- <script <script src="../count.js"></script>
type="module"
src="/lib/main.js"
async
defer
></script>
<script
type="module"
src="/lib/count.js"
async
defer
></script> -->
<link <link
rel="icon" rel="icon"
href="/favicon.ico" href="/favicon.ico"