Skip to content

Website analytics

Privacy friendly cloud services

Plausible

Issues

Backup/Restore

Geolocation

Matomo

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 AdministrationPrivacyAnonymize data and enable the checkbox Force tracking without cookies
  • Geolocation See ~/Howtos/geolocation.md how to get the db

    sh 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

https://www.goatcounter.com/

Loki 2.0

Nginx log format

  • auf json umstellen

Dashboard