DEPRECATED: Matomo tracking for TDP applications
Project description
DEPRECATED: tdp_matomo
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tdp_matomo-8.0.0.tar.gz
.
File metadata
- Download URL: tdp_matomo-8.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89834cf4c0bdbfc8a2b90d30dfbe411336886f5907b00df15ba3f5b189427dca |
|
MD5 | 0c2b2e5d62f54a6486ef76371a0905df |
|
BLAKE2b-256 | 8fbe0c26f5c298785b5f0332f6ef53bc7fe57847d457d738bfbf734afeb25b9a |
File details
Details for the file tdp_matomo-8.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tdp_matomo-8.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91c204448ec2ad7237faafda41c8483a2de907f33709116ef3891759f57a190d |
|
MD5 | 0bf54540f7d459dc4add704b40e87252 |
|
BLAKE2b-256 | 47db80a31f521ef996447a68f6a1961bbf8ba4757ce618d06f76a29a1a769780 |