// PostHog/Sentry analytics integration stub

export function trackEvent(event: string, properties?: Record<string, any>) {
  // 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<string, any>) {
  // TODO: Integrate with Sentry
  // Example: window.Sentry?.captureException(error, context)
  console.error('[Error]', error, context);
}
