Skip to content

fix(web): restore GA4 tracking and add support link - #104

Merged
eric861129 merged 1 commit into
devfrom
dev_feature_20261019_analytics_support
Oct 19, 2026
Merged

eric861129 merged 1 commit into
devfrom
dev_feature_20261019_analytics_support

Conversation

@eric861129

Copy link
Copy Markdown
Owner

網站目前遺失 Google tag,GA4 無法從頁面送出瀏覽事件。本次補回 G-ZXT99R0JE3,並在頁尾新增可另開分頁的 Portaly「支持我」按鈕,支援中英文與窄螢幕。

版本更新為 2.0.1,同步 package、lockfile、README 版本與 CHANGELOG。

驗證:

  • npm run verify:TypeScript、433 項測試與 production build 通過。
  • 本機瀏覽器確認 Google tag 只載入一次,會產生正確的 page_view 請求。
  • 1440、390、320 px 檢查頁尾按鈕,實際點擊會開啟指定 Portaly 頁面。

此 PR 合併至 dev;後續依既有 dev → main 流程部署 GitHub Pages,並驗證正式站的 GA 收集請求及支持連結。

補回遺失的 Google tag,並加入支援中英文與窄螢幕的 Portaly 支持連結。同步 v2.0.1 版本資訊與更新紀錄。
@eric861129
eric861129 merged commit 94f1a5d into dev Oct 19, 2026
2 checks passed
eric861129 added a commit that referenced this pull request Oct 19, 2026
fix(web): restore GA4 tracking and add support link (#104)

補回遺失的 Google tag,並加入支援中英文與窄螢幕的 Portaly 支持連結。同步 v2.0.1 版本資訊與更新紀錄。

Co-authored-by: EricHuang-kcislk <erichuang@kcislk.ntpc.edu.tw>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants