Skip to content

Commit 035d600

Browse files
committed
feat: Add @vercel/analytics for enhanced analytics tracking in the application
1 parent 2dc10b7 commit 035d600

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

bun.lock

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@react-sigma/layout-noverlap": "^5.0.4",
1717
"@react-sigma/minimap": "^5.0.5",
1818
"@types/d3": "^7.4.3",
19+
"@vercel/analytics": "^1.5.0",
1920
"@xyflow/react": "^12.8.6",
2021
"d3": "^7.9.0",
2122
"elkjs": "^0.10.2",

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Geist, Geist_Mono } from "next/font/google";
33
import "./globals.css";
44
import "@xyflow/react/dist/style.css";
55
import { ThemeProvider } from "@/components/ThemeProvider";
6+
import { Analytics } from "@vercel/analytics/next"
67

78
const geistSans = Geist({
89
variable: "--font-geist-sans",
@@ -29,6 +30,7 @@ export default function RootLayout({
2930
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
3031
<ThemeProvider>{children}</ThemeProvider>
3132
</body>
33+
<Analytics />
3234
</html>
3335
);
3436
}

0 commit comments

Comments
 (0)