From 12f1fbfd12f530bf07fd34bada109195c6f75435 Mon Sep 17 00:00:00 2001 From: Prashant Date: Wed, 24 Sep 2025 17:33:12 -0700 Subject: [PATCH 1/4] Add analytics for polaris.apache.org --- site/layouts/partials/head.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html index 6bae43d630..ccba301403 100644 --- a/site/layouts/partials/head.html +++ b/site/layouts/partials/head.html @@ -26,6 +26,25 @@ {{ template "_internal/twitter_cards.html" . -}} {{ partialCached "head-css.html" . "asdf" -}} + + + + From 3a28e13500723f6d9ad892aa6d29dfc37d0aa323 Mon Sep 17 00:00:00 2001 From: Prashant Date: Thu, 25 Sep 2025 09:51:41 -0700 Subject: [PATCH 2/4] Address review feedback --- site/layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html index ccba301403..afd5beaa5a 100644 --- a/site/layouts/partials/head.html +++ b/site/layouts/partials/head.html @@ -32,7 +32,7 @@ /* 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 */ + /* Measure a visit to polaris.apache.org */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { From c8767e742c4ce1a5e20e53c353976b39755ee6d7 Mon Sep 17 00:00:00 2001 From: Prashant Date: Thu, 25 Sep 2025 12:49:05 -0700 Subject: [PATCH 3/4] matomo side id --- site/layouts/partials/head.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html index afd5beaa5a..a22e08df15 100644 --- a/site/layouts/partials/head.html +++ b/site/layouts/partials/head.html @@ -28,18 +28,20 @@ From fc7eeaaa1b0c9693e2b2532ebcb344c0ca1833aa Mon Sep 17 00:00:00 2001 From: Prashant Date: Thu, 25 Sep 2025 12:53:26 -0700 Subject: [PATCH 4/4] Add matomo as the last thing in the script --- site/layouts/partials/head.html | 42 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html index a22e08df15..5e182830b6 100644 --- a/site/layouts/partials/head.html +++ b/site/layouts/partials/head.html @@ -26,27 +26,6 @@ {{ template "_internal/twitter_cards.html" . -}} {{ partialCached "head-css.html" . "asdf" -}} - - - - @@ -99,3 +78,24 @@ {{ end -}} {{ end -}} + + + +