Closed helllicht closed 4 years ago
Hello, vue-matomo basically just simplifies the loading, initial configuration and tracking page views of Matomo itself. Any methods you call on this.$matomo is called directly on the matomo object. It sounds like you discovered a bug in Matomo itself so you'll probably want to open this issue there
Hi,
from the official API of Matomo:
https://developer.matomo.org/api-reference/tracking-javascript#managing-consent
If I start our application with e.g. Tracking enabled and turn it off with
forgetConsentGiven()
and re-enable it withrememberConsentGiven(24 * 90)
(24h * 90d) the return value ofhasConsent()
isfalse
. So Matomo does not track new events etc.If I re-enable it with:
the return value of
hasConsent()
istrue
and Matomo does track new events etc.Is this an issue in my application or the behavior that vue-matomo does not re-enable the tracking with "just"
rememberConsentGiven(value);
?