Remove pixel and only submit empty path
This commit is contained in:
parent
5a000b35d4
commit
3702f9a596
1 changed files with 20 additions and 6 deletions
|
@ -30,7 +30,7 @@
|
||||||
name="description"
|
name="description"
|
||||||
content="toot allows you to share stuff on Mastodon, cross-instance. Just put in your post text and the instance URL and click ‘Toot!’"
|
content="toot allows you to share stuff on Mastodon, cross-instance. Just put in your post text and the instance URL and click ‘Toot!’"
|
||||||
/>
|
/>
|
||||||
<link rel="canonical" href="https://toot.kytta.dev/">
|
<link rel="canonical" href="https://toot.kytta.dev/" />
|
||||||
|
|
||||||
<link href="/style.css" rel="stylesheet" />
|
<link href="/style.css" rel="stylesheet" />
|
||||||
|
|
||||||
|
@ -90,11 +90,25 @@
|
||||||
<section>
|
<section>
|
||||||
<a href="https://codeberg.org/kytta/toot">toot on Codeberg</a>
|
<a href="https://codeberg.org/kytta/toot">toot on Codeberg</a>
|
||||||
</section>
|
</section>
|
||||||
<script data-goatcounter="https://share2fedi.goatcounter.com/count"
|
<script>
|
||||||
async src="//gc.zgo.at/count.js"></script>
|
window.goatcounter = {
|
||||||
<noscript>
|
path: "/",
|
||||||
<img src="https://share2fedi.goatcounter.com/count?p=/">
|
};
|
||||||
</noscript>
|
// Only load on production environment.
|
||||||
|
if (
|
||||||
|
window.location.host !== "toot.kytta.dev" &&
|
||||||
|
window.location.host !== "s2f.kytta.dev" &&
|
||||||
|
window.location.host !== "share2fedi.kytta.dev"
|
||||||
|
) {
|
||||||
|
window.goatcounter["no_onload"] = true;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script
|
||||||
|
data-goatcounter="https://share2fedi.goatcounter.com/count"
|
||||||
|
data-goatcounter-settings='{"path": "/"}'
|
||||||
|
async
|
||||||
|
src="//gc.zgo.at/count.js"
|
||||||
|
></script>
|
||||||
</footer>
|
</footer>
|
||||||
<script src="/main.js"></script>
|
<script src="/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Reference in a new issue