Skip to content

Commit 22bb9b2

Browse files
committed
feat: 删除google analyze
1 parent de4ec03 commit 22bb9b2

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

.vitepress/config.mts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,7 @@ export default defineConfig({
88
lang: 'zh-CN',
99
rewrites,
1010
head: [
11-
['link', { rel: 'icon', href: 'https://trudbot-md-img.oss-cn-shanghai.aliyuncs.com/202407082112768.jpg' }],
12-
['script', { src: 'https://www.googletagmanager.com/gtag/js?id=G-KVFZYET0GD', async: ''}],
13-
['script', {},
14-
`
15-
window.dataLayer = window.dataLayer || [];
16-
function gtag(){dataLayer.push(arguments);}
17-
gtag('js', new Date());
18-
19-
gtag('config', 'G-KVFZYET0GD');`
20-
]
11+
['link', { rel: 'icon', href: 'https://trudbot-md-img.oss-cn-shanghai.aliyuncs.com/202407082112768.jpg' }]
2112
],
2213
themeConfig: {
2314
// https://vitepress.dev/reference/default-theme-config

0 commit comments

Comments
 (0)