rule_tab_category.js
971 Bytes
const {
iOS_TAB_CATEGORY
} = require('../../scene-types/scene-types');
module.exports = {
[iOS_TAB_CATEGORY]:[
{ op: 'YB_CATEGORY', name: 'TAB BAR 点击品类'},
{ op: 'YB_AUTO_TRACK', name: '自动点击TAB品类上报', equals: { VIEW_PATH: "YH_TabBarViewController[0]\/UITabBar[0]\/Index[1]" } },
{ op: 'YB_PAGE_EXIT', name: "离开首页", equals: { PAGE_ID: "sy" } },
{ op: 'YB_PAGE_ENTER', name: "进入品类", equals: { PAGE_ID: "pl" } },
{ op: 'YB_SHOW_EVENT', name: "曝光事件", types: { DATA: Array } },
{ op: 'YB_SHOW_CATEGORY', name: '展示品类列表', types: { DATA: Array } },
{ op: 'YB_PAGE_ENTER', name: '进入品类商品列表页', equals: { PAGE_ID: 'plsplb' } },
// {
// op: 'YB_GDS_LIST', name: '品类列表页', validate: (log) => {
// return log.param.ENT_ID.length > 0 && log.param.ENT_TYP == 4;
// }
// },
]
};