📈 Analytics
For product and website analytics, we use Posthog (opens in a new tab).
Simply register an account and create a new project. Make sure that if you want to host all customer data in the EU, to create the project in the EU region through this link: https://eu.posthog.com/ (opens in a new tab)
POSTHOG_KEY
This is the api key for your Posthog project. You can find it on the posthog dashboard under Settings -> Project -> Project IDs
💡
This API key is publishable, so it will be available in your frontend code.
POSTHOG_HOST
If you set up your project in the EU region, you should set this to https://eu.i.posthog.com
, otherwise set it to https://i.posthog.com
.