Skip to main content

Matomo tracking for TDP applications

Project description

tdp_matomo Phovea NPM version Dependency Status

Matomo tracking for TDP applications based on provenance graph commands.


  • The tracking starts when a URL to a Matomo backend is set in the config.js.
  • The site ID corresponds with the Matomo site.
  • Enable the md5 encryption of user names to prevent plaintext logging (e.g., when using Matomo with LDAP login)
  "matomo": {
    "url": "", // matomo url with a trailing slash
    "site": "1",
    "encryptUserName": false

Provenance Commands

Provenance commands using the extension point actionFunction must be annotated with the property tdp_matomo in order to be found and tracked. The tdp_matomo configuration property requires the properties category and action from the IMatomoEvent (in src/matomo.ts), which can contain arbitrary strings.

  registry.push('actionFunction', 'targidCreateView', function() {
    return System.import('./internal/cmds');
  }, {
    factory: 'createViewImpl',
    tdp_matomo: {
      category: 'view',
      action: 'create'


git clone
cd tdp_matomo
npm install


npm test


npm run build

This repository is part of Phovea, a platform for developing web-based visualization applications. For tutorials, API docs, and more information about the build and deployment process, see the documentation page.

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tdp-matomo, version 4.0.0
Filename, size File type Python version Upload date Hashes
Filename, size tdp_matomo-4.0.0-py2.py3-none-any.whl (4.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size tdp_matomo-4.0.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page