女王控的博客

埋点

1 篇文章

React 前端埋点选型

背景 统计线上用户各个功能的使用情况,以便后续针对性的优化 实现 前端 使用 https://github.com/nytimes/react-tracking 三方库埋点 使用 sendBeacon 异步发送埋点信息 埋点信息默认发送 location,type(默认为 enter,即进入页面类型),create_by(埋点触发人) utils/sendReport.js index.js 后端 数据库表 web_track 记录了以下字段 用户(create_by… »

0%