feat: 새 기능 GA4 이벤트 — 창 열기·좋아요·댓글·신고·차단·약관 동의·이야기 글쓰기·히어로 오늘/내일·쇼츠·단풍 지도·내 각·토스 인트로·설치 띠 닫기

This commit is contained in:
minaChoi committed 2026-10-28 11:25:58 +09:00
1 parent 1489030c5f
commit 728b24a0c9
13 files changed
+110 -18

No files matched your search

+2
View File
@@ -36,6 +36,7 @@ import { DayShareCard, DayShareGrid, GakShareCard, type DayShare } from './share
import { CommentIcon, HeartIcon, SendIcon } from './svg'
import { Ic, Rail, Sec, Skel, StateBox, TAP44, Thumb } from './ui'
import { deg, slotAt } from '@nalssigak/shared/lib/weatherText'
import { track } from '../lib/analytics'
type Mode = 'now' | TimeKind
@@ -334,6 +335,7 @@ function Hero({ hero, post, today, ranked, all, feedLoad, todayLoad }: HeroProps
onClick={() => {
// 내일로 넘어갈 땐 지금 보던 시간대 그대로 시작해 배경이 튀지 않게
if (v && !tmr) setTmrKind(kind)
if (v !== tmr) track('hero_day_switch', { day: v ? 'tomorrow' : 'today' })
setTmr(v)
}}
className={cx('cursor-pointer rounded-full px-2.5 py-0.5 font-jua text-[13px]', tmr === v ? 'b-strip-on text-(--orange-deep)' : 'opacity-75')}