datasette-matomo

Add Matomo Web Analytics JavaScript tracking code to Datasette

https://github.com/centrefordigitalhumanities/datasette-matomo

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary

Keywords

datasette datasette-plugin matomo web-analytics
Last synced: 6 months ago · JSON representation ·

Repository

Add Matomo Web Analytics JavaScript tracking code to Datasette

Basic Info
  • Host: GitHub
  • Owner: CentreForDigitalHumanities
  • License: apache-2.0
  • Language: Python
  • Default Branch: develop
  • Homepage:
  • Size: 16.6 KB
Statistics
  • Stars: 3
  • Watchers: 4
  • Forks: 1
  • Open Issues: 0
  • Releases: 3
Topics
datasette datasette-plugin matomo web-analytics
Created about 3 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

datasette-matomo

PyPI Changelog Tests License

Datasette plugin that adds Matomo Web Analytics JavaScript tracking code to a Datasette application.

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-matomo

Usage

Make your configuration available to the Datasette process as environment variables:

DATASETTE_MATOMO_SERVER_URL=https://example.com/
DATASETTE_MATOMO_SITE_ID=1

The server URL must include a final slash.

If you use datasette publish:

datasette publish heroku example.db --install datasette-matomo \
    --plugin-secret datasette-matomo server_url http://example.com/ \
    --plugin-secret datasette-matomo site_id 1

Note: not all datasette publish providers currently support the --plugin-secret option.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-matomo
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Owner

  • Name: Centre for Digital Humanities
  • Login: CentreForDigitalHumanities
  • Kind: organization
  • Email: cdh@uu.nl
  • Location: Netherlands

Interdisciplinary centre for research and education in computational and data-driven methods in the humanities.

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: datasette-matomo
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - name: >-
      Research Software Lab, Centre for Digital Humanities,
      Utrecht University
    website: >-
      https://cdh.uu.nl/centre-for-digital-humanities/research-software-lab/
    city: Utrecht
    country: NL
identifiers:
  - type: doi
    value: 10.5281/zenodo.10412184
repository-code: >-
  https://github.com/CentreForDigitalHumanities/datasette-matomo
repository-artifact: 'https://pypi.org/project/datasette-matomo/'
abstract: >-
  Datasette plugin that adds Matomo Web Analytics JavaScript
  tracking code to your app.
keywords:
  - Datasette
  - Matomo
  - web-analytics
license: Apache-2.0
commit: 3acab45bf09b9d31b2233d1aed0a5adc6a6e98c9
version: 0.1.2
date-released: '2023-12-20'

GitHub Events

Total
  • Watch event: 1
  • Member event: 1
  • Fork event: 1
Last Year
  • Watch event: 1
  • Member event: 1
  • Fork event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 10
  • Total Committers: 1
  • Avg Commits per committer: 10.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Arjan Mossel a****l@g****m 10

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 3
  • Total pull requests: 1
  • Average time to close issues: 3 days
  • Average time to close pull requests: 2 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 22 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 3
  • Total maintainers: 1
pypi.org: datasette-matomo

Add Matomo Web Analytics tracking code to Datasette

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 22 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.6%
Average: 23.9%
Stargazers count: 27.8%
Forks count: 29.8%
Downloads: 30.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
setup.py pypi
  • datasette *