rule_ufo_browse.js 1.6 KB
/*
 * 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_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"}  },

        
    ]
};