diff --git a/index.tsx b/index.tsx index 6ca5361..9d2deab 100644 --- a/index.tsx +++ b/index.tsx @@ -1,7 +1,11 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; +import { inject } from '@vercel/analytics'; import App from './App'; +// Initialize Vercel Web Analytics +inject(); + const rootElement = document.getElementById('root'); if (!rootElement) { throw new Error("Could not find root element to mount to"); diff --git a/package.json b/package.json index e706279..40e901b 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "@google/genai": "^1.30.0", + "@vercel/analytics": "^1.4.0", "lucide-react": "^0.554.0", "node-fetch": "^3.3.2", "react": "^19.2.0",