Kevin Hammond
Results
2
comments of
Kevin Hammond
Yes, for anyone confused about this (I was stuck for like an hour). This will work if you run the script non-interactively. Just use all the required flags all in...
This worked for me! ```typescript posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY as string, { api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || "https://us.i.posthog.com", ui_host: "https://us.posthog.com", person_profiles: "always", // or 'always' to create profiles for anonymous users as well capture_pageview: false,...