Skip to content

GA custom dimensions are not working #4728

@nenadV91

Description

@nenadV91

Bug Description
Custom dimensions in Google Analytics seem like they are not working

Steps to Reproduce

  1. On line
    googleAnalytics.set({ cd1: chainId ?? 0 })
    try some hard-coded value that is easy to spot in console
  2. Check the events sent, by GA debug plugin or just in GA console and you will notice that there is no dimension value being sent with the event and its not available in the GA console

Expected Behavior
The dimension should be sent with all GA events

Additional Context
Its seems that the dimension is not being properly set.
Could be something related to react-ga4 implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions