- 文档首页
A/B测试
开发指南
重要基础知识(必读)
支持的预置事件和属性
全埋点预置事件和属性
全埋点预置事件和属性
| 端类型 | 事件名 | 事件显示名 | 属性 | 属性展示名 | 属性值类型 | 属性值示例或说明 |
|---|
| App端 | bav2b_page | 页面访问 | page_key | 页面标识 | string | 页面唯一标识 |
| referrer_page_key | 来源页面标识 | string | |
| is_back | 是否回退 | int | |
| page_title | 页面标题 | string | 页面的标题 |
| page_path | 页面地址 | string | 页面的路径 |
| referrer_page_path | 前向地址 | string | |
| url | 访问链接 | string | |
| bav2b_click | 元素点击 | page_key | 页面标识 | string | 页面唯一标识 |
| element_path | 控件标识 | string | 唯一标识控件,xPath的字符串 |
| positions | 元素位置 | string数组 | 元素在每层列表中的位置,可能为2-2 0-1 |
| texts | 元素文案 | string数组 | 元素文案,是个数组,数组中每个文案长度上限200字符 |
| element_width | 元素宽度 | string | 元素宽度,单位同header.resolution |
| element_height | 元素高度 | string | 元素高度,单位同header.resolution |
| touch_x | 元素左边界距离 | int | 点击位置相对元素左边界的距离,单位同header.resolution |
| touch_y | 元素右边界距离 | int | 点击位置相对元素上边界的距离,单位同header.resolution |
| page_title | 页面标题 | string | 页面的标题 |
| element_id | 元素ID | string | 元素ID,Android 端默认会获取;iOS 端每个控件一般不会设置 ID,因此 iOS 端默认会不获取。可手动设置 |
| element_type | 元素类型 | string | 元素类型,控件的类型,例如 Button |
| web端 | bav2b_page | 页面访问 | page_key | 页面标识 | string | |
| is_html | 是否html页面 | int | |
| page_start_ms | 页面启动时间 | float | |
| page_total_width | 页面总宽度 | float | |
| page_total_height | 页面总高度 | float | |
| scroll_width | 右边界滚动位置 | float | |
| scroll_height | 下边界滚动位置 | float | |
| page_title | 页面标题 | string | |
| page_path | 页面路径 | string | |
| page_host | 页面地址域名 | string | |
| referrer_page_host | 前向域名 | string | |
| referrer_page_path | 前向地址 | string | |
| url | 访问链接 | string | |
| bav2b_click | 元素点击 | page_key | 页面标识 | string | |
| is_html | 是否html页面 | int | |
| positions | 元素位置 | list | |
| texts | 元素文案 | list | |
| element_width | 元素宽度 | string | |
| element_height | 元素高度 | string | |
| touch_x | 元素左边界距离 | int | |
| touch_y | 元素右边界距离 | int | |
| page_start_ms | 页面启动时间 | long | |
| since_page_start_ms | 距离页面启动时间 | long | |
| element_title | 元素文本 | string | |
| page_title | 页面标题 | string | |
| element_id | 元素名字 | string | |
| element_class_name | 元素样式名 | string | |
| element_type | 元素类型 | string | |
| element_target_page | 元素链接地址 | string | |
| page_path | 页面路径 | string | |
| page_host | 页面地址域名 | string | |
| 小程序端 | bav2b_page | 页面访问 | title | 文本 | string | 取值data-title |
| index | 位置 | string | 取值data-index |
| bav2b_click | 元素点击 | title | 文本 | string | 取值data-title |
| index | 位置 | string | 取值data-index |
| path | 页面路径 | string | 取值对应页面的path |
| pagetitle | 页面名称 | string | |
| bav2b_longpress | 元素长按 | title | 文本 | string | 取值data-title |
| index | 位置 | string | 取值data-index |
| path | 页面路径 | string | 取值对应页面的path |
| pagetitle | 页面名称 | string | |
| bav2b_change | 文本选择 | selecttext | 文本内容 | string | |
| path | 页面路径 | string | 取值对应页面的path |
| pagetitle | 页面名称 | string | |
| bav2b_confirm | 内容输入 | inputtext | 输入的内容 | string | |
| path | 页面路径 | string | 取值对应页面的path |
| pagetitle | 页面名称 | string | |
最近更新时间:2023.01.17 15:44:28