All Projects β†’ DaSchTour β†’ matomo-mediawiki-extension

DaSchTour / matomo-mediawiki-extension

Licence: other
www.mediawiki.org/wiki/Extension:Piwik_Integration

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to matomo-mediawiki-extension

ngx-matomo
Matomo (aka. Piwik) web analytics for Angular applications
Stars: ✭ 83 (+361.11%)
Mutual labels:  piwik, matomo
gatsby-plugin-matomo
πŸ₯‚ Gatsby plugin to add Matomo (formerly Piwik) onto a site.
Stars: ✭ 56 (+211.11%)
Mutual labels:  piwik, matomo
matomo-tracker
Stand alone library for using matamo tracking in frontend projects
Stars: ✭ 138 (+666.67%)
Mutual labels:  piwik, matomo
matomo-for-wordpress
Get a fully functioning Matomo Analytics for your WordPress. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Privacy is built-in. 100% data ownership, no one else can see your data. We love Pull Requests!
Stars: ✭ 90 (+400%)
Mutual labels:  piwik, matomo
Dota2WebApi
A Dota 2 Web API for Liquipedia
Stars: ✭ 24 (+33.33%)
Mutual labels:  mediawiki, mediawiki-extension
mediawiki-antispam
Antispam extension for MediaWiki.
Stars: ✭ 15 (-16.67%)
Mutual labels:  mediawiki, mediawiki-extension
nodejs-piwik
Access a Matomo (Piwik) API from node.js
Stars: ✭ 37 (+105.56%)
Mutual labels:  piwik, matomo
Matomo
Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. We love Pull Requests!
Stars: ✭ 15,711 (+87183.33%)
Mutual labels:  piwik, matomo
SemanticWikibase
Makes Wikibase data available in Semantic MediaWiki
Stars: ✭ 14 (-22.22%)
Mutual labels:  mediawiki, mediawiki-extension
SimpleBatchUpload
Allows for basic, no-frills uploading of multiple files
Stars: ✭ 15 (-16.67%)
Mutual labels:  mediawiki, mediawiki-extension
hugo-component-matomo
Matomo user tracking and optout scripts for Hugo
Stars: ✭ 38 (+111.11%)
Mutual labels:  piwik, matomo
Zhconv
Simple conversion and localization between simplified and traditional Chinese using tables from MediaWiki.
Stars: ✭ 192 (+966.67%)
Mutual labels:  mediawiki
Apps Android Wikipedia
πŸ“±The official Wikipedia app for Android!
Stars: ✭ 1,350 (+7400%)
Mutual labels:  mediawiki
Linq To Wiki
.Net library to access MediaWiki API
Stars: ✭ 93 (+416.67%)
Mutual labels:  mediawiki
Mediawiki
MediaWiki API wrapper in python http://pymediawiki.readthedocs.io/en/latest/
Stars: ✭ 89 (+394.44%)
Mutual labels:  mediawiki
Wiktionaryparser
A Python Wiktionary Parser
Stars: ✭ 224 (+1144.44%)
Mutual labels:  mediawiki
App
Wikia Application Code
Stars: ✭ 183 (+916.67%)
Mutual labels:  mediawiki
Chameleon
Provides a highly flexible and customizable skin using Bootstrap 4
Stars: ✭ 78 (+333.33%)
Mutual labels:  mediawiki
Jwiki
πŸ“– A library for effortlessly interacting with Wikipedia/MediaWiki
Stars: ✭ 69 (+283.33%)
Mutual labels:  mediawiki
Mediawiki Extensions Visualeditor
This is a mirror from https://gerrit.wikimedia.org. See https://www.mediawiki.org/wiki/Developer_access for contributing.
Stars: ✭ 65 (+261.11%)
Mutual labels:  mediawiki

Mamoto extension for MediaWiki

Version 4.0.1

  • Last update: 28 February 2019

This the Mamoto (ex-Piwik) integration extension for MediaWiki software. The extension is only useful if you've got a MediaWiki installation; it can only be installed by the administrator of the site.

Minimum requirements

  1. MediaWiki 1.25+

  2. A Matomo (0.4+) installation with the site configured

Installation instructions

Please, read them carefully. They're not very difficult to understand, but ALL steps are necessary:

  1. Create a folder called "Matomo" in your extensions directory

  2. Upload extension.json and Matomo.hooks.php in the "Matomo" folder you've just created

  3. Edit your LocalSettings.php and, at the end of the file, add the following:

     wfLoadExtension( 'Matomo' );
    
  4. Configure the Matomo URL and site-id. To do so; edit the LocalSettings and set up the following variables:

    $wgMatomoURL = "matomo-host.tld/dir/";

    $wgMatomoIDSite = "matomo_idsite";

    IMPORTANT Do not define the protocol of the $wgMatomoURL

Note: Change the value of $wgMatomoURL with the URL, without the protocol but including the domain name, where you installed Matomo. Remember to add the trailing slash!

  1. Enjoy our extension!

Note: to check if the extension has succesfully installed; go to your wiki and check if the Matomo extension is present on the bottom of the Wiki source code.

Custom variables

  • Disable cookies by setting the $wgMatomoDisableCookies variable to false.

    For example: $wgMatomoDisableCookies = false;

  • Ignore regular editors: set $wgMatomoIgnoreEditors to true

  • Ignore Bots: set $wgMatomoIgnoreBots to true

  • Ignore sysop users: set $wgMatomoIgnoreSysops to true

  • To define custom javascript tags in the Matomo javascript code, its possible to define the $wgMatomoCustomJS variable. For example if you have a single setting to insert; use the following code:

    $wgMatomoCustomJS = "_paq.push(['trackGoal', '1']);"

    If you have multiple variables to define; use an array. For example:

    $wgMatomoCustomJS = array( "_paq.push(['setCustomVariable', '1','environment','production']);", "_paq.push(['setCustomVariable', '1','is_user','yes']);" );

  • If you want to change the title of your pages inside the Matomo tracker, you can set $wgMatomoActionName inside your LocalSettings.php file.

  • In case you want to include the title as, for example, "wiki/Title of the page", you can set $wgMatomoUsePageTitle to true and set $wgMatomoActionName to wiki/. The extension will print matomo_action_name = 'wiki/Title of the page';

  • If you want to track the username of the visitor with the Matomo feature User ID (needs Matomo >= 2.7.0) set the $wgMatomoTrackUsernames to true in LocalSettings.php.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].