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

liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 5bc652c3aa7 feat: 🎸 add performance tracker (#2961)
5bc652c3aa7 is described below

commit 5bc652c3aa7cd5d3f4582cdbbe60e5ee5e4c9d07
Author: mamba <371510...@qq.com>
AuthorDate: Mon Apr 22 19:18:28 2024 +0800

    feat: 🎸 add performance tracker (#2961)
---
 layouts/partials/head.html | 50 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index dee13288d0b..38589017002 100755
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -25,6 +25,56 @@
         s.parentNode.insertBefore(hm, s);
     })();
 </script>
+
+
+<!--初始化SDK-->
+<script>
+  (function (w, d, s, q, i) {
+    w[q] = w[q] || [];
+    var f = d.getElementsByTagName(s)[0],
+      j = d.createElement(s);
+    j.async = true;
+    j.id = 'beacon-aplus';
+    j.setAttribute('exparams', 'userid=&aplus&sidx=aplusSidex&ckx=aplusCkx');
+    j.src = '//g.alicdn.com/alilog/mlog/aplus_v2.js';
+    j.crossorigin = 'anonymous';
+    f.parentNode.insertBefore(j, f);
+  })(window, document, 'script', 'aplus_queue');
+
+  (function (d) {
+    var t = d.createElement('script');
+    t.type = 'text/javascript';
+    t.async = true;
+    t.src =
+      
'//g.alicdn.com/aes/??tracker/3.3.4/index.js,tracker-plugin-pv/3.0.5/index.js,tracker-plugin-event/3.0.0/index.js,tracker-plugin-autolog/3.0.3/index.js,tracker-plugin-survey/3.0.3/index.js,tracker-plugin-jserror/3.0.3/index.js,tracker-plugin-resourceError/3.0.3/index.js';
+    t.onload = function () {
+      window.AES_CONFIG = window.AES_CONFIG || {
+        // 判断当前环境
+        env: 'prod',
+      };
+      window.aes = new AES({
+        pid: 'zN245h',
+        user_type: 6,
+      });
+      window.AESPluginAutologConfig = { exposure: 'auto' };
+      window.AEMPluginInstances = [
+        aes.use(
+          AESPluginPV,
+          window.AESPluginPVConfig || { enableHistory: true },
+        ),
+        aes.use(AESPluginEvent, window.AESPluginEventConfig || {}),
+        aes.use(AESPluginSurvey, window.AESPluginEventConfig || {}),
+        aes.use(AESPluginAutolog, window.AESPluginAutologConfig || {}),
+        aes.use(AESPluginJSError, window.AESPluginJSError || {}),
+        aes.use(AESPluginResourceError, window.AESPluginResourceError || {}),
+      ];
+    };
+    setTimeout(function () {
+      d.getElementsByTagName('body')[0].appendChild(t);
+    }, 800);
+  })(document);
+</script>
+
 {{ end }}
 
 <!-- Docsy head.html begins here -->

Reply via email to