Matomo and GDPR: Apply Cookie-less Option

Describe the problem you would like to solve
The current Matomo plugin does not comply to the GDPR, as it uses cookies without user consent.

Describe the solution you’d like
An optimal solution would be a cookie consent banner. Another option, which is far less intrusive and still seems to comply (according to Matomo Cookieless Tracking - Analytics Platform - Matomo) is the use of Cookie-less tracking and pseudonymization of the tracked data.
For this, only a short line needs to be inserted in the javascript tracking code.
This injection could be made optional using a checkbox on the plugin’s settings page.

Who is asking for this feature?
Journal Administrators, Developers, Technical Support, Financing Institutions (all who need web statistics that comply to the GDPR)

Matomo is a big monster and I still need to test in deep but looks like you can configure it to work without cookies:

Anyway, sounds like a good idea to create a generic cookie manager to control any cookies that plugins could add to OxS, don’t you think?

In our service we implemented it at theme level but PKP community could benefit of a generic cookie banner (but adapted to OxS).

Cheers,
m.