Skip to content

Commit a8afff0

Browse files
committed
[chore] Add Umami script to ra-core documentation
1 parent 9c8a01e commit a8afff0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs_headless/astro.config.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ export default defineConfig({
2424
href: 'https://github.com/marmelab/react-admin',
2525
},
2626
],
27+
head: [
28+
// add Umami analytics script tag.
29+
{
30+
tag: 'script',
31+
attrs: {
32+
src: 'https://gursikso.marmelab.com/script.js',
33+
'data-website-id':
34+
'4e27e12d-187c-4d13-b8e5-947a9f1976e2',
35+
defer: true,
36+
async: true,
37+
},
38+
},
39+
],
2740
sidebar: [
2841
{
2942
label: 'Getting Started',

0 commit comments

Comments
 (0)