Jump to content

Extension:MatomoAnalytics/ko

From mediawiki.org
This page is a translated version of the page Extension:MatomoAnalytics and the translation is 3% complete.
미디어위키 확장 기능 설명서
MatomoAnalytics
출시 상태: 안정
구현 특수 문서 , 사용자 활동
설명 Integration with Matomo for analytics. Adds a special page to view that stats on-wiki.
만든 이 John Lewis, Southparkfan, Universal Omega, Agent Isai
유지 보수자 Miraheze system administrators
최신 버전 continuous updates
호환성 정책 Main branch maintains backward compatibility.
MediaWiki >= 1.43.0
PHP 7.2+
데이터베이스 변경 No, Yes if $wgMatomoAnalyticsUseDB is enabled
Composer miraheze/matomo-analytics
가상 도메인 virtual-matomoanalytics
  • $wgMatomoAnalyticsEnableCustomDimensionsUserType
  • $wgMatomoAnalyticsForceGetRequest
  • $wgMatomoAnalyticsDisableCookie
  • $wgMatomoAnalyticsSiteID
  • $wgMatomoAnalyticsUseDB
  • $wgMatomoAnalyticsTokenAuth
  • $wgMatomoAnalyticsDisableJS
  • $wgMatomoAnalyticsGlobalID
  • $wgMatomoAnalyticsServerURL
  • noanalytics
  • viewanalytics
Licence GNU General Public License 3.0 or later
다운로드

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.

설치

  • 파일을 Download하고 MatomoAnalytics 폴더를 extensions/ 디렉토리에 넣어 주세요.
  • 아래의 코드를 LocalSettings.php 코드의 마지막에 추가합니다.
    wfLoadExtension( 'MatomoAnalytics' );
    
  • Configure as required.
  • Yes 완료 – 위키의 ‘Special:Version’에 이동해서, 확장기능이 올바르게 설치된 것을 확인합니다.

Configuration

parameter default comment required?
$wgMatomoAnalyticsServerURL "" URL of your Matomo installation

It is important that the whole URL is used with protocol and trailing slash: http://example.org/

Required
$wgMatomoAnalyticsTokenAuth "" The auth token for the API of your Matomo install Required
$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/

See also