Skip to content

Commit 57443a4

Browse files
authored
Merge pull request #174 from Developer-DAO/add-vercel-analytics
Add Vercel Analytics
2 parents 8af40e4 + 57e4fb1 commit 57443a4

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@emotion/styled": "^11",
2222
"@fontsource/inter": "^4.5.11",
2323
"@rainbow-me/rainbowkit": "^0.2.1",
24+
"@vercel/analytics": "^0.1.3",
2425
"ethers": "^5.6.8",
2526
"framer-motion": "^6",
2627
"next": "12.1.6",

pages/_app.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import ConsentBanner from '../components/ConsentBanner'
99
import { DefaultSeo } from 'next-seo'
1010
import { MDXProvider } from '@mdx-js/react'
1111
import Components from '../components/mdx/Components'
12+
import { Analytics } from '@vercel/analytics/react'
1213

1314
function MyApp({ Component, pageProps }: AppProps) {
1415
return (
@@ -79,6 +80,7 @@ function MyApp({ Component, pageProps }: AppProps) {
7980
</MDXProvider>
8081
<Footer />
8182
<ConsentBanner />
83+
<Analytics />
8284
</Box>
8385
</WalletProvider>
8486
</ChakraProvider>

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4861,6 +4861,11 @@
48614861
resolved "https://registry.npmjs.org/@vanilla-extract/sprinkles/-/sprinkles-1.4.1.tgz"
48624862
integrity sha512-aW6CfMMToX4a+baLuVxwcT0FSACjX3xrNt8wdi/3LLRlLAfhyue8OK7kJxhcYNZfydBeWTP59aRy8p5FUTIeew==
48634863

4864+
"@vercel/analytics@^0.1.3":
4865+
version "0.1.3"
4866+
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-0.1.3.tgz#7d0b7a35a692f16b823f2d22fdd95a955893420b"
4867+
integrity sha512-zJuEwzvi0bBmWrMrj9jvyMS+X6iUdW3m/y5P7aOLwJQKHsJyfpdINo/4Rv+wxubz3gl4nRqIQdtOFCe1P1ErXQ==
4868+
48644869
"@wagmi/core@^0.3.8":
48654870
version "0.3.8"
48664871
resolved "https://registry.npmjs.org/@wagmi/core/-/core-0.3.8.tgz"

0 commit comments

Comments
 (0)