Re-add GoatCounter script
This commit is contained in:
parent
47c498ad2e
commit
9771d67af9
2 changed files with 1 additions and 14 deletions
|
@ -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"
|
|
@ -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"
|
||||
|
|
Reference in a new issue