diff --git a/apps/www/package.json b/apps/www/package.json
index b7ebcd3d5..381baac1d 100644
--- a/apps/www/package.json
+++ b/apps/www/package.json
@@ -28,6 +28,7 @@
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/themes": "^3.0.5",
+ "@vercel/analytics": "^1.3.1",
"ai": "^3.1.36",
"assistant-ui": "workspace:*",
"class-variance-authority": "^0.7.0",
diff --git a/apps/www/pages/_app.tsx b/apps/www/pages/_app.tsx
index 2235230f8..e101eded9 100644
--- a/apps/www/pages/_app.tsx
+++ b/apps/www/pages/_app.tsx
@@ -1,11 +1,12 @@
import { TooltipProvider } from "@/components/ui/tooltip";
+import { Theme } from "@radix-ui/themes";
+import { Analytics } from "@vercel/analytics/react";
import type { AppProps } from "next/app";
import Head from "next/head";
import React from "react";
import "./styles.css";
import "@radix-ui/themes/styles.css";
-import { Theme } from "@radix-ui/themes";
export default function MyApp({ Component, pageProps }: AppProps) {
return (
@@ -19,6 +20,8 @@ export default function MyApp({ Component, pageProps }: AppProps) {
+
+
>
);
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0dbfd9517..b2a09a0df 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -74,6 +74,9 @@ importers:
'@radix-ui/themes':
specifier: ^3.0.5
version: 3.0.5(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ '@vercel/analytics':
+ specifier: ^1.3.1
+ version: 1.3.1(next@14.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
ai:
specifier: ^3.1.36
version: 3.1.36(openai@4.51.0)(react@18.3.1)(solid-js@1.8.17)(svelte@4.2.18)(vue@3.4.27(typescript@5.4.5))(zod@3.23.8)
@@ -2566,6 +2569,17 @@ packages:
'@ungap/structured-clone@1.2.0':
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
+ '@vercel/analytics@1.3.1':
+ resolution: {integrity: sha512-xhSlYgAuJ6Q4WQGkzYTLmXwhYl39sWjoMA3nHxfkvG+WdBT25c563a7QhwwKivEOZtPJXifYHR1m2ihoisbWyA==}
+ peerDependencies:
+ next: '>= 13'
+ react: ^18 || ^19
+ peerDependenciesMeta:
+ next:
+ optional: true
+ react:
+ optional: true
+
'@vercel/build-utils@8.2.2':
resolution: {integrity: sha512-+Nf/Yk3GeMI47L/g5KYEvsj7yqVkhb6vZqjxavUBRVPSsgJ7fuNVfYvvpFj/Y0BYysEF8XNUxKFuwGROiop/ow==}
@@ -6179,6 +6193,9 @@ packages:
resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==}
engines: {node: '>= 0.8.0'}
+ server-only@0.0.1:
+ resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==}
+
set-blocking@2.0.0:
resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
@@ -9234,6 +9251,13 @@ snapshots:
'@ungap/structured-clone@1.2.0': {}
+ '@vercel/analytics@1.3.1(next@14.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)':
+ dependencies:
+ server-only: 0.0.1
+ optionalDependencies:
+ next: 14.2.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ react: 18.3.1
+
'@vercel/build-utils@8.2.2': {}
'@vercel/error-utils@2.0.2': {}
@@ -13785,6 +13809,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ server-only@0.0.1: {}
+
set-blocking@2.0.0: {}
set-function-length@1.2.2: