You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/07/20 01:16:48 UTC

[iotdb] branch master updated: Add Google Analytics (#3592)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new ed6d848  Add Google Analytics (#3592)
ed6d848 is described below

commit ed6d8484953b89ccf833d71f77205772a3548ef6
Author: J.J. Liu <li...@gmail.com>
AuthorDate: Tue Jul 20 09:16:20 2021 +0800

    Add Google Analytics (#3592)
---
 site/src/main/.vuepress/config.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/site/src/main/.vuepress/config.js b/site/src/main/.vuepress/config.js
index 48de93f..6d7d4f3 100644
--- a/site/src/main/.vuepress/config.js
+++ b/site/src/main/.vuepress/config.js
@@ -23,6 +23,13 @@ var config = {
         ["meta", {name: "Keywords", content: "TSDB, time series, time series database, IoTDB, IoT database, IoT data management,时序数据库, 时间序列管理, IoTDB, 物联网数据库, 实时数据库, 物联网数据管理, 物联网数据"}],
         ["meta", {name: "baidu-site-verification", content: "wfKETzB3OT"}],
         ["meta", {name: "google-site-verification", content: "mZWAoRY0yj_HAr-s47zHCGHzx5Ju-RVm5wDbPnwQYFo"}],
+		["script", {async: true, src: "https://www.googletagmanager.com/gtag/js?id=G-BZQXZC7MHT"}],
+		['script', {}, `
+          window.dataLayer = window.dataLayer || [];
+          function gtag(){dataLayer.push(arguments);}
+          gtag('js', new Date());
+          gtag('config', 'G-BZQXZC7MHT');`
+		],
       ],
 
     // 静态网站部署的目录