1.自定义数据事件后,增加事件上报代码
wx.reportEvent("wxdata_submit_order_content", {
"spu_id": "1",
"spu_name": "测试商品",
"sku_id": "0",
"sku_name": "规格",
"price_original": 88,
"price_current": 65,
"sku_count": 1,
"is_goods_page": 0,
"spu_standard_catg_id": "1",
"spu_catg_first_id": "11",
"spu_catg_first_name": "干果",
"spu_catg_second_id": "111",
"spu_catg_second_name": "核桃"
});
2.进入We分析事件分析测试页面,增加测试人,点击开始测试
3.代码提交到微信后台,新增体验版微信,根据本地调试数据控状态显示数据已经上报成功
4.测试等待1-2,2-5,5-10,10-30分钟四个时间段,点击结束测试,无数据上报