Tracking
GrowingIO Data Collection Field Analysis
· β˜• 1 min read
1. Field Meanings 1.1 u, User ID 1 2 3 4 5 6 if cookie.has(gr_user_id){ //使用 cookie δΈ­ηš„ gr_user_id ζœ‰ζ•ˆζœŸεεΉ΄ } else { //ζŒ‰η…§ "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" ζ ΌεΌοΌŒιšζœΊη”ŸζˆδΈ€δΈͺ gr_user_id } 1.2 s, Session

Operations Tracking and Solution Design
· β˜• 3 min read
1. Terminology xpath: There are two approaches, the exact path and the approximate path. Exact path: body>div[0]>div[3]>ul>li[5]>a[0], walking up from the clicked element all the way to the root node and recording every node along the way. Approximate path: body>div.header>div.nav>a[23], which on top of the former omits from the upward path any node that is not on the whitelist.