📈 Replace GA with Umami
This commit is contained in:
		| @@ -5,19 +5,22 @@ 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 ( | ||||
|     <AppCacheProvider {...props}> | ||||
|       <Html lang="en"> | ||||
|         <Head> | ||||
|           <script | ||||
|             defer | ||||
|             src="https://cloud.umami.is/script.js" | ||||
|             data-website-id="eef151fb-07e2-461b-8b7f-2547aab735d4" | ||||
|           ></script> | ||||
|           <DocumentHeadTags {...props} /> | ||||
|         </Head> | ||||
|         <body className="antialiased"> | ||||
|           <Main /> | ||||
|           <NextScript /> | ||||
|           <GoogleAnalytics gaId="G-ZFJ7RX0JXF" /> | ||||
|         </body> | ||||
|       </Html> | ||||
|     </AppCacheProvider> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user