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
// to GoatCounter with hardcoded path. This is way more lightweight, performant
// and privacy-friendly than the default GC script.
if (
window.location.host === "s2f.kytta.dev" ||
window.location.host === "share2fedi.kytta.dev"

View file

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