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

#12 U-M Consent Manager rework #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jaydonkrooss
Copy link
Collaborator

@jaydonkrooss jaydonkrooss commented Feb 25, 2025

This PR is deprecating the old useOneTrustConsent hook in favor of a new hook useUmConsent to utilize the new UMich consent banner script, which allows for more control over who sees the banner and other banner behavior configurations.

Test plan:

  1. Paste the Google Analytics Id of our GA test project into googleAnalyticsId on App.tsx (I'll set this up and share the project)
  2. Follow the test-app README to run the test-app that loads the hooks using React
  3. Verify that unit tests work on module directory

Optionally, we could try turning off alwaysShow to test location-based running of the script alongside a VPN. But this could also be saved for testing on our apps using the new module.

@jaydonkrooss jaydonkrooss self-assigned this Feb 25, 2025
@jaydonkrooss jaydonkrooss linked an issue Feb 25, 2025 that may be closed by this pull request
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.

Module rework: UM Consent Module update
1 participant