# Hành vi tương tác với job

# Giới thiệu

  • Bao gồm JobViewed, JobApplied, JobBatchApplied, JobSaved, JobUnsaved, JobIgnored
  • Được gửi từ backend php nên không có các thông tin về trình duyệt.

# Trigger

  • JobViewed: User click vào view 1 job bất kỳ
  • JobApplied: User ứng tuyển vào 1 job bất kỳ
  • JobBatchApplied: User thực hiện batch apply
  • JobSaved: User thực hiện lưu job
  • JobUnsaved: User thực hiện bỏ lưu job
  • JobIgnored: User thực hiện ignore jobs (click x ở trang việc làm phù hợp)

# Schema

# Host

POST /collect

# Request body

Key Desc
u_id Logged In user
type JobViewed, JobApplied, JobBatchApplied, JobSaved, JobUnsaved, JobIgnored
jb_ids int[] - danh sách id các job được tương tác
p_j_i id của job nguồn (dùng cho event JobBatchApplied)
jr_i string - null: Job Recommendation Id, gửi kèm các action JobViewed, JobApplied, JobSaved, nếu job được trả về từ Job Recommendation server.
oth object<key, value> or null: Lưu các trường thông tin thêm
oth.u_sr_id string or null: Unique search id when user search job
oth.is_prox int or null: tracking is app prox call api
oth.is_pinned string or null: tracking is pinned job
Required Info Schema Xem thông tin bắt buộc

# Sample

{
  type: 'JobBatchApplied',
  referer: 'https://topcv.vn/viec-lam',
  c_id: 'T5YVtrvrhr.1631088202633',
  w: null,
  h: null,
  p_f: null,
  a_v: null,
  host: 'topcv.local',
  o: 'http://topcv.local',
  oth: {
    u_sr_id: 'DP2uMXPIJYrVqGI0oJdj0du9OLqnI0HwFmFeMPUh_1693294047',
    is_prox: 1,
    is_pinned: "1"
  }
  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: [
    39070,
    39071,
    39072,
    ...
  ],
  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,
  p_j_i: 39059,
  jr_i: 'rule-based-v0::1616114713128::40985'
}