This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.11 by this push:
new 432897da54d [FLINK-38925][docs] Add Matomo config to PyDocs
432897da54d is described below
commit 432897da54d86055656e527046e9c71b531ac80b
Author: Martijn Visser <[email protected]>
AuthorDate: Wed Jan 21 09:11:06 2026 +0100
[FLINK-38925][docs] Add Matomo config to PyDocs
(cherry picked from commit 679ed331ab7817d89c48eb61fb7af733776df332)
---
flink-python/docs/_templates/layout.html | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/flink-python/docs/_templates/layout.html
b/flink-python/docs/_templates/layout.html
index 796d06174e9..6648a735881 100644
--- a/flink-python/docs/_templates/layout.html
+++ b/flink-python/docs/_templates/layout.html
@@ -21,4 +21,23 @@ under the License.
{{ super() }}
<script src="_static/pyflink.js" ></script>
<link rel="stylesheet" href="_static/pyflink.css" type="text/css" />
+<!-- Matomo -->
+<script>
+ var _paq = window._paq = window._paq || [];
+ /* tracker methods like "setCustomDimension" should be called before
"trackPageView" */
+ /* We explicitly disable cookie tracking to avoid privacy issues */
+ _paq.push(['disableCookies']);
+ /* Measure a visit to flink.apache.org and nightlies.apache.org/flink as the
same visit */
+ _paq.push(["setDomains",
["*.flink.apache.org","*.nightlies.apache.org/flink"]]);
+ _paq.push(['trackPageView']);
+ _paq.push(['enableLinkTracking']);
+ (function() {
+ var u="//analytics.apache.org/";
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
+ _paq.push(['setSiteId', '1']);
+ 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>
+<!-- End Matomo Code -->
{% endblock %}