shangxinli commented on code in PR #14158:
URL: https://github.com/apache/iceberg/pull/14158#discussion_r2379171603


##########
site/overrides/partials/header.html:
##########
@@ -93,4 +93,24 @@
   <!-- Navigation tabs (sticky) -->
   {% if "navigation.tabs.sticky" in features %} {% if "navigation.tabs" in
   features %} {% include "partials/tabs.html" %} {% endif %} {% endif %}
+
+  <!-- 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 */

Review Comment:
   Are the links in the comment right? Flink site? 



##########
site/overrides/partials/header.html:
##########
@@ -93,4 +93,24 @@
   <!-- Navigation tabs (sticky) -->
   {% if "navigation.tabs.sticky" in features %} {% if "navigation.tabs" in
   features %} {% include "partials/tabs.html" %} {% endif %} {% endif %}
+
+  <!-- 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(['trackPageView']);
+    _paq.push(['enableLinkTracking']);
+    (function() {
+      var u="//analytics.apache.org/";
+      _paq.push(['setTrackerUrl', u+'matomo.php']);
+      _paq.push(['setSiteId', '<YourSiteId>']); <!-- Apache Iceberg Matomo 
Site ID -->

Review Comment:
   The site ID is still a placeholder <YourSiteId>.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to