Extension CKAN Matomo Analytics


Extension Basics

Title
CKAN Matomo Analytics
Name
ckanext-matomo
Type
Public extension
Description
Matomo (formerly Piwik) analytics tracking extension with API event tracking, download tracking, and graphs.
CKAN versions
Download-Url (zip)
Last commit
21 days ago (2026-02-16 11:56:52)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

Adds Matomo analytics tracking to CKAN. By default only posts tracking data to configured Matomo instance. Features include: tracking data posting to Matomo, API event tracking, download tracking, and analytics graphs on dataset and resource pages. Requires configuring Matomo auth token and running CLI command ‘ckan matomo fetch’ to fetch the data for graphs. Compatible with CKAN 2.9 and 2.10. Developed by Finnish Digital Agency (vrk-kpa). Supports Transifex translations.

Version
Version release date
(not set)
Contact name
Finnish Digital Agency (vrk-kpa)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

ckanext.matomo.domain and ckanext.matomo.site_id are mandatory

Plugins to configure (ckan.ini)
matomo
CKAN Settings (ckan.ini)
# ckanext.matomo.domain = http://example.com/
# ckanext.matomo.site_id = 1
# ckanext.matomo.script_domain = 
# ckanext.matomo.token_auth = <your token here>
# ckanext.matomo.track_api = true
# ckanext.matomo.track_downloads = true
# ckanext-matomo.show_download_graph = false
DB migration to be executed
-p matomo
<< back to Extensions