https://switnet.net/en/2018/05/matomo-3-5-and-the-gdpr/
Matomo 3.5 and the GDPR