====== Statistics Plugin ====== ---- plugin ---- description: Log and analyze access statistics author : Andreas Gohr email : dokuwiki@cosmocode.de type : admin, action lastupdate : 2025-12-01 compatible : Librarian depends : sqlite conflicts : similar : quickstats tags : statistics, logging updatemessage: This plugin no longer uses MySQL, check the docs before updating. downloadurl: https://github.com/cosmocode/dokuwiki-plugin-statistics/zipball/master sourcerepo : https://github.com/cosmocode/dokuwiki-plugin-statistics bugtracker : https://github.com/cosmocode/dokuwiki-plugin-statistics/issues screenshot_img: plugin:plugin-statistics.png ---- [[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]] This plugin provides logging and statistics on views and visitors of your wiki. The statistics are a mix of wiki centric stats (like number of edits, logged in users and groups) and typical web statistics (views, visitors, traffic, browsers, etc.) and provides graphical diagrams for most statistics. It should be most useful to people using DokuWiki as their blog or homepage but provides useful stats for internal use as well. ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. The plugin requires the [[plugin:sqlite]] plugin to be installed. :!: The plugin now stores all data in a sqlite database. MySQL is no longer supported and old data is **not** imported. ==== Changes ==== {{rss>https://github.com/splitbrain/dokuwiki-plugin-statistics/commits/master.atom date}} ===== Usage ===== Once installed, the plugin will automatically start logging accesses, You can view the statistics from the Admin screen (labelled "Access and Usage Statistics"). ===== Configuration ===== The plugin provides some configuration options in the Configuration Manager. It provides the option to anonymize logged IP addresses, disable Geolocation lookups and the logging of usernames and groups. There is also a data retention setting to keep the size of your database reasonable. ===== Known limitations ===== * Currently only users with JavaScript enabled are logged * the search word parsing is a bit flaky ("don't" is two words)