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:
And you will see
Add the theme component “Matomo Analytics” to your active theme(s).