This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new a6ea2e38ab infra: add analytics for iceberg.apache.org (#14158)
a6ea2e38ab is described below

commit a6ea2e38ab7c2ae98cbe85a65095c8abe82d2b8d
Author: Kevin Liu <[email protected]>
AuthorDate: Thu Oct 2 09:30:56 2025 -0700

    infra: add analytics for iceberg.apache.org (#14158)
---
 site/overrides/main.html | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/site/overrides/main.html b/site/overrides/main.html
new file mode 100644
index 0000000000..a5ae943654
--- /dev/null
+++ b/site/overrides/main.html
@@ -0,0 +1,22 @@
+{% extends "base.html" %}
+
+{% block extrahead %}
+  {{ super() }}
+  <!-- Matomo -->
+  <script>
+    var _paq = window._paq = window._paq || [];
+    /* tracker methods like "setCustomDimension" should be called before 
"trackPageView" */
+    _paq.push(["setDoNotTrack", true]);
+    _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', '82']);
+      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 %}

Reply via email to