-
Notifications
You must be signed in to change notification settings - Fork 470
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
Add setup instructions for GA and GTM to README #1332
Conversation
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.
Please also mention building with the PRODUCTION variable so that GA works.
Seems like #1332 (review) still needs to be resolved, so holding off on merging for now. |
@Gayathri625 For reference, this seems to be the block that only includes analytics scripts when in production mode: https://github.com/grpc/grpc.io-docsy/blob/ba20af1c9044e3ad8d83ead5153b243c88539038/layouts/partials/head.html#L55-L61 |
I see that we load GTM scripts in non-prod also in #1313. Can you have a similar prod env check for them also? You can do that in a separate PR. |
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.
LGTM!
* add setup for ga and gtm to readme * instruction to set hugo env to production * update readme
Updated README.md to include setup and verification instructions for Google Analytics and Google Tag Manager.