# Các Event Notification Clicked
# Giới thiệu
- Là các hành động tương tác với pop-up yêu cầu bật thông báo của trình duyệt.
- Bao gồm:
- Được gửi từ fronted:
NotificationAccepted,NotificationRejected - Được gửi từ backend:
NotificationToggled
- Được gửi từ fronted:
# Trigger
NotificationAccepted: Trigger khi user clicked vào nútAllowpop-up yêu cầu bật thông báo của trình duyệt.NotificationAccepted: Trigger khi user clicked vào nútBlockhoặcAskpop-up yêu cầu bật thông báo của trình duyệt.NotificationToggled: Trigger khi user bật/tắt nhận thông báo.
# Schema
# Host
POST /collect
# Request body
| Key | Desc |
|---|---|
| u_id | Logged In user |
| type | NotificationAccepted, NotificationAccepted, NotificationToggled |
| status | 0: tắt / 1: bật (chỉ có ở NotificationToggled) |
| Required Info Schema | Xem thông tin bắt buộc |
# Sample
{
type: 'NotificationAccepted',
referer: 'http://localhost:8888/cvs-management',
c_id: 'FazELntgKT.1632455814787',
w: 1920,
h: 1080,
p_f: 'Linux x86_64',
a_v: '5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36',
host: 'localhost:8888',
o: 'http://localhost:8888',
p_n: '/app/recruitment-campaigns/409260/search-cv',
q: null,
id: 'tuyendung.topcv.vn',
u_id: '218870',
src: null,
tab_id: 'c3huBTPBl3',
ts: 1631181544,
ip: '172.19.0.1',
hrf: 'http%3A%2F%2Flocalhost%3A8888%2Fapp%2Frecruitment-campaigns%2F409260%2Fsearch-cv',
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,
cv_i: null,
t_i: 30
}