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

Remove user_id as a custom dimension in google-analytics event payload #407

Open
therealchrisrock opened this issue Oct 18, 2023 · 0 comments · May be fixed by #408
Open

Remove user_id as a custom dimension in google-analytics event payload #407

therealchrisrock opened this issue Oct 18, 2023 · 0 comments · May be fixed by #408

Comments

@therealchrisrock
Copy link

I'm reviewing the recommendations from google on how to handle user_id for GA4 and it states the following:

It is recommended that you do not register a user ID as a custom dimension.
Creating unnecessary high-cardinality custom dimensions, like User ID, negatively impact your reports and cause data to aggregate under the (other) row

It looks like the user_id is already pushed to the datalayer in the way they recommend but it looks like we're also sending the user_id as a custom dimension in the finalPayload for page and track events.

@therealchrisrock therealchrisrock linked a pull request Oct 18, 2023 that will close this issue
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 a pull request may close this issue.

1 participant