Skip to content

Commit

Permalink
Add Vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsalway committed Sep 20, 2024
1 parent 8012b59 commit 4c1034f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint": "next lint"
},
"dependencies": {
"@vercel/analytics": "^1.3.1",
"next": "14.2.12",
"next-sitemap": "^4.2.3",
"react": "^18.3.1",
Expand Down
26 changes: 26 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Analytics } from "@vercel/analytics/react";
import { Metadata } from "next";
import Link from "next/link";
import "./globals.css";
Expand Down Expand Up @@ -33,6 +34,7 @@ export default function RootLayout({
</nav>
</header>
{children}
<Analytics />
</body>
</html>
);
Expand Down

0 comments on commit 4c1034f

Please sign in to comment.