이벤트 수집

이벤트 데이터 구조화

ui_action

  /** 이 행동이 무엇인지를 나타내는 3-level, 4-level ID (a.b.click / a.b.c.click) */
  action_id: ActionId;
  /** 이 행동의 타입 (click / submit / change / open / close / select / toggle) */
  action_type: ActionType;
  /** 어디에서 발생했나 */
  surface: string;
  /** 대상의 ID (subscribe_btn) */
  target_id: string;
  /** 대상의 타입 (button / link / tab) */
  target_type: string;
  /** change류 이벤트 필드 이름 (sort / date_range / search_text / etc.) */
  field: string;
  /** 값 (문자) 각 프로퍼티는 일관된 타입일 수록 분석 가능성이 높다. (<https://docs.mixpanel.com/docs/data-structure/property-reference/data-type>) */
  value_str: string;
  /** 값 (숫자) */
  value_num: number;
  /** 값 (불리언) */
  value_bool: boolean;
  /** 대상의 리스트 내 위치 등 (1 / 2 / 3 / etc.) */
  position: number;

ui_impression

  /** 이 노출이 무엇인지를 나타내는 ID (product.card) */
  impression_id: ImpressionId;
  /** 어디에서 발생했나 상위 UI 영역(맥락) */
  surface: string;
  /** 대상의 ID (item_7) */
  target_id: string;
  /** 대상의 타입 (toast / modal / popup / etc.) */
  target_type: string;

이벤트 문서화

마이그레이션