# User change page

# Định nghĩa

  • User chuyển trang

# Trigger

  • Event được trigger khi user thực hiện bất cứ hành động nào làm thay đổi url

# Schema

# Host

POST /collect

# Request body

Key Type Desc
a_v string Không biết, thư viện tự gen
c_id string Không biết, thư viện tự gen
f_p string Không biết, thư viện tự gen
h number Device height
w number Device width
host string base url của web panel happytime
hrf string full url của web panel happytime
id string phân biệt app với web ("happytime_web")
ip string Không dùng, truyền rỗng ("") lên
o string base url của web panel happytime
oth object Các thông tin về trang đích đến và thời gian thực hiện
p_f string device platform (android/ios/window/macos)
p_n string pathname của web
q object Không dùng, truyền object rỗng ({}) lên
referer string full url của web panel happytime
sc_v string TA tracking version ("1.0.0")
src string Không dùng, truyền rỗng ("") lên
tab_id string tab id
type string action type ("change-page")

# Schema Các thông tin về trang đích đến và thời gian thực hiện

Key Type Desc
rf string Trang đích đến của user
ts number timestamp người dùng thực hiện action

# Sample data gửi lên data platform

{
   "referer":"https://app-happytime.rework.vn/auth/register",
   "c_id":"rqRa7G1WO0.1671595066832",
   "w":1920,
   "h":1080,
   "p_f":"MacIntel",
   "a_v":"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
   "host":"app-happytime.rework.vn",
   "hrf":"https://app-happytime.rework.vn/auth/confirm-otp",
   "o":"https://app-happytime.rework.vn",
   "p_n":"/auth/confirm-otp",
   "q":{},
   "f_p":"866742f617ec477ec08126cf19a14201",
   "type":"change-page",
   "id":"happytime_web",
   "tab_id":"FZXwwIAI6w",
   "sc_v":"1.0.0",
   "oth":{
      "ts":1671611861128,
      "rf":"https://app-happytime.rework.vn/auth/register"
   }
}