docfx icon indicating copy to clipboard operation
docfx copied to clipboard

[Feature Request] Tracking with Matomo

Open jamaa opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. Recently, the ability to add Google Analystics tracking was added in #8733. It would be nice to have the possibility to also use alternative trackers such as Matomo.

Describe the solution you'd like Ideally, we could set the tracker url and site id in the docfx config and docfx would include the corresponding javascript tracking code in the output.

Describe alternatives you've considered The alternative is to add the tracking code to a custom template

Additional context

jamaa avatar Jun 10 '23 07:06 jamaa

It seems Matomo does not have a free tier, hence we cannot promote it here by providing builtin support.

yufeih avatar Jul 17 '23 04:07 yufeih

It appears to have a self-hosted free option https://matomo.org/what-is-on-premise/. In which case the URL would have to be configured as global metadata, I guess.

KalleOlaviNiemitalo avatar Jul 17 '23 04:07 KalleOlaviNiemitalo

It seems Matomo does not have a free tier, hence we cannot promote it here by providing builtin support.

It is open-source and free if you self-host it. It also respects user privacy more than Google Analytics does. I would prefer promoting Matomo over Google Analytics any day. But that's just my personal opinion.

jamaa avatar Jul 17 '23 08:07 jamaa

Hi! Do you have any updates here? I also preferred Matomo because of its privacy and I'd like to see native docfx support of Matomo.

natakazakova avatar Sep 24 '24 15:09 natakazakova