# Các event profile

# Giới thiệu

  • Là các hành động liên quan đến thêm / sửa profile
  • Bao gồm ProfileCreated, ProfileUpdated
  • Được gửi từ backend php nên không có các thông tin về trình duyệt.

# Trigger

  • ProfileCreated:
    • Truy cập trang /profile, lựa chọn tạo profile (cả 2 option là tạo mới và từ CV).
    • Tính năng này cũng có trên app topcv mobile.
  • ProfileUpdated:
    • Sau khi đã tạo profile, tiếp tục truy cập lại link /profile, lúc này sẽ được redirect về trang chỉnh sửa.
    • Tất cả các option chỉnh sửa trong trang này đều gửi event updated.
    • Cần test tính năng tương tự cho app topcv mobile.

# Schema

# Host

POST /collect

# Request body

Key Desc
u_id Logged In user
type ProfileCreated, ProfileUpdated
Required Info Schema Xem thông tin bắt buộc

# Sample

{
  type: 'UserLoggedIn',
  referer: 'http://topcv.local/login',
  c_id: 'T5YVtrvrhr.1631088202633',
  w: null,
  h: null,
  p_f: null,
  a_v: null,
  host: 'topcv.local',
  o: 'http://topcv.local',
  p_n: 'login',
  q: null,
  id: null,
  u_id: '3605538',
  src: null,
  tab_id: null,
  ts: 1631181544,
  ip: '172.19.0.1',
  hrf: 'http%3A%2F%2Ftopcv.local%2Flogin',
  t_i: null,
  cv_i: null,
  p: null,
  b: null,
  jb_ids: null,
  v_t: null,
  imprs: null,
  device_id: null,
  user_agent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36',
  u_s: null,
  u_m: null,
  u_c: null,
  ta_source: null
}