Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cash_plugin_toolbox
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
cash_plugin_toolbox
Commits
b318ede2
Commit
b318ede2
authored
Jun 16, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
8fa2f8e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
README.md
+36
-0
No files found.
README.md
View file @
b318ede2
<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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment