Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
This is a know issue that we have discovered and creating this issue to document this as a known bug. See the original bug report in https://github.com/matomo-org/tag-manager/pull/158
Bug report:
setCookieDomain
with value.example.com
.example.com
More details:
tracker = Piwik.addTracker(trackerUrl, matomoConfig.idSite);
setVisitorIdCookie();
in the Tracker constructorwww.example.com
setCookieDomains
hasn't been called yet. It's called a bit later in: https://github.com/matomo-org/tag-manager/blob/0.2.6/Template/Tag/MatomoTag.web.js#L121-L123