Self-hosted cookieless Matomo analytics, remove foreign tracking #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom / Motivation
The site currently ships a hardcoded Matomo Tag Manager snippet in
templates/_components/core/footer.twig(lines 35–44) pointing at a third-party Matomo instance (https://krisnetics.biz/matomo/, containercontainer_mAz2p4E2.js) — a leftover from a previous developer. philflow.io is currently sending visitor data to a foreign, unauthorized analytics endpoint, unconditionally and without consent. This is a data-protection / DSGVO problem and must be removed.Phil wants his own analytics instead: self-hosted, cookieless, GDPR-defensible.
Scope
krisnetics.bizMatomo Tag Manager snippet fromfooter.twig._paqtracking partial (_system/analytics.twig), rendered only whenMATOMO_URL+MATOMO_SITE_IDare set (⇒ no tracking locally).config/custom.phpreadingApp::env(); forward the two env vars into thephpservice indocker-compose.traefik.yml.analytics.philflow.io), image pinnedmatomo:5.11-apache. No host-port mapping.Acceptance criteria
krisnetics.bizanywhere in rendered HTML.docker compose up: page renders no Matomo snippet (env empty).analytics.philflow.ioserves Matomo over HTTPS (LE cert); visiting philflow.io records a hit; no_pk_*cookies set (cookieless); IP anonymized.Note
Cookieless-JS in DE (TDDDG) is a risk-reduction, not a guaranteed consent exemption — accepted trade-off (no banner).