You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/02/02 11:44:36 UTC

[flink] branch release-1.8 updated (0e8e806 -> f9ac8bc)

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

chesnay pushed a change to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git.


    from 0e8e806  [FLINK-16697][metrics][jmx] Disable rebinding
     new 35f3742  [FLINK-25880][docs] Remove Google Analytics implementation
     new f9ac8bc  [FLINK-25880][docs] Add Matomo tracking code to base layout

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/_layouts/base.html | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

[flink] 02/02: [FLINK-25880][docs] Add Matomo tracking code to base layout

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git

commit f9ac8bccad348753954466c81b58d91b1a86a49e
Author: martijnvisser <ma...@2symbols.com>
AuthorDate: Tue Feb 1 16:23:34 2022 +0100

    [FLINK-25880][docs] Add Matomo tracking code to base layout
---
 docs/_layouts/base.html | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html
index 9bce7fe..ebd15f5 100644
--- a/docs/_layouts/base.html
+++ b/docs/_layouts/base.html
@@ -53,6 +53,25 @@ under the License.
       <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
       <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
     <![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(["setDomains", ["*.flink.apache.org","*.nightlies.apache.org/flink"]]);
+      _paq.push(['trackPageView']);
+      _paq.push(['enableLinkTracking']);
+      (function() {
+        var u="//matomo.privacy.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 -->
   </head>
   <body>
     {% if site.show_outdated_warning %}

[flink] 01/02: [FLINK-25880][docs] Remove Google Analytics implementation

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.8
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 35f37421315a39d9760de15c00d0aeef1985a735
Author: martijnvisser <ma...@2symbols.com>
AuthorDate: Mon Jan 31 13:39:12 2022 +0100

    [FLINK-25880][docs] Remove Google Analytics implementation
---
 docs/_layouts/base.html | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/docs/_layouts/base.html b/docs/_layouts/base.html
index 8be5cc7..9bce7fe 100644
--- a/docs/_layouts/base.html
+++ b/docs/_layouts/base.html
@@ -88,17 +88,6 @@ under the License.
     <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.1.0/anchor.min.js"></script>
     <script src="{{ site.baseurl }}/page/js/flink.js"></script>
 
-    <!-- Google Analytics -->
-    <script>
-      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
-      ga('create', 'UA-52545728-1', 'auto');
-      ga('send', 'pageview');
-    </script>
-
     <!-- Disqus -->
     {% comment %}
     <script type="text/javascript">