Overview

Islandora Usage Stats tracks views and downloads of Islandora items, and solr searches. Features include:

Islandora Usage Stats provides the back-end framework and gathers usage data, which can be exposed through custom Views or additional modules. It also provides some built-in tools for exposing usage information:

The module's built-in displays do not respect XACML or namespace restrictions. We recommend using Drupal Views or other community modules to expose usage stats.


This is a server-side tracking solution, so a caching layer can prevent usage from being accurately recorded. If this is impacting you, a javascript-based solution such as Google Analytics or Matomo may work better.

Dependencies

Usage

This module populates tables in the Drupal database when a request is made for an object (by requesting /islandora/object/$PID) or its datastreams (by requesting /islandora/object/$PID/datastream/$DSID/download). These stats can be exposed by

The following are the built-in ways to interact with the collected stats:

Collection overview page - usage stats report

Users who have the permission to "View Islandora Usage Collection Overview" will see a table on the collection's overview page ("Manage" tab), showing the children of that collection ranked by their page views.

Blocks

The following blocks are available to place under Structure > Blocks (/admin/structure/block). Use of them is not recommended if you have sensitive objects in the repository, as namespace restrictions and XACML policies are not respected. They will show links to, and titles of, objects that are not permitted.

These blocks have more configuration options than usual, including the number of items to show and which objects (if any) should be hidden. This is available on each block's configuration page.

Reports

Users who have the premission "View Islandora Usage Reports" will see a View of objects ranked by page 'hits' , with the ability to filter by collection or date and export to CSV, at Reports > Islandora Usage Stats (admin/reports/islandora_usage_stats_report). This is an example of the kind of View that can be built with Views UI.

Configuration

Configuration options are available at Administration > Islandora > Islandora Utility Modules > Islandora Usage Stats Settings (/admin/islandora/tools/islandora_usage_stats). To access this page, users must have the permission "Manage usage tracking".