// PostHog/Sentry analytics integration stub export function trackEvent(event: string, properties?: Record) { // TODO: Integrate with PostHog or Sentry // Example: window.posthog?.capture(event, properties) // Example: window.Sentry?.captureMessage(event, properties) console.log('[Analytics]', event, properties); } export function trackError(error: Error, context?: Record) { // TODO: Integrate with Sentry // Example: window.Sentry?.captureException(error, context) console.error('[Error]', error, context); }