Open main menu
This page is a translated version of the page Extension:MatomoAnalytics and the translation is 8% complete.

Other languages:
English • ‎polski • ‎中文 • ‎日本語
MediaWiki扩展手册
OOjs UI icon advanced.svg
MatomoAnalytics
发布状态: 稳定版
SpecialAnalytics.png
描述 Integration with Matomo for analytics. Adds a special page to view that stats on-wiki.
作者 John Lewis
维护者 John Lewis/other sysadmins of Miraheze
最新版本 continuous updates
MediaWiki 1.30+
PHP 5.6+
数据更新 No, Yes if $wgMatomoAnalyticsUseDB is enabled
许可协议 GNU General Public License 3.0
下载
翻译MatomoAnalytics扩展如果在translatewiki.net可用
检查使用和版本矩阵。

The MatomoAnalytics extension inserts tracking code for the Matomo analytics platform. It also creates a Special Page (Special:Analytics) where you can view the stats on-wiki.

To report an issue or a bug related with this extension, please use Miraheze Phabricator.

Installation

  • 下载文件,并将其放置在您extensions/文件夹中的MatomoAnalytics目录内。

Configuration

parameter default comment required?
$wgMatomoAnalyticsServerURL false URL of your Matomo installation yes
$wgMatomoAnalyticsTokenAuth false The auth token for the API of your Matomo install yes
$wgMatomoAnalyticsSiteID 1 Matomo site ID no
$wgMatomoAnalyticsGlobalID false Shared Matomo site ID. For use on wikifarms. no
$wgMatomoAnalyticsUseDB false Wether to use a database or not. For use on wikifarms. no
$wgMatomoAnalyticsDatabase false Name of the main database to use. For use on wikifarms. no

See also