Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make impact page server-rendered for GA env vars #409

Merged
merged 1 commit into from Mar 7, 2021
Merged

Conversation

MrOrz
Copy link
Member

@MrOrz MrOrz commented Mar 7, 2021

Currently on production, the GA environment variable is not set. Therefore, no traffic to /impact is being captured by Google Analytics at all.

This PR fixes the issue by disabling build-time optimization so that runtime env variables can be picked up.

截圖 2021-03-07 下午8 08 08

@MrOrz MrOrz requested review from hsiao19 and bil4444 March 7, 2021 12:55
@MrOrz MrOrz merged commit 72b3ab2 into dev Mar 7, 2021
@MrOrz MrOrz deleted the impact-tracking branch March 7, 2021 14:05
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.

None yet

2 participants