통합로그 피드백 반영 : AL_CHECKOUT_CLICK 로그 추가
This commit is contained in:
@@ -33,7 +33,6 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
|
||||
linkTpNm = LOG_MENU.APP;
|
||||
} else {
|
||||
const tokens = contentTarget.split("_");
|
||||
|
||||
if (tokens[0] === "V2" || tokens[0] === "V3") {
|
||||
linkTpCd = tokens[1];
|
||||
linkTpNm = tokens[2];
|
||||
|
||||
@@ -78,7 +78,8 @@ export const ACTIVE_POPUP = {
|
||||
orderDetailPopup: "orderDetailPopup",
|
||||
orderDetailCancel: "orderDetailCancel",
|
||||
errorPopup: "errorPopup",
|
||||
returnExchangePopup: "returnExchangePopup", trackPackagePopup: "trackPackagePopup",
|
||||
returnExchangePopup: "returnExchangePopup",
|
||||
trackPackagePopup: "trackPackagePopup",
|
||||
unSupportedCountryPopup: "unSupportedCountryPopup",
|
||||
changeCountyPopup: "changeCounty",
|
||||
networkErrorPopup: "networkErrorPopup",
|
||||
@@ -634,4 +635,5 @@ export const LOG_MESSAGE_ID = {
|
||||
SEARCH_RESULT_CLICK: "AL_SEARCH_RESULT_CLICK",
|
||||
SEARCH_ITEM: "AL_SEARCH_ITEM",
|
||||
ENTRY_INFO: "AL_APP_ENTRY_INFO",
|
||||
CHECKOUT_CLICK: "AL_CHECKOUT_CLICK",
|
||||
};
|
||||
|
||||
@@ -211,7 +211,20 @@ export default function PinCodeInput({
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
const regularPrice = productList?.priceInfo.split("|")[0];
|
||||
const discountPrice = productList?.priceInfo.split("|")[1];
|
||||
const discountRate = productList?.priceInfo.split("|")[4];
|
||||
dispatch(
|
||||
sendLogTotalRecommend({
|
||||
productId: productList?.prdtId,
|
||||
item: productList?.prodQty,
|
||||
price: discountRate ? discountPrice : regularPrice,
|
||||
discount: discountRate,
|
||||
coupon: orderProductCoupontUse.length > 0 ? "Y" : "N",
|
||||
contextName: Config.LOG_CONTEXT_NAME.CHECKOUT,
|
||||
messageId: Config.LOG_MESSAGE_ID.CHECKOUT_CLICK,
|
||||
})
|
||||
);
|
||||
dispatch(
|
||||
insertMyInfoCheckoutOrder(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user