Analytics
In this step, we'll set up analytics.
PostHog
Neorepo uses PostHog to track analytics. PostHog is an open-source product analytics platform. It's designed to be self-hosted, so you can use it to track your own analytics.
You can use PostHog to track your own analytics.
Add your environment variables
- Open the Vercel project you created in the previous step
- Click the "Environment Variables" tab
- Add the following environment variables (replace example value with your own):
NEXT_PUBLIC_POSTHOG_KEY=somevalue