This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 3649636e700 Add Matomo analytics to the provider registry (#63239)
3649636e700 is described below
commit 3649636e700c2b57bb0ff747753f7ca043706ac6
Author: Kaxil Naik <[email protected]>
AuthorDate: Tue Mar 10 03:58:29 2026 +0000
Add Matomo analytics to the provider registry (#63239)
The Airflow landing pages and Sphinx docs both track page views via
Apache's Matomo instance (analytics.apache.org, site ID 13). The
registry was missing this. Add the same snippet to the base layout
template so all registry pages are tracked under the same property.
Cookies are disabled (privacy-first) and the script loads async.
---
registry/src/_includes/base.njk | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/registry/src/_includes/base.njk b/registry/src/_includes/base.njk
index d2092ebd380..02906819bb4 100644
--- a/registry/src/_includes/base.njk
+++ b/registry/src/_includes/base.njk
@@ -34,6 +34,20 @@
</script>
<script>window.__REGISTRY_BASE__ = '{{ "/" | url }}';</script>
<link rel="stylesheet" href="{{ '/css/main.css' | url }}">
+ <!-- Matomo -->
+ <script>
+ var _paq = window._paq = window._paq || [];
+ _paq.push(['disableCookies']);
+ _paq.push(['trackPageView']);
+ _paq.push(['enableLinkTracking']);
+ (function() {
+ var u='https://analytics.apache.org/';
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
+ _paq.push(['setSiteId', '13']);
+ var d=document, g=d.createElement('script'),
s=d.getElementsByTagName('script')[0];
+ g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+ })();
+ </script>
</head>
<body>
<a href="#main-content" class="skip-link">Skip to content</a>