arp242 / goatcounter

Easy web analytics. No tracking of personal data.
https://www.goatcounter.com
Other
4.5k stars 184 forks source link

More complete IP ignoring #479

Closed skuzzymiglet closed 3 years ago

skuzzymiglet commented 3 years ago

I peruse my site enough to disrupt analytics. I found myself in the stats, and added my IP to the ignore list. This didn't remove my traffic from the stats though.

One way to get around this would be retroactively removing/hiding traffic from the list (not sure how it works at the moment). Another would be always ignoring the IP used to access the dashboard (unless it's public).

I'm happy to investigate this, if possible.

arp242 commented 3 years ago

The IP address isn't stored, so there is no way to delete pageviews by IP.

Another would be always ignoring the IP used to access the dashboard (unless it's public).

One potential problem with this is that many IP addresses aren't really personal; with carrier grade NAT (widely deployed in some countries) thousands of people share the same IP.

It would also be surprising, a lot of times people create an account, add it to their site, and check if it works. If their IP is silently blocked, it would appear to not work. I already get some support requests from this right now, with people using curl to test it (which doesn't show up, as it's assumed to be a bot).

This could be a setting of course, but might as well just fill in your IP or use the client-side filter.

skuzzymiglet commented 3 years ago

I see, GDPR and NAT make this hard!

This could be a setting of course, but might as well just fill in your IP or use the client-side filter.

Do you have a link to the client-side filter? Although I reckon host-blocking my analytics domain on one browser and using another to access the dashboard could work. I'm on qutebrowser.

arp242 commented 3 years ago

You can add #toggle-goatcounter on any page that has the goatcounter script; you will have to reload. See: https://www.goatcounter.com/code/skip-dev#javascript-4

If you fill in a domain in "Your site", then there should be a link as well:

screenshot_2021-05-03-23-37-34_border

arp242 commented 3 years ago

I think this should be solved? The retroactive removing isn't possible, and I assume the client-side filter works for you(?)

skuzzymiglet commented 3 years ago

Yeah, all the existing options work and I'm happy with them