4.5 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Item interface
Standard Google Analytics Item type.
Signature:
export interface Item
Properties
| Property | Type | Description |
|---|---|---|
| affiliation | string | |
| brand | string | |
| category | string | |
| coupon | string | |
| creative_name | string | |
| creative_slot | string | |
| discount | Currency | |
| id | string | |
| index | number | |
| item_brand | string | |
| item_category | string | |
| item_category2 | string | |
| item_category3 | string | |
| item_category4 | string | |
| item_category5 | string | |
| item_id | string | |
| item_list_id | string | |
| item_list_name | string | |
| item_name | string | |
| item_variant | string | |
| location_id | string | |
| name | string | |
| price | Currency | |
| promotion_id | string | |
| promotion_name | string | |
| quantity | number |
Item.affiliation
Signature:
affiliation?: string;
Item.brand
Warning: This API is now obsolete.
Use item_brand instead.
Signature:
brand?: string;
Item.category
Warning: This API is now obsolete.
Use item_category instead.
Signature:
category?: string;
Item.coupon
Signature:
coupon?: string;
Item.creative_name
Signature:
creative_name?: string;
Item.creative_slot
Signature:
creative_slot?: string;
Item.discount
Signature:
discount?: Currency;
Item.id
Warning: This API is now obsolete.
Use item_id instead.
Signature:
id?: string;
Item.index
Signature:
index?: number;
Item.item_brand
Signature:
item_brand?: string;
Item.item_category
Signature:
item_category?: string;
Item.item_category2
Signature:
item_category2?: string;
Item.item_category3
Signature:
item_category3?: string;
Item.item_category4
Signature:
item_category4?: string;
Item.item_category5
Signature:
item_category5?: string;
Item.item_id
Signature:
item_id?: string;
Item.item_list_id
Signature:
item_list_id?: string;
Item.item_list_name
Signature:
item_list_name?: string;
Item.item_name
Signature:
item_name?: string;
Item.item_variant
Signature:
item_variant?: string;
Item.location_id
Signature:
location_id?: string;
Item.name
Warning: This API is now obsolete.
Use item_name instead.
Signature:
name?: string;
Item.price
Signature:
price?: Currency;
Item.promotion_id
Signature:
promotion_id?: string;
Item.promotion_name
Signature:
promotion_name?: string;
Item.quantity
Signature:
quantity?: number;