// PostHog analytics integration import posthog from 'posthog-js'; export function initPostHog() { posthog.init('ph_project_key', { api_host: 'https://app.posthog.com' }); } export function captureEvent(event: string, properties?: Record) { posthog.capture(event, properties); }