Deploy Antlytics on Vercel
Vercel is a deployment platform, not a framework. The Antlytics snippet goes in your application code, not in Vercel settings.
Follow the install guide for your framework:
- Next.js App Router — the most common Vercel stack
- Astro
- SvelteKit
- Nuxt
- Remix
- Gatsby
- Vue / Vite
Environment variables for the first-party proxy
If you are using the first-party proxy, add your environment variables in the Vercel dashboard:
- Go to your project → Settings → Environment Variables.
- Add
NEXT_PUBLIC_APP_URL(e.g.https://www.antlytics.com) so the proxy rewrite target is set correctly. - Redeploy after adding variables.
Need help?
Email support@antlytics.com with your site ID and page URL.
Something missing? Get in touch and we will update these docs.