Seeing this "The method disableCookies is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers" in the console.log.
Description
Description
Related Objects
Related Objects
- Mentioned Here
- P479 Matomo code being repeated twice
Event Timeline
Comment Actions
I dont think this is an issue with the extension, but Matomo itself, as it definitely isn't defined twice within the extension.
Comment Actions
If I had to guess, MatomoAnalyticsHooks::matomoScript, a function listening to the SkinAfterBottomScripts hook, is being called twice, for some bizarre reason most likely.
Comment Actions
<s>I've narrowed it down to the string. I've made a stand-alone script and am getting the same error as the extension.</s>
Comment Actions
Forget the above, it was because of using var_dump in my script. No problems with the string in PHP 8.0.27.
Comment Actions
My local test shows it fixing it also. Interesting that here it didn't and made it disappear completely. Anyway, thanks!