rel=“noreferer”
.It’s easy for a malicious script to disguise itself as Firefox or Chrome, and it’s hard to reliably detect this. In practice it’s unlikely that 100% of all bots are ignored (this is a general problem with analytics, and not specific to GoatCounter).
Do-Not-Track
header handled? §You can still implement it yourself by putting this at the start of the GoatCounter script:
<script> window.goatcounter = { no_onload: (‘doNotTrack’ in navigator && navigator.doNotTrack === ‘1’), }; </script> <script data-goatcounter=“[..]” async src=“//gc.zgo.at/count.js”></script>
CNAME
record pointing to your GoatCounter subdomain:
stats IN CNAME mine..
Then update the GoatCounter settings with your custom domain. It might take a
few hours for everything to work. mine.
will continue to
work.
Note that Custom domains will not prevent adblockers from recognizing GoatCounter; it’s only intended as a “vanity domain”.
By my estimate about a third of pageviews are missed due to adblockers; but this can vary greatly on the type of site and audience.
That said, there are some options:
But this doesn’t really work because almost all email clients block external images by default exactly to prevent this sort of thing from working. All email trackers “work” like this and none of them really work.
And in my personal opinion this is also where “statistics about visitors” turns in to “invasive tracking” and “spying”, so consider if you really need and want to do this in the first place. I have no way to prevent you from doing this, but it’s also not a recommended or supported use case.
For example, if you’re sending many (millions) of pageviews then I’d rather contact you to discuss options than just shut down the account. Not having any means to get in touch would leave me in an awkward position.
It’s not too uncommon that people fill in the wrong email address, and this is the only way to verify it.
Feel free to get in touch if you’ve got any questions or having any problems; a lot of times they can be resolved without too much problems.
Ways to contact me: show