fix. arrow 로그 코드 수정
This commit is contained in:
@@ -65,11 +65,9 @@ const stopVideo = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onArrowClick = (direction, targetIndex) => {
|
const onArrowClick = (direction, targetIndex) => {
|
||||||
const logTraking =
|
const arrowGroupAry = getComponentGroupAry(props.components, 'arrow')
|
||||||
direction == 'prev'
|
const logTracking = arrowGroupAry?.[direction === 'prev' ? 0 : 1]
|
||||||
? getComponentGroupAry(props.components, 'arrow')?.groups[0]
|
sendLog(locale.value, useAnalyticsLogDataDirect(logTracking, 1))
|
||||||
: getComponentGroupAry(props.components, 'arrow')?.groups[1]
|
|
||||||
sendLog(locale.value, useAnalyticsLogDataDirect(logTraking, 1))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ const handleChange = (
|
|||||||
const { locale } = useI18n()
|
const { locale } = useI18n()
|
||||||
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
|
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
|
||||||
const onArrowClick = (direction, targetIndex) => {
|
const onArrowClick = (direction, targetIndex) => {
|
||||||
const logTraking =
|
const arrowGroupAry = getComponentGroupAry(props.components, 'arrow')
|
||||||
direction == 'prev'
|
const logTracking = arrowGroupAry?.[direction === 'prev' ? 0 : 1]
|
||||||
? getComponentGroupAry(props.components, 'arrow')?.groups[0]
|
sendLog(locale.value, useAnalyticsLogDataDirect(logTracking, 1))
|
||||||
: getComponentGroupAry(props.components, 'arrow')?.groups[1]
|
|
||||||
sendLog(locale.value, useAnalyticsLogDataDirect(logTraking, 1))
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -60,11 +60,12 @@ const handleChange = (
|
|||||||
'buttonList'
|
'buttonList'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
const {locale} = useI18n()
|
const { locale } = useI18n()
|
||||||
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
|
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
|
||||||
const onArrowClick = (direction, targetIndex) => {
|
const onArrowClick = (direction, targetIndex) => {
|
||||||
const logTraking = direction == 'prev' ? props.components.arrow.groups[0] : props.components.arrow.groups[1];
|
const arrowGroupAry = getComponentGroupAry(props.components, 'arrow')
|
||||||
sendLog(locale.value, useAnalyticsLogDataDirect(logTraking, 1))
|
const logTracking = arrowGroupAry?.[direction === 'prev' ? 0 : 1]
|
||||||
|
sendLog(locale.value, useAnalyticsLogDataDirect(logTracking, 1))
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -71,11 +71,12 @@ const slideItemSize = {
|
|||||||
gap: 32,
|
gap: 32,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
const {locale} = useI18n()
|
const { locale } = useI18n()
|
||||||
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
|
const { sendLog, useAnalyticsLogDataDirect } = useAnalytics()
|
||||||
const onArrowClick = (direction, targetIndex) => {
|
const onArrowClick = (direction, targetIndex) => {
|
||||||
const logTraking = direction == 'prev' ? props.components.arrow.groups[0] : props.components.arrow.groups[1];
|
const arrowGroupAry = getComponentGroupAry(props.components, 'arrow')
|
||||||
sendLog(locale.value, useAnalyticsLogDataDirect(logTraking, 1))
|
const logTracking = arrowGroupAry?.[direction === 'prev' ? 0 : 1]
|
||||||
|
sendLog(locale.value, useAnalyticsLogDataDirect(logTracking, 1))
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('resourcesData.value===', resourcesData.value)
|
console.log('resourcesData.value===', resourcesData.value)
|
||||||
|
|||||||
@@ -24,11 +24,9 @@ const slideData = computed(() => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const onArrowClick = direction => {
|
const onArrowClick = direction => {
|
||||||
const logTraking =
|
const arrowGroupAry = getComponentGroupAry(props.components, 'arrow')
|
||||||
direction == 'prev'
|
const logTracking = arrowGroupAry?.[direction === 'prev' ? 0 : 1]
|
||||||
? getComponentGroupAry(props.components, 'arrow')?.groups[0]
|
sendLog(locale.value, useAnalyticsLogDataDirect(logTracking, 1))
|
||||||
: getComponentGroupAry(props.components, 'arrow')?.groups[1]
|
|
||||||
sendLog(locale.value, useAnalyticsLogDataDirect(logTraking, 1))
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user