-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to pass a good user_id to GA
Decided to just watch the USER_ANNOUNCEMENT event since this should be called by the pubsub after the user is updated. This value must be hashed though to avoid leaking user information, so it may limit to browsers supporting `window.crypto`. @see https://caniuse.com/cryptography Seems like good coverage as of now, so hopefully safe to use this here without polyfills.
- Loading branch information
1 parent
3857f28
commit facf0e2
Showing
1 changed file
with
56 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters