The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/analytics > Item

Item interface

Item field used by some Analytics events.

Signature:

export interface Item 

Properties

Property Type Description
affiliation? string (Optional)
brand? string (Optional)
category? string (Optional)
coupon? string (Optional)
creative_name? string (Optional)
creative_slot? string (Optional)
discount? Currency (Optional)
id? string (Optional)
index? number (Optional)
item_brand? string (Optional)
item_category? string (Optional)
item_category2? string (Optional)
item_category3? string (Optional)
item_category4? string (Optional)
item_category5? string (Optional)
item_id? string (Optional)
item_list_id? string (Optional)
item_list_name? string (Optional)
item_name? string (Optional)
item_variant? string (Optional)
location_id? string (Optional)
name? string (Optional)
price? Currency (Optional)
promotion_id? string (Optional)
promotion_name? string (Optional)
quantity? number (Optional)