Extension:MatomoAnalytics/pl
Appearance
Status wydania: stabilne |
|
|---|---|
| Realizacja | Strona specjalna, Aktywność użytkownika |
| Opis | Integration with Matomo for analytics. Adds a special page to view that stats on-wiki. |
| Autor(zy) | John Lewis, Southparkfan, Universal Omega, Agent Isai |
| Opiekun(owie) | Miraheze system administrators |
| Ostatnia wersja | continuous updates |
| Polityka zgodności | Główna gałąź utrzymuje kompatybilność wsteczną. |
| MediaWiki | >= 1.43.0 |
| PHP | 7.2+ |
| Zmiany w bazie danych | No, Yes if $wgMatomoAnalyticsUseDB is enabled |
| Composer | miraheze/matomo-analytics |
| Domena wirtualna | virtual-matomoanalytics |
|
|
|
|
| Licence | Licencja GNU General Public License 3.0 lub nowsza |
| Pobieranie | |
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
MatomoAnalyticsw swoim kataloguextensions/. - Dodaj poniższy kod na dole twojego pliku LocalSettings.php:
wfLoadExtension( 'MatomoAnalytics' );
- Skonfiguruj zgodnie z wymaganiami.
Zrobione – Przejdź do Special:Versionna twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Konfiguracja
| parametr | wartość domyślna | komentarz | wymagane? |
|---|---|---|---|
$wgMatomoAnalyticsServerURL
|
""
|
URL of your Matomo installation
It is important that the whole URL is used with protocol and trailing slash: |
Wymagane |
$wgMatomoAnalyticsTokenAuth
|
""
|
The auth token for the API of your Matomo install | Wymagane |
$wgMatomoAnalyticsSiteID
|
1
|
Matomo site ID | Optional |
$wgMatomoAnalyticsGlobalID
|
0
|
Shared Matomo site ID. For use on wikifarms. | Optional |
$wgMatomoAnalyticsUseDB
|
false
|
Whether to use a database or not. For use on wikifarms. | Optional |
$wgMatomoAnalyticsForceGetRequest
|
false
|
Whether or not you want to force GET requests which also disables beacon. Reverts back to Matomo v3 tracking behavior. | Optional |
$wgMatomoAnalyticsEnableCustomDimensionsUserType
|
false
|
Whether to fetch userType in Matomo using CustomDimensions. You must set up CustomDimensions to be able to use this.
|
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: |
| 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. |
Categories:
- Stable extensions/pl
- Special page extensions/pl
- User activity extensions/pl
- Extensions supporting Composer/pl
- CreateWikiCreation extensions/pl
- CreateWikiDeletion extensions/pl
- CreateWikiRename extensions/pl
- InfoAction extensions/pl
- LoadExtensionSchemaUpdates extensions/pl
- SkinAfterBottomScripts extensions/pl
- GPL licensed extensions/pl
- Extensions in GitHub version control/pl
- All extensions/pl
- Extensions included in Miraheze/pl
- Web Analytics extensions/pl
- Statistics extensions/pl
- Extensions by Miraheze/pl
