Reminder 토글 status log 작업

This commit is contained in:
Dev TWIN0906
2025-05-15 16:52:55 +09:00
parent 43ec0cef23
commit 8a48949f15
2 changed files with 8 additions and 1 deletions

View File

@@ -591,6 +591,7 @@ export const LOG_CONTEXT_NAME = {
SHOPBYMOBILE: "shoptime.shopbymobile",
GNB: "shoptime.gnb",
DETAILPAGE: "shoptime.detailpage",
MYPAGE: "shoptime.mypage",
};
export const LOG_MESSAGE_ID = {
@@ -603,4 +604,5 @@ export const LOG_MESSAGE_ID = {
SMB: "AL_SBM",
GNB: "AL_GNB_CLICK",
BUTTONCLICK: "AL_BUTTON_CLICK",
MYPAGE_DELETE: "AL_MYPAGE_DELETE",
};

View File

@@ -9,6 +9,7 @@ import { setHidePopup, setShowPopup } from "../../../../actions/commonActions";
import {
sendLogMyPageAlertFlag,
sendLogMyPageMyDelete,
sendLogTotalRecommend,
} from "../../../../actions/logActions";
import {
deleteMyUpcomingAlertShow,
@@ -137,7 +138,11 @@ export default function Reminders({ title, cbScrollTo }) {
dispatch(setMyUpcomingUseAlert({ upcomingAlamUseFlag: flag }));
setUseAlarm(!useAlarm);
dispatch(sendLogTotalRecommend({
status: flag === "N" ? "Off" : "On",
contextName: Config.LOG_CONTEXT_NAME.MYPAGE,
messageId: Config.LOG_MESSAGE_ID.MYPAGE_DELETE
}))
dispatch(
sendLogMyPageAlertFlag({
alertFlag: flag === "N" ? "Off" : "On",