Skip to content

Comments

Add Matomo page view tracking for the documentation#2955

Merged
bouweandela merged 3 commits intomainfrom
add-matomo
Jan 30, 2026
Merged

Add Matomo page view tracking for the documentation#2955
bouweandela merged 3 commits intomainfrom
add-matomo

Conversation

@bouweandela
Copy link
Member

@bouweandela bouweandela commented Jan 26, 2026

Description

Add Matomo page view tracking. This will allow us to report the number of users to demonstrate how relevant our software is to funders.

I've configured it without cookies and with respecting viewers who indicate they do not wish to be tracked for now. The documentation lives here: https://developer.matomo.org/guides/tracking-javascript-guide and I used these instructions for the integration with the pydata sphinx theme: https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/static_assets.html

This also adds the footer with legally required information used in the ESMValTool docs since ESMValGroup/ESMValTool#4072.

Related to #2520


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.


To help with the number pull requests:

@bouweandela bouweandela added the documentation Improvements or additions to documentation label Jan 26, 2026
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.62%. Comparing base (c53de2f) to head (2915470).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2955   +/-   ##
=======================================
  Coverage   95.62%   95.62%           
=======================================
  Files         266      266           
  Lines       15601    15601           
=======================================
  Hits        14918    14918           
  Misses        683      683           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@valeriupredoi valeriupredoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more Stuxnet 😁

@bouweandela bouweandela marked this pull request as ready for review January 30, 2026 16:19
@bouweandela bouweandela merged commit bf0700d into main Jan 30, 2026
5 checks passed
@bouweandela bouweandela deleted the add-matomo branch January 30, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants