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
|
// 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"
|
|
@ -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"
|
||||||
|
|
Reference in a new issue