mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
8 lines
200 B
TypeScript
8 lines
200 B
TypeScript
// instrumentation-client.js
|
|
import posthog from "posthog-js";
|
|
|
|
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY || "", {
|
|
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST,
|
|
defaults: "2025-05-24",
|
|
});
|