between
Extension:MatomoAnalytics
and
Extension:Matomo
Please check and correct the default values. There are not all consistent with the items they are related to. Thanks.
Christian 🇫🇷 FR (talk) 07:18, 22 February 2023 (UTC)
In my console I have thise error : "The method setSiteId is registered more than once in "_paq" variable."
In my source code the matomo script is present twice.
And in the matomo dashboard, all pageviews are counted two times...
I use MW 1.39 and last matomo version. My skin is foreground.
An idea ?
PS 1Â : As a temporary "fix", I copy-paste once the script code in my skin php code and disable the extension. Work fine. But not really elegant...
PS 2Â : Same issue with the other extension "Matomo".
Special:Analytics on a Fandom.com wiki includes the next data:
Is there a possibility that implementing some of the above functions in MatomoAnalytics, and deploying on Miraheze in the future, in the perspective of technical and policies?
Miraheze doesn't collect per page info,[1] but site views. It could show a graph of site views per day?
Every time I activate the extension with "wfLoadExtension( 'MatomoAnalytics' );" I receive an error on the top of my wiki pages that says: "Deprecated: Non-static method MatomoAnalyticsHooks::matomoScript() should not be called statistically in /.../.../includes/Hooks.php on line 177. Any thoughts on how to fix this?
Hi, thanks for the report!
We have fixed it here https://github.com/miraheze/MatomoAnalytics/commit/d8d1236c8a2d566ae790693fdd49786c8b562030
In Piwik there was a variable to track user ids, $wgPiwikTrackUsernames. That isn't documented as part of MatomoAnalytics. Is there a counterpart in Matomo? Tenbergen (talk) 02:51, 2 October 2018 (UTC)
It started tracking correctly and intuitively, I just didn't see it in tests since it was excluding visits from the IP looking at Matomo. Tenbergen (talk) 00:48, 3 October 2018 (UTC)