A few features are missing in this theme component. Such as do-not-track and cookie settings. To be GDPR compliant without cookie consent it’s needed to make sure tracking cookies are disabled and people have the means to opt-out tracking.
For that the following parts need to be included:
_paq.push(['setDoNotTrack', true]);
_paq.push(['disableCookies']);
Or is this plugin working in a different way? Just assuming since I don’t see it here and also not when I search for donottrack in that repo.
https://github.com/discourse/discourse-matomo-analytics/blob/main/common/head_tag.html
The Matomo web interface also lets you add these 2 paq lines easily. Maybe add these options to the Discourse plugin for easy configuration?
Will test this commit, if it works well I’ll submit a PR.
