/** Per docs/backend/TRACK-A-ANALYTICS-CONTRACT.md §1-4. */
export type AnalyticsEventType =
  | 'session_started' | 'page_view' | 'search' | 'category_view' | 'product_view' | 'seller_view'
  | 'add_to_cart' | 'cart_view' | 'checkout_started'
  | 'payment_started' | 'payment_success' | 'payment_failed' | 'order_created';

export interface AnalyticsEvent {
  eventType: AnalyticsEventType;
  properties: Record<string, unknown>;
  isSynthetic: boolean;
}
