Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/.vuepress/components/PageFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
Apache and the Apache feather logo are trademarks of The Apache Software Foundation</p>
<p style="text-align: center; margin-top: 10px; color: #909399; font-size: 12px; margin: 0 30px;">
<strong>Have a question?</strong> Connect with us on QQ, WeChat, or Slack. <a href="https://github.com/apache/iotdb/issues/1995">Join the community</a> now.</p>
<p style="text-align: center; margin-top: 10px; color: #909399; font-size: 12px; margin: 0 30px;">
We use <a href="https://analytics.google.com">Google Analytics</a> to collect anonymous, aggregated usage information.
</p>
</footer>
</template>
<script setup lang="ts">
Expand Down
19 changes: 15 additions & 4 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

import { getDirname, path } from '@vuepress/utils';
import { defineUserConfig, viteBundler } from 'vuepress';
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics';
import { redirectPlugin } from 'vuepress-plugin-redirect';
import { docsearchPlugin } from './components/docsearch/node/index.js';
import theme from './theme.js';
Expand Down Expand Up @@ -49,6 +48,21 @@ export default defineUserConfig({
['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', { type: 'text/javascript' }, `
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDoNotTrack", true]);
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://analytics.apache.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '56']);
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);
})();
`],
],

shouldPrefetch: false,
Expand Down Expand Up @@ -118,9 +132,6 @@ export default defineUserConfig({
'/zh/UserGuide/Master/QuickStart/QuickStart.html': '/zh/UserGuide/V1.1.x/QuickStart/QuickStart.html',
},
}),
googleAnalyticsPlugin({
id: 'G-5MM3J6X84E',
}),
],
bundler: viteBundler({
vuePluginOptions: {
Expand Down