asulibraries / islandora_matomo
Islandora Matomo module
Installs: 1 194
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 3
Type:drupal-module
Requires
- drupal/matomo: ^1.9
This package is auto-updated.
Last update: 2025-06-02 00:37:12 UTC
README
Introduction
A Drupal 8 module that provides an API for querying a Matomo instance for usage data on individual nodes and file downloads.
Overview
In addition to the API, which other modules can use, this module includes a submodule, Islandora Matomo Blocks, which provides blocks for displaying the number of hits or visits on a node, the number of media downloads for a node, or a summed report of node hits/visits and media downloads. You enable these blocks like you would any other.
Hits are the total number of times a page was loaded or a file downloaded, while visits counts all page loads and file downloads from the same visitor within 30 minutes as a single visit.
Requirements
Installation
- Clone this repo into your Islandora's
drupal/web/modules/contrib
directory. - Enable the module either under the "Admin > Extend" menu or by running
drush en -y islandora_matomo
. - The Islandora Matomo Blocks module must be enabled separately:
drush en -y islandora_matomo_blocks
.
Configuration
Configuration options are available at Admin > Islandora > Islandora Matomo, or at admin/config/islandora/matomo
.