Learn business growth with Google Analytics 4 Forums Google Analytics 4 Combining item-scoped dimensions and event-scoped metrics in analytics Reply To: Combining item-scoped dimensions and event-scoped metrics in analytics

  • Isabella

    Member
    11 April 2023 at 7:28 am

    Yes, you’re on the right track. The updated schema change by Google just means that item-scoped dimensions (like “itemName”) and event-scoped metrics (like “itemViewEvents”) can no longer be queried together directly. But you can still get the information you need.

    As an alternative to using a Custom Metric or Dimension, you can use the ‘event’ and ‘items’ fields in GA4. The ‘event’ field now represents all the user interactions (like ‘itemViewEvents’) and the ‘items’ field represents all the product-related data. The items’ field beings an array, stores the product data individually, with each item in the array representing a unique product. Now, if you want to check how many views a product got, you can map ‘itemName’ with respective ‘eventName’ which is equivalent to ‘itemViewEvents’. It might require a little bit of extra data manipulation, but you can definitely pull out the numbers you need.