refactor(project): 全面清理项目代码并重命名项目 #18
Reference in New Issue
Block a user
Delete Branch "refactor/google-analytics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- 修复城市 (not set): 移除 allow_google_signals: false,启用 Google 信号补充地理数据 - 修复 Consent Mode v2: 补充 ad_user_data / ad_personalization 参数 - 修复 wait_for_update 与横幅延迟不匹配: 500ms → 3000ms - 修复 static export 兼容性: GA 初始化脚本从 client component 移至 layout.tsx head 原生 script 标签 - 修复 pageview 追踪: GA3 风格 gtag('config') → GA4 风格 gtag('event', 'page_view') - 修复 CookieConsent: 横幅延迟 2000ms → 500ms,同意后补发 pageview - 修复 PerformanceTracker: FID → INP (Core Web Vitals 2024 更新) - 修复环境变量命名: NEXT_PUBLIC_GA_ID → NEXT_PUBLIC_GA_MEASUREMENT_ID - 清理 deploy-dist.sh 冗余 server/app 分支逻辑 - 新增部署产物 GA 脚本嵌入验证