Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
undancer
2015-12-09 11:04:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
34c7def9b4a0e2ec6512e2baa919e387e5bdb6bd
34c7def9
1 parent
f54861f9
Updated 新的事件发送定义(讨论中) (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
21 deletions
新的事件发送定义(讨论中).md
新的事件发送定义(讨论中).md
View file @
34c7def
...
...
@@ -18,29 +18,31 @@ event定义(事件内部无序)
"properties"
:{
"自定义键值对"
}
}
```
参数级别按先后顺序分为:系统级,全局级,用户级
系统级:系统启动时由SDK获取到的系统信息,固定以$开头
全局级:在整个APP的生命周期里的全局参数
用户级:在当前事件里的参数
*
系统级:系统启动时由SDK获取到的系统信息,固定以$开头
*
全局级:在整个APP的生命周期里的全局参数
*
用户级:在当前事件里的参数
最后上报的事件为这三个级别依次叠加后的结果。
系统级参数
| 参数 | 栗子 | 定义 |
|-----|-----|-----|
| $lib |
`iOS`
| SDK类库 |
| $lib_version |
`1.2.0`
| SDK库版本 |
| $os |
`iPhone OS`
| 操作系统 |
| $os_version |
`9.1`
| 操作系统版本 |
| $model |
`iPod touch`
or
`x86_64`
| 模具 |
| $watch_model | 未知 | 手表模具 |
| $screen_width |
`1024`
| 屏幕宽度 |
| $screen_height |
`768`
| 屏幕高度 |
| $manufacturer |
`Apple`
| 制造商 |
| $
province |
`北京`
| 省份
|
| $
city |
`北京`
| 城市
|
| $
wifi |
`1`
or
`0`
| 是否启用wifi
|
| $
app_version |
`655`
| 编译号(Bundle version)
|
| $
app_release |
`1.0`
| 语义化版本号(Bundle versions string, short)
|
| $
ios_ifa |
`xxxxxxxx`
| 苹果广告唯一标示
|
| $carrier |
`中国联通`
| 运营商 |
| 参数 |
级别 |
栗子 | 定义 |
|-----|-----|-----|
-----|
| $lib |
系统 |
`iOS`
| SDK类库 |
| $lib_version |
系统 |
`1.2.0`
| SDK库版本 |
| $os |
系统 |
`iPhone OS`
| 操作系统 |
| $os_version |
系统 |
`9.1`
| 操作系统版本 |
| $model |
系统 |
`iPod touch`
or
`x86_64`
| 模具 |
| $watch_model |
系统 |
未知 | 手表模具 |
| $screen_width |
系统 |
`1024`
| 屏幕宽度 |
| $screen_height |
系统 |
`768`
| 屏幕高度 |
| $manufacturer |
系统 |
`Apple`
| 制造商 |
| $
app_version | 系统 |
`655`
| 编译号(Bundle version)
|
| $
app_release | 系统 |
`1.0`
| 语义化版本号(Bundle versions string, short)
|
| $
ios_ifa | 系统 |
`xxxxxxxx`
| 苹果广告唯一标示
|
| $
province | 系统 |
`北京`
| 省份
|
| $
city | 系统 |
`北京`
| 城市
|
| $
wifi | 全局 |
`1`
or
`0`
| 是否启用wifi
|
| $carrier |
全局 |
`中国联通`
| 运营商 |
...
...
Please
register
or
login
to post a comment