Core services
Analytics
Setting up PostHog Analytics to understand user behavior
Posthog is used for user analytics. It’s a powerful tool that allows you to get an in-depth understanding of your users, do A/B testing & more.
Set up PostHog
- Create a PostHog account or sign in.
- Create a new project
- You’ll be given an
API_KEY
and aHOST
. Add this to your.env
file..env
- You’ll be given an
If you missed this, you can always find it by going to:
Quick start -> Ingest events -> View SDK -> Next.js
Here’s a quick video guide to help you find it in PostHog analytics:
You’re ready to go!