I am using Matomo _paq.push([‘requireConsent’]) method. After user gave consent, I enable Matomo with paq.push([‘forgetUserOptOut’]).
This worked perfectly until the upgrade to 4.0.X (not exactly sure, I guess 4.0.4 or 4.0.5).
Now, just the first page is tracked on which user gave his consent. When a user clicks on other sites, they are not tracked.
I searched for the error, no tracking cookies are set anymore.
I didn’t change anything on my code so it seems to be a Matomo problem.