You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by gi...@apache.org on 2022/09/15 02:15:35 UTC
[incubator-linkis-website] branch asf-staging updated: deploy: 2d01a719cce9f2e9789e6365efd9873764fb22ec
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/asf-staging by this push:
new cbc745287b deploy: 2d01a719cce9f2e9789e6365efd9873764fb22ec
cbc745287b is described below
commit cbc745287baf8962398993ba69ecf7caee2e4a13
Author: casionone <ca...@users.noreply.github.com>
AuthorDate: Thu Sep 15 02:15:31 2022 +0000
deploy: 2d01a719cce9f2e9789e6365efd9873764fb22ec
---
script/matomo.js | 19 ++++++++-----------
zh-CN/script/matomo.js | 19 ++++++++-----------
2 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/script/matomo.js b/script/matomo.js
index a24dee3539..a21343003b 100644
--- a/script/matomo.js
+++ b/script/matomo.js
@@ -17,20 +17,17 @@
* under the License.
*/
-var _paq = (window._paq = window._paq || []);
+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 = 'https://analytics.apache.org/';
- _paq.push(['setTrackerUrl', u + 'matomo.php']);
- _paq.push(['setSiteId', '22']);
- 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);
+(function() {
+var u="//analytics.apache.org/";
+_paq.push(['setTrackerUrl', u+'matomo.php']);
+_paq.push(['setSiteId', '29']);
+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);
})();
\ No newline at end of file
diff --git a/zh-CN/script/matomo.js b/zh-CN/script/matomo.js
index a24dee3539..a21343003b 100644
--- a/zh-CN/script/matomo.js
+++ b/zh-CN/script/matomo.js
@@ -17,20 +17,17 @@
* under the License.
*/
-var _paq = (window._paq = window._paq || []);
+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 = 'https://analytics.apache.org/';
- _paq.push(['setTrackerUrl', u + 'matomo.php']);
- _paq.push(['setSiteId', '22']);
- 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);
+(function() {
+var u="//analytics.apache.org/";
+_paq.push(['setTrackerUrl', u+'matomo.php']);
+_paq.push(['setSiteId', '29']);
+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);
})();
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org