Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: GA 统计不发送浏览数据 https://developers.google.com/analytics/devguides/collection/gtagjs/pages

Liang Ding5abfcd4416c5
diff --git a/app/src/util/assets.ts b/app/src/util/assets.ts
index 97526f4790..f571f28b19 100644
--- a/app/src/util/assets.ts
+++ b/app/src/util/assets.ts
@@ -136,7 +136,7 @@ export const addGA = () => {
};
/*eslint-enable */
gtag("js", new Date());
- gtag("config", "G-L7WEXVQCR9");
+ gtag("config", "G-L7WEXVQCR9", {send_page_view: false});
const para = {
version: Constants.SIYUAN_VERSION,
container: window.siyuan.config.system.container,