I have installed the on-premise version of Matomo on a subdomain and added the plugin to my site. I can see the script code in my site’s source code, but although I know for certain that I have many visitors on the site, upon loading my Matomo site each time I see the installation code and the note that it hasn’t been installed yet. I can then opt to hide that message for an hour, but even so zero visits or visitors are being tracked. What am I missing?
Sorry to bump this, but I could really use some pointers here.
I’m using Publii version 0.41.1 (0.41.1) with the Mercury theme (v. 2.4.0.0) and the lastest, freshest installation of Matomo on-premise on a subdomain.
The Matomo plugin is installed in Publii and switched to the “on” position
When I peek at my site’s source code in the browser, I can see that the Matomo tracking code is embedded in the <head> portion.
Yet when I log into my Matomo dashboard, I always get the message, that tracking code needs to be installed/embedded. I can then choose to hide that message for an hour.
In the Matomo dashboard, not a single visitor or page view is being tracked, even though I know for certain that I have hundreds of visitors after publishing a new blog entry. I get feedback on my articles on Twitter, Mastodon etc.
I use the Matomo Dashboard to track another website that runs on wordpress and that site’s visits are being tracked just fine.
In the Matomo system check it says that there are not tracking errors. Every single item on the list has a green checkmark, only one area is on orange alert and that’s about setting up a cron-job, which is not mandatory or necessary, just optional.
I simply don’t know where to look any longer. From all that I gather I’ve set up Matomo correctly and possibly made an error within Publii’s settings, but I don’t know what or where. Please help.
Could you provide URL to your website? It would make debugging easier on our side 🙂
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!
1) You did not set Cookie Group ID – probably you thought that the placeholder text is a default value – please fix it
2) Please use https instead of http in a link to your Matomo instance
That should solve your issues
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!
All right, it works! And I had to add a slash after the link to my Matomo instance. The browser console showed an error, the Beacon API couldn’t load otherwise.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!