- WE分析,数据上报无法获取数据?
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分钟四个时间段,点击结束测试,无数据上报
2021-08-13 - 移动应用跳转到微信小程序,偶发无法唤起小程序(iOS/安卓均出现)的情况
WXLaunchMiniProgramReq *launchMiniProgramReq = [WXLaunchMiniProgramReq object]; launchMiniProgramReq.userName = appid; //拉起的小程序的username launchMiniProgramReq.path = path;//@""; path后携带json字符串,中英文大概在80字符 launchMiniProgramReq.miniProgramType = WXMiniProgramTypeRelease; [WXApi sendReq:launchMiniProgramReq completion:nil];
2021-07-14