feat: 앱 GA4 이벤트 틀(track, 웹과 같은 이벤트 목록을 shared로) — 기존 앱 기능에 창_열기·각_보기·글_열기·로그인·지역_변경·좋아요·댓글·신고·차단·약관_동의·공유, 전송은 Firebase 연결 뒤. 탭 밖 화면용 루트 스택
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
fcc7ed804c
commit
cab3336859
20 files changed
+201
-110
No files matched your search
@@ -6,6 +6,7 @@ import { Pressable, View } from 'react-native';
|
||||
import { Text } from '@/components/text';
|
||||
|
||||
import { Skel, StateBox } from '@/components/ui';
|
||||
import { track } from '@/lib/analytics';
|
||||
import { useAuth } from '@/lib/auth';
|
||||
import { useRegion } from '@/lib/region';
|
||||
import { useSheet } from '@/lib/sheet';
|
||||
@@ -66,6 +67,7 @@ export function RegionSheet({ onDone }: { onDone: () => void }) {
|
||||
accessibilityState={{ selected: here }}
|
||||
onPress={() => {
|
||||
setRegion(r);
|
||||
track('region_change', { region_name: r.name, method: 'list' });
|
||||
onDone();
|
||||
}}
|
||||
className="flex-row items-center justify-between border-b-[1.5px] border-line px-1 py-3"
|
||||
|
||||
Reference in new issue
Block a user