Learn business growth with Google Analytics 4 Forums Google Analytics 4 GA4 – Can You Use Item Scoped Custom Dimensions with GTM GA4 Event Tags?

  • GA4 – Can You Use Item Scoped Custom Dimensions with GTM GA4 Event Tags?

    Posted by Lucy on 25 March 2023 at 8:50 am

    So, diving headfirst into the Universal Analytics to GA4 migration, I’ve been having a bit of a rough time with these item scoped parameters. Right now, I have a few parameters that are supposed to be item scoped dimensions. I’ve been pushing all my other stuff through GTM under the ‘Google Analytics: GA4 Event’ Tag Type. There’s a spot there for ‘Event Parameters’ and ‘User Properties’, but, weirdly, I can’t seem to find a dedicated spot for ‘Item Parameters’.

    Screenshot of GA4 Event Tag Type‘.

    Any idea if GTM ‘GA4 Event’ Tag Type is just lagging on native support for these GA4 item scoped parameters? Or is the only workaround by going through a DataLayer push?

    I tried to put my item parameters in the ‘Event Parameters’ section, but when I go into GA4 to whip up custom definitions, it’s not letting me select those parameters as item scoped… weird, right?

    I know I could go the route of pushing the items through a separate dataLayer push, but because of how things are currently set up, all my other parameter types (Event/User) are being pushed right through the ‘GA4 Event’ Tag Type.

    Ava replied 1 year, 5 months ago 3 Members · 2 Replies
  • 2 Replies
  • Isabella

    Member
    18 June 2023 at 9:11 am

    It appears from the documentation found here, that you can set your item parameters in the event parameters section. It should look something like Screenshot of setting parameters.

    Here’s an example of how it could be structured in the variable:

    [
        {
          item_id: "SKU_12345",
          item_name: "Stan and Friends Tee",
          affiliation: "Google Merchandise Store",
          coupon: "SUMMER_FUN",
          discount: 2.22,
          index: 0,
          item_brand: "Google",
          item_category: "Apparel",
          item_category2: "Adult",
          item_category3: "Shirts",
          item_category4: "Crew",
          item_category5: "Short sleeve",
          item_list_id: "related_products",
          item_list_name: "Related Products",
          item_variant: "green",
          location_id: "ChIJIQBpAG2ahYAR_6128GcTUEo",
          price: 9.99,
          quantity: 1
        }
    ]
    

    It seems more straightforward than you’d think, right?

  • Ava

    Member
    6 July 2023 at 10:04 am

    It sounds like you’re having issues with setting up item scoped parameters on GA4 via ‘Google Analytics: GA4 Event’ Tag Type in GTM. As of now, there’s no direct support for item parameters on this tag type. You might have to use a DataLayer push as a workaround, despite the inconvenience it might bring with your current setup.

Log in to reply.