diff --git a/app/analytics.tsx b/app/analytics.tsx
index fb028c8c..0ae95f58 100644
--- a/app/analytics.tsx
+++ b/app/analytics.tsx
@@ -1,6 +1,12 @@
"use client";
-import { Analytics as AnalyticsComponent } from "@vercel/analytics/react";
+import { Analytics as AnalyticsComponent } from "@vercel/analytics/next";
+import { SpeedInsights } from "@vercel/speed-insights/next";
export function Analytics() {
- return ;
+ return (
+ <>
+
+
+ >
+ );
}
diff --git a/package.json b/package.json
index 17ce539e..3553c1a3 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,8 @@
"@next/mdx": "15.0.2",
"@types/node-fetch": "^2.6.2",
"@upstash/redis": "^1.20.1",
- "@vercel/analytics": "^1.0.0",
+ "@vercel/analytics": "^1.4.1",
+ "@vercel/speed-insights": "^1.1.0",
"comma-number": "^2.1.0",
"date-fns": "^2.29.3",
"image-size": "^1.0.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c2b4a822..0f5a1927 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -31,8 +31,11 @@ importers:
specifier: ^1.20.1
version: 1.20.1
'@vercel/analytics':
- specifier: ^1.0.0
- version: 1.0.0(react@19.0.0-rc-02c0e824-20241028)
+ specifier: ^1.4.1
+ version: 1.4.1(next@15.0.2(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)
+ '@vercel/speed-insights':
+ specifier: ^1.1.0
+ version: 1.1.0(next@15.0.2(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)
comma-number:
specifier: ^2.1.0
version: 2.1.0
@@ -466,10 +469,54 @@ packages:
'@upstash/redis@1.20.1':
resolution: {integrity: sha512-mYwV8uvQROJnq5aOxmQH3KDa0E8+DRdU0zJ/VGQV84HrhQQNy0IsLFFTo97WEhZAlHcJnVbrbwqUK9disWqx/w==}
- '@vercel/analytics@1.0.0':
- resolution: {integrity: sha512-RQmj7pv82JwGDHrnKeRc6TtSw2U7rWNubc2IH0ernTzWTj02yr9zvIYiYJeztsBzrJtWv7m8Nz6vxxb+cdEtJw==}
+ '@vercel/analytics@1.4.1':
+ resolution: {integrity: sha512-ekpL4ReX2TH3LnrRZTUKjHHNpNy9S1I7QmS+g/RQXoSUQ8ienzosuX7T9djZ/s8zPhBx1mpHP/Rw5875N+zQIQ==}
peerDependencies:
- react: ^16.8||^17||^18
+ '@remix-run/react': ^2
+ '@sveltejs/kit': ^1 || ^2
+ next: '>= 13'
+ react: ^18 || ^19 || ^19.0.0-rc
+ svelte: '>= 4'
+ vue: ^3
+ vue-router: ^4
+ peerDependenciesMeta:
+ '@remix-run/react':
+ optional: true
+ '@sveltejs/kit':
+ optional: true
+ next:
+ optional: true
+ react:
+ optional: true
+ svelte:
+ optional: true
+ vue:
+ optional: true
+ vue-router:
+ optional: true
+
+ '@vercel/speed-insights@1.1.0':
+ resolution: {integrity: sha512-rAXxuhhO4mlRGC9noa5F7HLMtGg8YF1zAN6Pjd1Ny4pII4cerhtwSG4vympbCl+pWkH7nBS9kVXRD4FAn54dlg==}
+ peerDependencies:
+ '@sveltejs/kit': ^1 || ^2
+ next: '>= 13'
+ react: ^18 || ^19 || ^19.0.0-rc
+ svelte: '>= 4'
+ vue: ^3
+ vue-router: ^4
+ peerDependenciesMeta:
+ '@sveltejs/kit':
+ optional: true
+ next:
+ optional: true
+ react:
+ optional: true
+ svelte:
+ optional: true
+ vue:
+ optional: true
+ vue-router:
+ optional: true
acorn-jsx@5.3.2:
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
@@ -2407,8 +2454,14 @@ snapshots:
transitivePeerDependencies:
- encoding
- '@vercel/analytics@1.0.0(react@19.0.0-rc-02c0e824-20241028)':
- dependencies:
+ '@vercel/analytics@1.4.1(next@15.0.2(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)':
+ optionalDependencies:
+ next: 15.0.2(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)
+ react: 19.0.0-rc-02c0e824-20241028
+
+ '@vercel/speed-insights@1.1.0(next@15.0.2(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)':
+ optionalDependencies:
+ next: 15.0.2(react-dom@19.0.0-rc-02c0e824-20241028(react@19.0.0-rc-02c0e824-20241028))(react@19.0.0-rc-02c0e824-20241028)
react: 19.0.0-rc-02c0e824-20241028
acorn-jsx@5.3.2(acorn@8.11.2):