Extension:MatomoAnalytics/pl
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.
For reporting an issue or a bug, please use Miraheze Phabricator. See here for the workboard.
Instalacja
- Pobieranie i umieść plik(i) w katalogu o nazwie
MatomoAnalytics
w swoim kataloguextensions/
. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
wfLoadExtension( 'MatomoAnalytics' );
- Skonfiguruj zgodnie z wymaganiami.
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
- It is important that the whole URL is used with protocol and trailing slash:
http://example.org/
Konfiguracja
parametr | wartość domyślna | komentarz | wymagane? |
---|---|---|---|
$wgMatomoAnalyticsServerURL |
false |
URL of your Matomo installation | Wymagane |
$wgMatomoAnalyticsTokenAuth |
false |
The auth token for the API of your Matomo install | Wymagane |
$wgMatomoAnalyticsSiteID |
1 |
Matomo site ID | Optional |
$wgMatomoAnalyticsGlobalID |
false |
Shared Matomo site ID. For use on wikifarms. | Optional |
$wgMatomoAnalyticsUseDB |
false |
Whether to use a database or not. For use on wikifarms. | Optional |
$wgMatomoAnalyticsDatabase |
false |
Name of the main database to use. For use on wikifarms. | Optional |
$wgMatomoAnalyticsDisableCookie |
false |
Allow disabling cookies set by Matomo. | Optional |
$wgMatomoAnalyticsDisableJS |
false |
Allow disabling of JS tracking code globally | Optional |
Matomo API token
To obtain a Matomo API token from your Matomo installation, you can follow the official documentation:
https://matomo.org/faq/general/faq_114/
Zobacz też
![]() | To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
![]() | This extension is maintained by Miraheze. Some Miraheze extensions are very Miraheze-specific and you may encounter issues you don't see on Miraheze. To report a bug or request a configuration change, please do so on the Miraheze Issue Tracker and not on Wikimedia Phabricator. |
Category:All extensions/pl
Category:CreateWikiCreation extensions/pl
Category:CreateWikiDeletion extensions/pl
Category:CreateWikiRename extensions/pl
Category:Extensions by Miraheze/pl
Category:Extensions in GitHub version control/pl
Category:Extensions included in Miraheze/pl
Category:Extensions included in Telepedia/pl
Category:Extensions supporting Composer/pl
Category:Extensions with invalid or missing type/pl
Category:Extensions with manual MediaWiki version/pl
Category:GPL licensed extensions/pl
Category:LoadExtensionSchemaUpdates extensions/pl
Category:SkinAfterBottomScripts extensions/pl
Category:Stable extensions/pl
Category:Statistics extensions/pl
Category:Web Analytics extensions/pl