GA4 Item Parameter Reference Chart

I wrote up this GA4 Item Parameter list as I was debugging some GA4 item changes today using one of my favorite Chrome extensions today – Omnibug – to see what data was being sent. The problem though is that my nice parameters

As you may know, the items array gets sent for MANY GA4 events (ie. add_to_cart, select_item, etc.) and if the data doesn’t match extremely closely, then the reports in GA4 result in being less than reliable…

GA4 Item Parameter Reference Chart

You’ll notice that the item data gets put into a serialized array (GA4’s custom format…) with parameter names that are shortened and not quite as recognizable.

Example:

GA4 Item Array Code Chart

Item Array NameSerialized Array Key
item_idid
item_namenm
affiliationaf
couponcp
discountds
indexlp
item_brandbr
item_categoryca
item_category2c2
item_category3c3
item_category4c4
item_category5c5
item_list_idli
item_list_nameln
item_variantva
location_idlo
pricepr
quantityqt

Custom Parameters

Custom parameters can be sent in the GA4 items array. Since GA4 doesn’t know what the parameter names are, custom key value parameters are passed. The key is passed via a k{index_number} parameter and the value is passed via a v{index_number} parameter.

Example:

The resulting string that will be sent to GA4 will look like this:

Notice k0 and v0 for the custom parameter at index_number 0 and k1 and v1 for the custom parameter at index_number 1.