Skip to content

Commit 74254c0

Browse files
committed
Added Analytics
1 parent c2c08c1 commit 74254c0

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

next-js-app/package-lock.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

next-js-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"dependencies": {
1313
"@anthropic-ai/sdk": "^0.61.0",
1414
"@google/generative-ai": "^0.14.1",
15+
"@vercel/analytics": "^1.5.0",
1516
"@vercel/blob": "^1.1.1",
1617
"@vercel/kv": "^3.0.0",
1718
"next": "15.4.6",

next-js-app/src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
22
import { Geist, Geist_Mono } from "next/font/google";
33
import "./globals.css";
44
import ContactButton from "./components/contact/ContactButton";
5+
import { Analytics } from "@vercel/analytics/next";
56

67
const geistSans = Geist({
78
variable: "--font-geist-sans",
@@ -45,6 +46,7 @@ export default function RootLayout({
4546
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
4647
>
4748
{children}
49+
<Analytics />
4850
<ContactButton />
4951
</body>
5052
</html>

0 commit comments

Comments
 (0)