1 parent cbc30ab commit bac1d47Copy full SHA for bac1d47
1 file changed
frontend/app/plugins/posthog.client.ts
@@ -2,7 +2,7 @@ import posthog from 'posthog-js'
2
3
export default defineNuxtPlugin((nuxtApp) => {
4
// 1) Init PostHog in a safe mode first (no cookies until consent)
5
- posthog.init(useRuntimeConfig().public.posthogKey, {
+ posthog.init(useRuntimeConfig().public.posthogPublicKey, {
6
api_host: useRuntimeConfig().public.posthogHost,
7
// recommended: keep pageview manual so you can gate it
8
capture_pageview: false,
0 commit comments