Skip to content

Commit e2446e9

Browse files
committed
docs: add Umami analytics
1 parent 7c64fc8 commit e2446e9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/.vitepress/config/shared.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,13 @@ export default defineConfig({
3232
type: 'image/png',
3333
},
3434
],
35-
[
36-
'script',
37-
{},
38-
'window.va = window.va || function () { (window.vaq = window.vaq || []).push(arguments); };',
39-
],
4035
process.env.NODE_ENV === 'production' && [
4136
'script',
42-
{ defer: '', src: '/_vercel/insights/script.js' },
37+
{
38+
'data-website-id': '4dffba2d-03a6-4358-9d90-229038c8575d',
39+
defer: '',
40+
src: 'https://cloud.umami.is/script.js',
41+
},
4342
],
4443
].filter(Boolean) as Array<HeadConfig>,
4544
lastUpdated: true,

0 commit comments

Comments
 (0)