Authored by Yincheng

发现好货中添加数据埋点 YB_SIMILAR_GDS_L & YB_SIMILAR_GDS_C

reviewed by jianqiu
... ... @@ -60,7 +60,7 @@ class DetailContainer extends Component {
}
_onPressProduct(product) {
_onPressProduct(product, index) {
let productSkn = product && product.get('product_skn', 0);
if (!productSkn) {
return;
... ... @@ -74,6 +74,16 @@ class DetailContainer extends Component {
AB_TYPE: 'A',
}
NativeModules.YH_CommonHelper.logEvent('YB_GOOD_GDS_VIEW_C', param);
let similarParam = {
AB_TYPE: 'A',
MAIN_PRD: product_skn,
MAIN_INDEX: parseInt(index) + 1 + '',
SIMILAR_PRD: '',
POS_ID: '100013',
}
NativeModules.YH_CommonHelper.logEvent('YB_SIMILAR_GDS_C', similarParam);
}
_onPressTag(tag) {
... ...
... ... @@ -78,6 +78,15 @@ class ListContainer extends Component {
F_ID: 1002,
}
NativeModules.YH_CommonHelper.logEvent('YB_FIND_GOOD_GDS_FLR_C', logParam);
let similarParam = {
AB_TYPE: 'A',
MAIN_PRD: product_skn,
MAIN_INDEX: parseInt(index) + 1 + '',
SIMILAR_PRD: '',
POS_ID: '100013',
}
NativeModules.YH_CommonHelper.logEvent('YB_SIMILAR_GDS_L', similarParam);
}
_onPressBanner(url, index) {
... ...