통합로그 피드백 반영 : AL_CHECKOUT_CLICK 로그 추가

This commit is contained in:
opacity@t-win.kr
2025-06-30 15:04:09 +09:00
parent bdaf7d4dd8
commit 24242b44b6
3 changed files with 17 additions and 3 deletions

View File

@@ -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];

View File

@@ -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",
};

View File

@@ -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(
{