통합로그8 - featured brand 화면 shelef_content_click 수집 수정
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
import React, { memo, useCallback, useEffect, useMemo, useState } from "react";
|
||||
import React, {
|
||||
memo,
|
||||
use,
|
||||
useCallback,
|
||||
useEffect,
|
||||
useMemo,
|
||||
useState,
|
||||
} from "react";
|
||||
|
||||
import classNames from "classnames";
|
||||
import { useDispatch, useSelector } from "react-redux";
|
||||
@@ -131,7 +138,7 @@ export default memo(function TItemCard({
|
||||
productId: productId,
|
||||
productTitle: productName,
|
||||
showId: showId,
|
||||
showTitle: showTitle,
|
||||
showTitle: shelfTitle.includes("LIVE") ? contentTitle : showTitle,
|
||||
nowProductId: nowProductId,
|
||||
nowCategory: nowCategory,
|
||||
nowProductTitle: nowProductTitle,
|
||||
|
||||
@@ -144,7 +144,7 @@ let localLaunchParams = {
|
||||
// contentTarget: "V3_3000_AD:SR_SR_1",
|
||||
// contentTarget: "V3_2006_HOMEBANNER:6241018_HP_1_1307_2",
|
||||
// contentTarget: "V3_2004_HOMEBANNER:4241101_HP_9_889",
|
||||
contentTarget: "V3_2001_HOMEBANNER:1240712_TM_10",
|
||||
// contentTarget: "V3_2001_HOMEBANNER:1240712_TM_10",
|
||||
};
|
||||
|
||||
export const getLaunchParams = () => {
|
||||
|
||||
@@ -46,6 +46,8 @@ const FeaturedCategoryContents = ({
|
||||
spotlightId={spotlightId}
|
||||
shelfOrder={shelfOrder}
|
||||
shelfTitle={shelfTitle}
|
||||
selectedPatncNm={selectedPatncNm}
|
||||
catNm={catNm}
|
||||
/>
|
||||
) : (
|
||||
<FeaturedCategoryProductGrid
|
||||
|
||||
@@ -42,6 +42,8 @@ export default function FeaturedCategoryProductList({
|
||||
spotlightId,
|
||||
shelfTitle,
|
||||
shelfOrder,
|
||||
selectedPatncNm,
|
||||
catNm,
|
||||
}) {
|
||||
const { getScrollTo, scrollLeft } = useScrollTo();
|
||||
|
||||
@@ -90,7 +92,6 @@ export default function FeaturedCategoryProductList({
|
||||
const handleClick = useCallback(
|
||||
(prdtId) => (e) => {
|
||||
const tItemCard = e.currentTarget;
|
||||
|
||||
const lastFocusedTarget = Spotlight.getCurrent();
|
||||
const lastFocusedTargetId =
|
||||
lastFocusedTarget?.getAttribute("data-spotlight-id");
|
||||
@@ -169,7 +170,8 @@ export default function FeaturedCategoryProductList({
|
||||
contextName={LOG_CONTEXT_NAME.FEATURED_BRANDS}
|
||||
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
|
||||
order={expsOrd}
|
||||
category={selectedCatCdLv1}
|
||||
category={catNm}
|
||||
patnerName={selectedPatncNm}
|
||||
shelfLocation={shelfOrder}
|
||||
shelfTitle={shelfTitle}
|
||||
shelfId={spotlightId}
|
||||
|
||||
Reference in New Issue
Block a user