Authored by 于良

逛详情埋点优化 review by 孙凯

... ... @@ -88,7 +88,14 @@ class DetailContainer extends Component {
let {articleId} = detail;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_STROLL_CONT_BRND', {TOURL: url, NAV_NUM: rowID,CONTENT_ID: articleId,BRAND_ID:id});
let params = {
TOURL: url,
NAV_NUM: parseInt(rowID) + 1 + '',
CONTENT_ID: articleId,
BRAND_ID: id,
};
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_STROLL_CONT_BRND', params);
}
_onPressArticle(url) {
... ... @@ -123,7 +130,14 @@ class DetailContainer extends Component {
let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":"${productSkn}"}}`;
ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url);
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_STROLL_CONT_REC_PRD', {TOURL: url, PRD_SKN: productSkn,CONTENT_ID: articleId,NAV_NUM:rowID});
let params = {
TOURL: '',
PRD_SKN: productSkn,
CONTENT_ID: articleId,
NAV_NUM:parseInt(rowID) + 1 + '',
};
ReactNative.NativeModules.YH_CommonHelper.logEvent('YB_STROLL_CONT_REC_PRD', params);
}
... ...