[Log] added, log menu: "Welcome Event"
This commit is contained in:
@@ -62,7 +62,7 @@ export const getMenuByTargetContent = (contentTarget) => {
|
||||
} else if (type === "HP") {
|
||||
return LOG_MENU.HOT_PICKS;
|
||||
} else if (type === "WE") {
|
||||
return "Temp, Welcome Event"; // pyh todo, menu 문의
|
||||
return LOG_MENU.WELCOME_EVENT;
|
||||
} else if (type === "OS") {
|
||||
return LOG_MENU.ON_SALE;
|
||||
} else if (type === "BS") {
|
||||
|
||||
@@ -220,7 +220,7 @@ export const LOG_TP_NO = {
|
||||
LG_ACCOUNT_LOGIN: " 700",
|
||||
};
|
||||
|
||||
// TV log update, 로그 layout_240509_Themepage추가.xlsx
|
||||
// TV log update
|
||||
export const LOG_MENU = {
|
||||
APP: "App",
|
||||
HOME_BANNER_1: "HomeBanner:1",
|
||||
@@ -239,6 +239,7 @@ export const LOG_MENU = {
|
||||
UNKNOWN: "Unknown",
|
||||
|
||||
EVENT_POPUP: "Event Popup", // completed
|
||||
WELCOME_EVENT: "Welcome Event",
|
||||
TERMS_CONDITIONS: "Terms & Conditions", // completed
|
||||
|
||||
HOME_TOP: "Home/Top", // completed
|
||||
|
||||
@@ -50,7 +50,7 @@ const getShopTpNm = (evntTpCd) => {
|
||||
};
|
||||
|
||||
const WelcomeEventPanel = ({ spotlightId }) => {
|
||||
const { sendLogShopByMobile } = useLogService();
|
||||
const { sendLogGNB, sendLogShopByMobile } = useLogService();
|
||||
|
||||
const dispatch = useDispatch();
|
||||
|
||||
@@ -125,6 +125,10 @@ const WelcomeEventPanel = ({ spotlightId }) => {
|
||||
}
|
||||
}, [billCpnSno, dispatch, eventDatas, evntId, evntTpCd, userNumber]);
|
||||
|
||||
useEffect(() => {
|
||||
sendLogGNB(Config.LOG_MENU.WELCOME_EVENT);
|
||||
}, [sendLogGNB]);
|
||||
|
||||
useEffect(() => {
|
||||
if (eventIssuedStatusSuccess === 0 && eventIssuedStatusSuccess !== null) {
|
||||
dispatch(setShowPopup(Config.ACTIVE_POPUP.smsPopup));
|
||||
|
||||
Reference in New Issue
Block a user