WebmasterID logoWebmasterID
Analytics dimensions

Item category dimension

The item category dimension groups products in e-commerce reports — Apparel, Electronics, and so on. GA4 reads it from item_category (through item_category5) on the items array of commerce events. This page explains the category hierarchy, how it is populated, and why inconsistent tagging fragments reports.

Verified against primary sources

What this means

In GA4's e-commerce model, every product is an entry in the items array attached to events like view_item, add_to_cart, and purchase. The item_category parameter on each entry feeds the item category dimension, letting you roll commerce metrics up to category level.

GA4 supports a hierarchy: item_category, item_category2, through item_category5, representing nested levels such as Apparel > Men > Shirts. Each level becomes its own dimension you can break down by.

Why consistent tagging matters

The dimension is only as clean as the data layer feeding it. If the same category is sent as 'Shoes' on one page and 'Footwear' on another, GA4 reports them as two categories and the rollup fragments. Categories are free-text, so casing and naming discipline are on you.

Missing item_category on some events also breaks funnels: a product viewed without a category and purchased with one will not line up. Validate that every commerce event sends the same category fields in the same shape.

How it appears in analytics and logs

An item category value reflects what your data layer sent in item_category. Blank or '(not set)' categories mean the items array did not include the field for those products.

Diagnostic use case

Analyse revenue, views, and add-to-carts by product category to see which parts of the catalog drive the business.

What WebmasterID can help detect

WebmasterID captures structured commerce event parameters first-party, so category attribution holds without third-party cookies, provided your data layer tags items consistently.

Common mistakes

Privacy and accuracy notes

Item categories describe products, not people. They carry no personal data unless a category name is misused to encode something user-specific, which should be avoided.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.