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

fixes #1580: google analytics package implementation, upgrade react, react-dom #1606

Conversation

jaydonkrooss
Copy link
Contributor

@jaydonkrooss jaydonkrooss commented Aug 3, 2024

To set this up for testing

  • Ensure the environment value of GA_ID is set to the correct Google Analytics ID.
  • Set the value of OT_SCRIPT_DOMAIN. The values for each campus are on https://vpcomm.umich.edu/resources/cookie-disclosure/. Umich Ann Arbor is 03e0096b-3569-4b70-8a31-918e55aa20da or 03e0096b-3569-4b70-8a31-918e55aa20da-test
  • Add the domain cdn.cookielaw.org to the CSP value of SCRIPT_SRC, IMG_SRC and CONNECT_SRC.
  • Add the domain *.onetrust.com to the CSP value of CONNECT_SRC.

@jaydonkrooss jaydonkrooss changed the title fixes #1580: google analytics package implementation fixes #1580: google analytics package implementation, upgrade react, react-dom Aug 3, 2024
@jonespm jonespm linked an issue Aug 5, 2024 that may be closed by this pull request
@jaydonkrooss jaydonkrooss marked this pull request as ready for review September 4, 2024 19:16
Copy link
Member

@zqian zqian left a comment

Choose a reason for hiding this comment

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

I have tested MyLA test on Canvas test server, with TunnelBear to tunnel vpn locations.

Worked as expected as described in #1580

@jaydonkrooss jaydonkrooss merged commit 3fb314e into tl-its-umich-edu:master Sep 9, 2024
1 check passed
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.

Add consent verification as last step of Google Analytics 4 migration
3 participants