mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🎨 支持关闭 Google Analytics https://github.com/siyuan-note/siyuan/issues/6403
This commit is contained in:
parent
45358e487b
commit
638911c306
3 changed files with 3 additions and 3 deletions
|
|
@ -161,7 +161,7 @@ export const onGetConfig = (isStart: boolean) => {
|
|||
mountHelp();
|
||||
}
|
||||
|
||||
if (window.siyuan.config.system.googleAnalytics) {
|
||||
if (!window.siyuan.config.system.disableGoogleAnalytics) {
|
||||
try {
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
// @ts-ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue