Statistics Application

Last modified by Admin on 2024/10/12 00:26

statistics.pngPanels and pages providing XWiki statistics
TypeXAR
Category
Developed by

XWiki Development Team

Active Installs266
Rating
LicenseGNU Lesser General Public License 2.1
Compatibility

Bundled by default in XWiki from XWiki 1.2-rc-1 till XWiki 7.4.x (not bundled anymore by default in XWiki 8.0+)

Installable with the Extension Manager

Description

This application is not currently maintained (since XWiki 8.0+). It is recommended to use the Matomo Integration instead, which provides a richer set of features.

For instance, you could find out:

  • The most viewed pages in a specific space or within the entire wiki
  • The most edited spaces
  • The most active contributors of your wiki
  • How the number of page views and page edits have evolved during the current month
  • The most referred pages within your wiki
  • Your wiki's best referrers

How to use

If you're an Admin then starting with XWiki 5.3M2+ you'll see an entry in the Applications Panel (with earlier versions you had to navigate to the Stats/WebHome page manually) as shown below. Starting with XWiki 8.0, this application is not installed by default.

Flamingo:
statsentryflamingo.png

When you visit the Statistics application for the first time you may get a warning message like the following:

The statistics module is disabled by default for improved performances.

If this is the case then read the Admin Guide to find out how to enable it.

Also, you may not have any statistics recorded at the beginning. In time, after your wiki gets visited and users add content to it you'll be able to see all the statistics.

NoStatisticsRecorded.png

Statistics Home Page

Stats-WebHome.png

Document Statistics

MostViewedPages.png MostEditedPages.png MostViewedSpaces.png MostEditedSpaces.png

Visit Statistics

MostActiveContributors.png LeastActiveContributors.png

Activity Statistics

CurrentWeekActivity.png CurrentMonthActivity.png CurrentYearActivity.png AllTimeActivity.png

Referrer Statistics

referrer.png

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

To enable statistics you need to modify the xwiki.cfg file so that:

  • xwiki.stats=1 is set (it's the default)
  • xwiki.stats.default=1 is set (by default it's set to 0)

Dependencies

Dependencies for this extension (org.xwiki.platform:xwiki-platform-statistics-ui 16.8.0):

Get Connected