Matomo is an open source analytics platform. Users can choose between self-hosting or paying for professional hosting in the cloud.
Note: Matomo was formerly named Piwik. See Piwik is now Matomo - Announcement - Analytics Platform - Matomo for details about the name change.
To enable Matomo analytics on your Discourse forum, all you have to do is install the official theme component.
Valid for Matomo API v1.5 and newer
-
Follow the theme installation guide to import from the following URL:
https://github.com/discourse/discourse-matomo-analytics.git
And you will see
-
Enter the
Host URL
andWebsite ID
-
Add the theme component “Matomo Analytics” to your active theme(s).
That’s it!
Thanks to @mattab & @brahn for updates
Updated by @tagtomat after @simon helped setting it up on our forum