Skip to main content

DEPRECATED: tdp_matomo

Target Discovery Platform Target Discovery Platform NPM version Build Status

Matomo tracking for TDP applications based on provenance graph commands.

DEPRECATION Information

Please note that this project has been archived and is no longer being maintained. There is an active development under https://github.com/datavisyn/tdp_core and we will also contribute our future changes to it.

Configuration

  • 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": "https://matomo.my-example-domain.com/", // 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 analytics in order to be found and tracked. The analytics 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 import('./internal/cmds');
  }, {
    factory: 'createViewImpl',
    analytics: {
      category: 'view',
      action: 'create'
    }
  });

Installation

git clone https://github.com/datavisyn/tdp_matomo.git
cd tdp_matomo
npm install

Testing

npm test

Building

npm run build

This repository is part of the Target Discovery Platform (TDP). For tutorials, API docs, and more information about the build and deployment process, see the documentation page.

Release files for tdp-matomo 8.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tdp-matomo 8.0.0
File Size Uploaded
tdp_matomo-8.0.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tdp-matomo 8.0.0
File Interpreter ABI Platform
tdp_matomo-8.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.1 kB

Release files / tdp_matomo-8.0.0.tar.gz

Download URL tdp_matomo-8.0.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
89834cf4c0bdbfc8a2b90d30dfbe411336886f5907b00df15ba3f5b189427dca
BLAKE2b-256 checksum
How to use checksums
8fbe0c26f5c298785b5f0332f6ef53bc7fe57847d457d738bfbf734afeb25b9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release files / tdp_matomo-8.0.0-py2.py3-none-any.whl

Download URL tdp_matomo-8.0.0-py2.py3-none-any.whl
Size 4.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
91c204448ec2ad7237faafda41c8483a2de907f33709116ef3891759f57a190d
BLAKE2b-256 checksum
How to use checksums
47db80a31f521ef996447a68f6a1961bbf8ba4757ce618d06f76a29a1a769780
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

Release history Release notifications | RSS feed

This release

8.0.0 This release

2 release files

7.0.0

2 release files

6.0.0

2 release files

4.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page