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

Update env files with google tag manager keys #16501

Closed
4 tasks
Tracked by #16944 ...
jtmst opened this issue Dec 19, 2023 · 0 comments
Closed
4 tasks
Tracked by #16944 ...

Update env files with google tag manager keys #16501

jtmst opened this issue Dec 19, 2023 · 0 comments

Comments

@jtmst
Copy link

jtmst commented Dec 19, 2023

Requirements

ENV files need updated with google tag manager credentials

The following fields need updated in the corresponding env files for dev/staging/prod:
GOOGLE_TAG_MANAGER_ID=
GOOGLE_TAG_MANAGER_AUTH=
GOOGLE_TAG_MANAGER_PREVIEW=

These could all be stored in env files; the Analytics team has confirmed that they are not sensitive information and can exist within a code repo.

For example, this is how the key surfaces in Content Build currently: https://github.com/department-of-veterans-affairs/content-build/blob/main/src/site/assets/js/google-analytics/vagovdev.js

Please label these keys in a comment clearly as safe to be in code so that if they are caught by a secrets scan that we can point to that.

Acceptance criteria

Preview Give feedback

Background & implementation details

Implementation tasks

Preview Give feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants