rule_ufo_browse.js
1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* UFO 浏览场景匹配规则,包括UFO首页、UFO品类、UFO系列列表、UFO商品详情页面
* author: chenlin
*
*/
const {
ANDROID_CASE_UFO_BROWSE
} = require('../../scene-types/scene-types');
module.exports = {
[ANDROID_CASE_UFO_BROWSE]:[
{ op: 'YB_LAUNCH_APP', name: '启动app', single: true},
{ op: 'YB_ENTER_CHOICE', name: '性别男女入口', single: true},
{ op: 'YB_UFO', name: 'TAB BAR 点击UFO'},
{ op: 'UFO_BROWSE_HOME', name: 'UFO首页浏览上报'},
{ op: 'UFO_MAIN_START', name: "UFO频道打开", single: true},
{ op: 'YB_SHOW_EVENT', name: "曝光事件", types: { DATA: Array } },
{ op: 'UFO_CATEGORY_C', name: "分类点击" },
{ op: 'YB_PAGE_ENTER', name: "进入分类页面", equals: {"TYPE_ID":"ufo_category"} },
{ op: 'YB_PAGE_EXIT', name: "退出分类页面", equals: {"TYPE_ID":"ufo_category"} },
{ op: 'UFO_MAIN_EVENT', name: "首页楼层点击" },
{ op: 'YB_PAGE_ENTER', name: "进入商品列表页面", equals: {"TYPE_ID":"ufo_productList"} },
{ op: 'UFO_PRD_LIST_L', name: "商品列表第一页商品ID曝光", types: { PRD_LIST: String } },
{ op: 'YB_PAGE_EXIT', name: "退出商品列表页面", equals: {"TYPE_ID":"ufo_productList"} },
{ op: 'UFO_MAIN_EVENT', name: "商品点击", types: { PRD_ID: String } },
{ op: 'YB_PAGE_ENTER', name: "进入商品详情页面", equals: {"TYPE_ID":"ufo_productDetail"} },
{ op: 'UFO_PRD_DT_INFO', name: "商品详情页面上报", equals: {"FP_NAME":"aFP_UFOHome"}, types: {PRD_ID: String} },
{ op: 'YB_PAGE_EXIT', name: "退出商品详情页面", equals: {"TYPE_ID":"ufo_productDetail"} },
]
};