diff --git a/package-lock.json b/package-lock.json index 003cc7e9..8789afba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "docugen", "version": "0.0.1", "dependencies": { + "@vercel/analytics": "^2.0.1", "framer-motion": "^12.38.0", "heroicons": "^2.1.0", "react": "^19.2.5", @@ -2069,6 +2070,48 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/@vercel/analytics": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-2.0.1.tgz", + "integrity": "sha512-MTQG6V9qQrt1tsDeF+2Uoo5aPjqbVPys1xvnIftXSJYG2SrwXRHnqEvVoYID7BTruDz4lCd2Z7rM1BdkUehk2g==", + "license": "MIT", + "peerDependencies": { + "@remix-run/react": "^2", + "@sveltejs/kit": "^1 || ^2", + "next": ">= 13", + "nuxt": ">= 3", + "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 + }, + "nuxt": { + "optional": true + }, + "react": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + }, + "vue-router": { + "optional": true + } + } + }, "node_modules/@vitejs/plugin-react": { "version": "5.1.4", "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.1.4.tgz", @@ -2446,13 +2489,6 @@ "dev": true, "license": "MIT" }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, "node_modules/baseline-browser-mapping": { "version": "2.9.14", "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.14.tgz", diff --git a/package.json b/package.json index 6ae3af88..1a94ceaa 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "e2e": "playwright test" }, "dependencies": { + "@vercel/analytics": "^2.0.1", "framer-motion": "^12.38.0", "heroicons": "^2.1.0", "react": "^19.2.5", diff --git a/src/App.tsx b/src/App.tsx index 4c2f08cf..ac1909cb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,7 @@ import { ThemeProvider } from './lib/ThemeContext'; import { ErrorBoundary } from './components/ErrorBoundary'; import { Navbar } from './components/Navbar'; import { Analytics } from './components/Analytics'; +import { Analytics as VercelAnalytics } from '@vercel/analytics/react'; import { Hero } from './components/Hero'; import { HowItWorks } from './components/HowItWorks'; import { Footer } from './components/Footer'; @@ -52,6 +53,7 @@ function App() {
+