What is kirby-stats
kirby-stats is a minimalistic visitor statistics tool: It logs either each hit or one hit per session and page and shows a little widget in the panel. Per default every hit is logged, see settings for how you can change that.
Download the files and put them in the respective subfolders of
assets. If any of the folders don't exist, create them.
Warning: This plugin will store its information in a page called
kirbystats. If this page exists, it will be corrupted with other data! If it doesn't exist, do not worry, the plugin will create the page itself.
Currently kirby-stats stores the logs on a per-language basis, if you're using a multi language setup. Depending on your panel language the corresponding logs will be loaded. A combined view is in the works...
Some details can be specified in the config file. Use
c::set('option', 'parameters') in your
config.php to use any of them.
|stats.roles.ignore||A single role (e.g.
|stats.days||kirby-stats keeps a log of the total page views per day for the last
|stats.links||Whether to link to link to the respective page from the list of most frequently visited pages or not. Default is
|stats.session||Whether to store each hit (
|stats.date.format||Any valid PHP date format string. Will be used in the panel widget to display the recorded per-day values. Default is
|stats.format||Output format for the list in the widget. Options are
Author: Fabian Sperrle