Skip to content

Commit

Permalink
[feat] Add vercel analytics to project
Browse files Browse the repository at this point in the history
  • Loading branch information
romashka-dev committed Jan 2, 2025
1 parent 47cbfe3 commit 378b831
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import './globals.css'
import { ClerkProvider } from '@clerk/nextjs'
import { Providers } from './providers'
import { SpeedInsights } from '@vercel/speed-insights/next'
import { Analytics } from '@vercel/analytics/react'

const geistSans = Geist({
variable: '--font-geist-sans',
Expand Down Expand Up @@ -33,6 +34,7 @@ export default function RootLayout({
>
<Providers>{children}</Providers>
<SpeedInsights />
<Analytics />
</body>
</html>
</ClerkProvider>
Expand Down
39 changes: 39 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@radix-ui/react-label": "^2.1.1",
"@radix-ui/react-select": "^2.1.4",
"@radix-ui/react-slot": "^1.1.1",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
Expand Down

0 comments on commit 378b831

Please sign in to comment.