I would like to change the settings of Matomo based on consent settings. For example, by default I would like to anonymize IPs, but if visitors give consent for identification I would like to set this variable ‘off’. Or the use of user ID, ‘off’ by default, but with consent for personalization use user IDs. GA supports a long list of variable settings which could be set with a boolean (true or false) when loaded (see example anonymize IP: Analytics.js Field Reference | Analytics for Web (analytics.js)).
Im wondering if this is already covered in Matomo or would be a new feature, though I cant find anything related on the forum or on the website.