I just switched from GA to Matomo[0] and have a good impression so far.
Seems similar to Pirsch in terms of cookie less tracking, GDPR / DSGVO compliance, being open source, self-hostable, having a decent UI and API.
Seems similar to Pirsch in terms of cookie less tracking, GDPR / DSGVO compliance, being open source, self-hostable, having a decent UI and API.