-
Notifications
You must be signed in to change notification settings - Fork 0
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
36 update charts for gtm #38
Conversation
since `GOOGLE_TAG_MANAGER_ID` is being referenced through an environment variable, it needed to be added as a deployment variable as well. we only need this value accessible in production, so I was able to remove it from the local env. the value should return as "undefined" and "" in the local and staging environments, respectively. related: #37
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I deployed this branch to main, but the gtm id still wasn't picked up. I'm thinking that the deploy updates need to actually be in |
Not able to give an code review/approval after merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
I thought that the reason the GTM ID wasn't showing on production after deploying my branch (#38) to production was because the deploy changes needed to be in main to take effect. however, after merging the above to main and deploying again, the GTM ID still doesn't show up. I now believe the issue is related to the `NEXT_PUBLIC` prefix. Added it to the GTM ID so that the client should be able to pick up the variable.
I thought that the reason the GTM ID wasn't showing on production after deploying my branch (assaydepot/phenovista-digital-storefront#38) to production was because the deploy changes needed to be in main to take effect. however, after merging the above to main and deploying again, the GTM ID still doesn't show up. I now believe the issue is related to the `NEXT_PUBLIC` prefix. Added it to the GTM ID so that the client should be able to pick up the variable.
Story
update charts for gtm to work in deployment
since
GOOGLE_TAG_MANAGER_ID
is being referenced through an environment variable, it needed to be added as a deployment variable as well. we only need this value accessible in production, so I was able to remove it from the local env. the value should return as "undefined" and "" in the local and staging environments, respectively.related: #37
Expected Behavior After Changes
Notes
I deployed this branch to main, but the gtm id still wasn't picked up. I'm thinking that the deploy updates need to actually be in
main
to be picked up.