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

abstractdog pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/master by this push:
     new fd6f15284 TEZ-4581: ASF matomo integration for web site analytics 
(#375) (Stamatis Zampetakis reviewed by Laszlo Bodor)
fd6f15284 is described below

commit fd6f15284f2ad496e8b75c1320ce0e4d6e1fb64b
Author: Stamatis Zampetakis <zabe...@gmail.com>
AuthorDate: Mon Dec 23 16:49:22 2024 +0100

    TEZ-4581: ASF matomo integration for web site analytics (#375) (Stamatis 
Zampetakis reviewed by Laszlo Bodor)
---
 docs/src/site/markdown/privacy-policy.md | 52 --------------------------------
 docs/src/site/site.xml                   | 20 ++++++++++--
 2 files changed, 18 insertions(+), 54 deletions(-)

diff --git a/docs/src/site/markdown/privacy-policy.md 
b/docs/src/site/markdown/privacy-policy.md
deleted file mode 100644
index dbcd29fc1..000000000
--- a/docs/src/site/markdown/privacy-policy.md
+++ /dev/null
@@ -1,52 +0,0 @@
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one or more
-   contributor license agreements.  See the NOTICE file distributed with
-   this work for additional information regarding copyright ownership.
-   The ASF licenses this file to You under the Apache License, Version 2.0
-   (the "License"); you may not use this file except in compliance with
-   the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
--->
-
-<head><title>Privacy Policy</title></head>
-
-Privacy Policy
---------------
-
-Information about your use of this website is collected using server
-access logs and a tracking cookie. The collected information consists of
-the following:
-
-1.  The IP address from which you access the website;
-
-2.  The type of browser and operating system you use to access our site;
-
-3.  The date and time you access our site;
-
-4.  The pages you visit; and
-
-5.  The addresses of pages from where you followed a link to our site.
-
-Part of this information is gathered using a tracking cookie set by the
-[Google Analytics](https://www.google.com/analytics/) service and handled
-by Google as described in their [privacy
-policy](https://www.google.com/privacy.html). See your browser
-documentation for instructions on how to disable the cookie if you
-prefer not to share this data with Google.
-
-We use the gathered information to help us make our site more useful to
-visitors and to better understand how and when our site is used. We do
-not track or collect personally identifiable information or associate
-gathered data with any personally identifying information from other
-sources.
-
-By using this website, you consent to the collection of this data in the
-manner and for the purpose described above.
-
diff --git a/docs/src/site/site.xml b/docs/src/site/site.xml
index b327a4e30..b69602f56 100644
--- a/docs/src/site/site.xml
+++ b/docs/src/site/site.xml
@@ -56,7 +56,23 @@
 
   <body>
     <head>
-      <![CDATA[<style>
+      <![CDATA[
+      <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', '63']);
+        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>
+      <style>
            .well.sidebar-nav {
              background-color: #fff;
            }
@@ -133,7 +149,7 @@
       </div>
       <br/>
       <div class="row span12">
-        <a href="privacy-policy.html">Privacy Policy</a>
+        <a 
href="https://privacy.apache.org/policies/privacy-policy-public.html";>Privacy 
Policy</a>
       </div>
       ]]>
     </footer>

Reply via email to