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 16:24:44 UTC

[flink-statefun] branch release-3.2 updated (581c0cd -> c45cf00)

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

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


    from 581c0cd  [FLINK-25829] Skip deployment of statefun-sdk-js
     new 9d535da  [FLINK-25915][docs] Remove Google Analytics implementation
     new c45cf00  [FLINK-25915][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/_default/baseof.html | 30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

[flink-statefun] 02/02: [FLINK-25915][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-3.2
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit c45cf00cf26e77add6fec7e6526b0bbf3df323c6
Author: martijnvisser <ma...@2symbols.com>
AuthorDate: Tue Feb 1 19:30:05 2022 +0100

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

diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html
index b5c8149..733bf1b 100644
--- a/docs/layouts/_default/baseof.html
+++ b/docs/layouts/_default/baseof.html
@@ -23,6 +23,25 @@ under the License.
   {{ hugo.Generator }}
   {{ partial "docs/html-head" . }}
   {{ partial "docs/inject/head" . }}
+  <!-- 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 dir={{ .Site.Language.LanguageDirection }}>

[flink-statefun] 01/02: [FLINK-25915][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-3.2
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git

commit 9d535da46d45a09aa00e904b41685ed9753f8677
Author: martijnvisser <ma...@2symbols.com>
AuthorDate: Tue Feb 1 19:29:06 2022 +0100

    [FLINK-25915][docs] Remove Google Analytics implementation
---
 docs/layouts/_default/baseof.html | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html
index ea45bd8..b5c8149 100644
--- a/docs/layouts/_default/baseof.html
+++ b/docs/layouts/_default/baseof.html
@@ -65,17 +65,6 @@ under the License.
   </main>
 
   {{ partial "docs/inject/body" . }}
-
-  <!-- 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>
 </body>
 
 </html>