Dear all
I’m an absolute newbee to Matamo but it looks to me brillant!
IF ONLY… I could get it counting.
I’m using a MedaiWiki installation which is already quite settled and added Matomo yesterday only.
I’m sure, it is my mistake.
Could someone please drop me his/her snippet out of localsettings.php of his/her working MediaWiki installation?
Is it correct, that I installed the MW-installation of Matomo to the extensions folder plus the full installation of Matomo within a separate folder? At least I get the dashboard there, but it simply says “no data has been recorded” (or sth. simular.
$wgMatomoURL contains the path to the full Matomo installtion, not to the extension of MediaWiki.
Questions:
Do I need to adopt $IP/extensions/MatomoAnalytics/extension.json?
I tried with and without - no success.
Do I have to add any code to the wiki articles manually? As far as I unserstand: nope.
Which user rights and owner should the main matomo dir have?
Remark: Didn’t change anything within the /matomo sub-dir (the main installation. Checking the installation by calling /matomo/index.php shows no error in the installation and that everything is properly installed, and all modules are available.
The solution: made an error in configuration of Localsettings.php:
$wgMatomoURL = "wiki-name.dyndns.org/matomo";
has been used.
Instead: use this (as a relative path of local webserver): $wgMatomoAnalyticsServerURL = "/matomo/";
and don’t forget the trailing slash.
And: leave the Matomo’s extension.json unchanged!
If you have questions or problems yourself, please drop it here, maybe I can help…