Commit b318ede2 by sikang

Update README.md

parent 8fa2f8e5
<h1>提供 工具类、数据字典 等公用模块</h1>
<h2>获取设备指纹:</h2>
DeviceInfo.getDeviceSignFromSD() //从SD卡中取出一个UUID (没有则新建一个保存)
DeviceInfo.getSignFromHardware() //根据硬件信息计算一个指纹
<h2>埋点事件字典:</h2>
com.common.toolbox.tracker.TrackEvent 下定义了所有埋点事件
例:
1、点击: 点击申请贷款时,上报 TrackEvent.Click.LOAN_APPLY 事件
TrackEvent.Click.LOAN_APPLY.type // 对应接口 loanapp/point_report 的 reportType 字段
TrackEvent.Click.LOAN_APPLY.action // 对应接口 loanapp/point_report 的 actionType 字段
TrackEvent.Click.LOAN_APPLY.event // 对应接口 loanapp/point_report 的 comment 字段
2、api调用: SMS登录接口请求成功时,上报 TrackEvent.Api.SMS_LOGIN_SUCCESS 事件
TrackEvent.Api.SMS_LOGIN_SUCCESS.type // 接口 loanapp/point_report 的 reportType 字段
TrackEvent.Api.SMS_LOGIN_SUCCESS.action // 接口 loanapp/point_report 的 actionType 字段
TrackEvent.Api.SMS_LOGIN_SUCCESS.event // 接口 loanapp/point_report 的 comment 字段
3、界面停留: 进入AccountKit界面时,上报 TrackEvent.Screen.ACCOUNT_KIT 事件
TrackEvent.Screen.ACCOUNT_KIT.type // 接口 loanapp/point_report 的 reportType 字段
TrackEvent.Screen.ACCOUNT_KIT.action // 接口 loanapp/point_report 的 actionType 字段
TrackEvent.Screen.ACCOUNT_KIT.event // 接口 loanapp/point_report 的 comment 字段
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment