Skip to content

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

Open
@therealchrisrock

Description

@therealchrisrock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions