Skip to content

Commit 211de27

Browse files
committed
Add Vercel analytics
1 parent e90176c commit 211de27

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12+
"@vercel/analytics": "^1.5.0",
1213
"next": "15.2.4",
1314
"next-plausible": "^3.12.4",
1415
"ogl": "^1.0.11",

pnpm-lock.yaml

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

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Footer } from "@/components/layout/footer";
22
import { Header } from "@/components/layout/header";
3+
import { Analytics } from "@vercel/analytics/react";
34
import PlausibleProvider from "next-plausible";
45
import { Funnel_Display, Geist, Geist_Mono } from "next/font/google";
56
import "./globals.css";
@@ -41,6 +42,7 @@ export default async function RootLayout({
4142
</main>
4243
<Footer />
4344
</PlausibleProvider>
45+
<Analytics />
4446
</body>
4547
</html>
4648
);

0 commit comments

Comments
 (0)