docs-devsite/analytics.item.md
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 %}
Standard Google Analytics Item type.
<b>Signature:</b>
export interface Item
| 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 |
<b>Signature:</b>
affiliation?: string;
Warning: This API is now obsolete.
Use item_brand instead.
<b>Signature:</b>
brand?: string;
Warning: This API is now obsolete.
Use item_category instead.
<b>Signature:</b>
category?: string;
<b>Signature:</b>
coupon?: string;
<b>Signature:</b>
creative_name?: string;
<b>Signature:</b>
creative_slot?: string;
<b>Signature:</b>
discount?: Currency;
Warning: This API is now obsolete.
Use item_id instead.
<b>Signature:</b>
id?: string;
<b>Signature:</b>
index?: number;
<b>Signature:</b>
item_brand?: string;
<b>Signature:</b>
item_category?: string;
<b>Signature:</b>
item_category2?: string;
<b>Signature:</b>
item_category3?: string;
<b>Signature:</b>
item_category4?: string;
<b>Signature:</b>
item_category5?: string;
<b>Signature:</b>
item_id?: string;
<b>Signature:</b>
item_list_id?: string;
<b>Signature:</b>
item_list_name?: string;
<b>Signature:</b>
item_name?: string;
<b>Signature:</b>
item_variant?: string;
<b>Signature:</b>
location_id?: string;
Warning: This API is now obsolete.
Use item_name instead.
<b>Signature:</b>
name?: string;
<b>Signature:</b>
price?: Currency;
<b>Signature:</b>
promotion_id?: string;
<b>Signature:</b>
promotion_name?: string;
<b>Signature:</b>
quantity?: number;