Skip to content

Commit 770b3bf

Browse files
authored
Add vercel analytics (#59)
Co-authored-by: Chris Tate <ctate@users.noreply.github.com>
1 parent 6da841a commit 770b3bf

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { Metadata, Viewport } from "next";
22
import "./globals.css";
3+
import { Analytics } from "@vercel/analytics/react";
34
import { SpeedInsights } from "@vercel/speed-insights/next";
45
import { ReactFlowProvider } from "@xyflow/react";
56
import { Provider } from "jotai";
@@ -84,6 +85,7 @@ const RootLayout = async ({ children }: RootLayoutProps) => {
8485
</AuthProvider>
8586
</Provider>
8687
</ThemeProvider>
88+
<Analytics />
8789
<SpeedInsights />
8890
</body>
8991
</html>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@radix-ui/react-context-menu": "^2.2.16",
2626
"@radix-ui/react-dialog": "^1.1.15",
2727
"@slack/web-api": "^7.12.0",
28+
"@vercel/analytics": "^1.5.0",
2829
"@vercel/sdk": "^1.17.1",
2930
"@vercel/speed-insights": "^1.2.0",
3031
"@xyflow/react": "^12.9.2",

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.

0 commit comments

Comments
 (0)