Segment Track

Segment analytics track call with event, properties, and context.

Report an issue
analytics

Install

$ npx shadcn@latest add @open-types/segment-track

Source

export interface SegmentTrackCall {
  userId?: string;
  anonymousId?: string;
  event: string;
  properties?: Record<string, unknown>;
  context?: Record<string, unknown>;
  timestamp?: string;
  integrations?: Record<string, boolean>;
}
export interface SegmentTrackCall {
  userId?: string;
  anonymousId?: string;
  event: string;
  properties?: Record<string, unknown>;
  context?: Record<string, unknown>;
  timestamp?: string;
  integrations?: Record<string, boolean>;
}