Skip to content

Commit 4363a06

Browse files
committed
docs: add fathom analytics
1 parent 3591f57 commit 4363a06

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.vitepress/config.ts

+10-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,16 @@ export default defineConfig({
6666
['meta', { property: 'og:description', content: ogDescription }],
6767
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
6868
['meta', { name: 'twitter:site', content: '@vite_js' }],
69-
['meta', { name: 'theme-color', content: '#646cff' }]
69+
['meta', { name: 'theme-color', content: '#646cff' }],
70+
[
71+
'script',
72+
{
73+
src: 'https://cdn.usefathom.com/script.js',
74+
'data-site': 'CBDFBSLI',
75+
'data-spa': 'auto',
76+
defer: ''
77+
}
78+
]
7079
],
7180

7281
vue: {

0 commit comments

Comments
 (0)