Cookiehub Datalayer integration

There are different options -

  1. You could use the Cookiehub event system to keep track of the current consent settings and “tell” Matomo about these changes - https://support.cookiehub.com/article/87-events

  2. You overwrite the datalayer.push function for GTM to also push to the Matomo dataLayer (_mtm).