Skip to content

Commit

Permalink
Analytics & Speed Insights
Browse files Browse the repository at this point in the history
#### Description

<!--
Please include as detailed of a description as possible, including screenshots if applicable.
-->

#### Notion Test Page ID

<!--
Please include the ID of at least one publicly accessible Notion page related to your PR.

This is extremely helpful for us to debug and fix issues.

Thanks!
-->
  • Loading branch information
giammyisjammy committed Feb 1, 2024
1 parent 5812425 commit 97a5c1d
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"@mui/x-date-pickers": "^6.12.0",
"@notionhq/client": "^2.2.7",
"@react-icons/all-files": "^4.1.0",
"@vercel/analytics": "^1.1.2",
"@vercel/og": "^0.5.11",
"@vercel/speed-insights": "^1.0.8",
"classnames": "^2.3.1",
"date-fns": "^2.28.0",
"dotenv": "^16.4.1",
Expand Down
6 changes: 5 additions & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import * as React from 'react'
import Document, { Head, Html, Main, NextScript } from 'next/document'

import { IconContext } from '@react-icons/all-files'
import { Analytics } from '@vercel/analytics/react'
import { SpeedInsights } from '@vercel/speed-insights/next'

import { NoFlashScript } from '@/components/NoFlashScript'

Expand All @@ -23,10 +25,12 @@ export default class MyDocument extends Document {
</Head>

<body>
<NoFlashScript />
<Main />

<NoFlashScript />
<NextScript />
<Analytics />
<SpeedInsights />
</body>
</Html>
</IconContext.Provider>
Expand Down
44 changes: 44 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97a5c1d

Please sign in to comment.