Skip to content

Commit 1ef305f

Browse files
authored
Update config.mts
1 parent 02d7b2b commit 1ef305f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

site/.vitepress/config.mts

+14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ export default defineConfig({
88
title: "Vue Tree",
99
description: "Virtual list optimized Vue tree component",
1010
appearance: false,
11+
head: [
12+
[
13+
'script',
14+
{ async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-BBCLLNZQ2E' }
15+
],
16+
[
17+
'script',
18+
{},
19+
`window.dataLayer = window.dataLayer || [];
20+
function gtag(){dataLayer.push(arguments);}
21+
gtag('js', new Date());
22+
gtag('config', 'G-BBCLLNZQ2E');`
23+
]
24+
],
1125
themeConfig: {
1226
// https://vitepress.dev/reference/default-theme-config
1327
search: {

0 commit comments

Comments
 (0)