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

Add setup instructions for GA and GTM to README #1332

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

Gayathri625
Copy link
Contributor

Updated README.md to include setup and verification instructions for Google Analytics and Google Tag Manager.

Copy link
Contributor

@arjan-bal arjan-bal left a 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.

@gnossen
Copy link
Collaborator

gnossen commented Jul 24, 2024

Seems like #1332 (review) still needs to be resolved, so holding off on merging for now.

@arjan-bal
Copy link
Contributor

Please also mention building with the PRODUCTION variable so that GA works.

@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

@arjan-bal
Copy link
Contributor

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.

@Gayathri625
Copy link
Contributor Author

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.

check for production environment: #1335

Copy link
Contributor

@arjan-bal arjan-bal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gnossen gnossen merged commit c9c6160 into grpc:main Jul 29, 2024
5 checks passed
dfawley pushed a commit to dfawley/grpc.io that referenced this pull request Sep 10, 2024
* add setup for ga and gtm to readme

* instruction to set hugo env to production

* update readme
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.

3 participants