First thought maybe need to wait some time, but on the other hand: there is block with “REAL TIME” stats, so something should be displayed there as long as site has visitors.
I just tested the plugin for the first time with my installation and it works out of the box.
Have you made sure that your settings are all correct (id, token and URL)? Since a wrong ID and token show an error message, there’s maybe something wrong with the URL?
What surprises me is that the link to the Matomo dashboard in the upper right corner is missing as well. But I can’t really help you with this, I’m afraid, since I just did a quick test to check if it works as expected.
You have to put all config settings into a single return array. If PHP sees a return statement, it gives back control to the calling script, ignoring anything that comes after it.
Matomo is very interesting system, as it shows even more useful info, than Google Analytics, and all that is without a single cookie. And all available in the Panel, so can add value for client and help to sell product.
If anyone would like to use it, I also suggest to switch Geo location setting to this:
as default would give wrong visitors details, like USA instead of Europe.
In Europe (and if you make business in Europe), it won’t make much sense, since you have to anonymise IP addresses to conform to GDPR. If you mask the last 2 bytes like recommended, geo location will be very rough.
Turning that on can be problematic it certain parts of the world, due to privacy concerns (and laws). It’s worth understanding the data that will be collected and how it applies to the laws in your country before enabling them.
Matomo can be configured to automatically anonymise data so you don’t process any personal data. This allows you to completely avoid GDPR. If you decide to process personal data, Matomo provides you with various features to easily comply with the GDPR guidelines."
Yes, but it also says that if you remove the last 2 bytes from the IP, Geo location will not be very exact and they recommend to not use the full IP for geo location for privacy reasons (although you can set it to yes like you did in your settings). I’m not sure what is or is not allowed under GDPR.
Hey. Still having the same problem that Kirby doesnt display any data in the panel. I have set up the most recent version of Matomo and also have the config file as texnixe demonstrated. Any ideas?
EDIT:
To provide more info: When i use the snippet <?php snippet('matomo'); ?> - it never includes the matomo tracking code. As the inital if statemate wont be fulfilled: <?php if(Matomo::allowed()) : ?>
As a workaround, i just incldued the tracking code manually in my footer.php snippet, yet, I’m wondering if the not-fulfilling if statemate correlates with the issues of not haveing data shown in the backend.