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

feat(google-tag-web): send (authenticated) user ID #1054

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rborer
Copy link

@rborer rborer commented May 1, 2024

Pull request type

New feature (non-breaking change which adds functionality)

Description

This change introduce a new functionality allowing to optionally share the authenticated user ID with Google Analytics.

Sharing this information allow Google Analytics to identify individual users across different sessions and devices.

This is achieved by modifying the config command to add the new user_id parameter.

For more details on the feature, please have a look at https://developers.google.com/analytics/devguides/collection/ga4/user-id?client_type=gtag .

@rborer rborer requested a review from a team as a code owner May 1, 2024 13:34
Copy link
Collaborator

@iobuhov iobuhov left a comment

Choose a reason for hiding this comment

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

LGTM

Add a new configuration property in basic mode to allow sharing the user ID.
@iobuhov iobuhov force-pushed the google-tag-web-add-user-id branch from a43c538 to 26164c2 Compare May 14, 2024 15:34
@rborer
Copy link
Author

rborer commented May 22, 2024

To give more context, here is how it looks like when we use a GA debugger browser extension:

turned off (the default)

image

turned on

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants