Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Close ¶
func Close()
Close flushes pending events and shuts down the client. Safe to call even if telemetry is disabled.
func Init ¶
Init initialises the PostHog client when telemetry is enabled. Safe to call multiple times; only the first call with enabled=true creates a client.
func Track ¶
func Track(event string, props posthog.Properties)
Track sends an event to PostHog. No-op if telemetry is disabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.