📈 Add google analytics
This commit is contained in:
parent
102e14f643
commit
5f07990ff2
@ -19,6 +19,7 @@
|
||||
"@mui/material": "^6.3.1",
|
||||
"@mui/material-nextjs": "^6.3.1",
|
||||
"@mui/x-charts": "^7.23.6",
|
||||
"@next/third-parties": "^15.1.6",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@toolpad/core": "^0.11.0",
|
||||
"animate.css": "^4.1.1",
|
||||
|
@ -5,6 +5,7 @@ import {
|
||||
documentGetInitialProps,
|
||||
} from '@mui/material-nextjs/v15-pagesRouter'
|
||||
import { Html, Head, Main, NextScript, DocumentContext, DocumentProps } from 'next/document'
|
||||
import { GoogleAnalytics } from '@next/third-parties/google'
|
||||
|
||||
export default function Document(props: DocumentProps & DocumentHeadTagsProps) {
|
||||
return (
|
||||
@ -16,6 +17,7 @@ export default function Document(props: DocumentProps & DocumentHeadTagsProps) {
|
||||
<body className="antialiased">
|
||||
<Main />
|
||||
<NextScript />
|
||||
<GoogleAnalytics gaId="G-ZFJ7RX0JXF" />
|
||||
</body>
|
||||
</Html>
|
||||
</AppCacheProvider>
|
||||
|
Loading…
x
Reference in New Issue
Block a user