Website analytics
- Analytics ohne Cookie-Hinweis
- Good overview of open source analytics software
- Helm charts on artifacthub.io as of 2022-03:
- Matomo: Multiple charts, some recently updated
- Umami: One chart, recently updated. Supports MySQL and Postgres, chart uses postgres :/
- Plausible: One stale chart (updated >1y ago)
- Ackee: One stale chart (updated >5m ago)
- For all other apps: No charts :/
- Helm charts on artifacthub.io as of 2022-03:
Privacy friendly cloud services
Plausible
- Uses clickhouse + postgres
- Geolocation docs
Issues
Backup/Restore
- Docs: Export your website stats -> No import options !
- Docs: Stats API reference "It's a read-only interface to present historical and real-time stats only"
- No clear instructions for Clickhouse backups
- Backup Docker Installation
Geolocation
- Self-hosted city-level geolocation not working
- Default db-ip.com geolocation DB is inaccurate
- Feedback for cities and regions
- Accurate location - city level data
- Setting up city level data, fresh install only shows countries
- Alternative geolocation database
Matomo
GDPR and legal advisories
- Tracking ohne Cookies: Wie du Matomo cookiefrei nutzt und ob das eine gute Idee ist
- What data does Matomo track?
Privacy settings
JS snippet
Customize js snippet in Settings -> Websites -> Tracking code
or manually:
Disable cookies in client-side js
Insert _paq.push(['disableCookies']);
before paq.push(['trackPageView']);
Kubernetes setup
- See
~/kubernetes/flux-config/bitrigger.varac.net/apps/varac/matomo-hr.yaml
for helmRelease config - Add
proxy_client_headers[] = HTTP_X_FORWARDED_FOR
to the [General] section to get the real visitor IP - Disable cookies in Matomo:
To disable all cookies for every site in Matomo, go to
Administration
→Privacy
→Anonymize data
and enable the checkboxForce tracking without cookies
-
Geolocation See
~/Howtos/geolocation.md
how to get the dbsh scp /var/lib/GeoIP/GeoLite2-City.mmdb bitrigger:/var/lib/Stackspin/local-storage/pvc-20f288b4-3e42-4422-b204-26c5c8b6c1da_varac_matomo-data/matomo/misc/DBIP-City.mmdb kubectl -n varac exec deploy/matomo -c matomo -- ln -s /bitnami/matomo/misc/DBIP-City.mmdb /opt/bitnami/matomo/misc/DBIP-City.mmdb
Issues:
/opt/bitnami/
is not persitant, while/bitnami
is. So the symlink will vanish after a pod restart
Goatcounter
- No GDPR consent needed
- Anarcat uses Goatcounter
- No chart is available
- No official container image, only 3rd-party ones
Loki 2.0
- https://github.com/grafana/loki/blob/master/docs/sources/upgrading/_index.md#200
- https://github.com/grafana/loki/blob/master/CHANGELOG.md
Nginx log format
- auf json umstellen