Product Viewed
User viewed a product details.
Suggested source: website front-end
Properties
Name | Type | Description | Required |
---|---|---|---|
affiliation | string | Product affiliation to designate a supplying company or brick and mortar store location (for example, "Google Store") | no |
brand | string | Brand associated with the product | no |
bundle | boolean | Product belongs to a bundle | no |
category | string | Product category | no |
coupon | string | Coupon code associated with a product (for example, "MAY_DEALS_3") | no |
description | string | Short description of the product | no |
image_url | string | Image URL of the product | no |
name | string | Name of the product | yes |
option_values | string[] | Option values of the product variant | no |
position | integer | Position in the product list (for example, 3) | no |
price | number | Price ($) of the product | yes |
product_id | string | Database ID of the product | yes |
quantity | integer | Quantity of the product | no |
sku | string | SKU of the product variant | yes |
slug | string | Slug of the product, often used in URLs (for example, "product-red") | no |
url | string | URL of the product page | no |
variant | string | Name of the product variant | no |
line_item_id | string | Database ID of the line item | no |
cart_id | string | Shopping cart ID | no |
currency | string | Currency of the transaction Pattern: ^[A-Z]{3}$ | no |
item_list_id | string | The ID of the list in which the item was presented to the user | no |
item_list_name | string | The name of the list in which the item was presented to the user | no |
products | object[] | An array including only the product viewed | no |
value | number | Total value of the product after quantity | no |
Example
Option values of the product variant
Option value (for example, "red")
Item Type: stringExample
An array including only the product viewed
The product
Item Properties
Name | Type | Description | Required |
---|---|---|---|
affiliation | string | Product affiliation to designate a supplying company or brick and mortar store location (for example, "Google Store") | no |
brand | string | Brand associated with the product | no |
bundle | boolean | Product belongs to a bundle | no |
category | string | Product category | no |
coupon | string | Coupon code associated with a product (for example, "MAY_DEALS_3") | no |
description | string | Short description of the product | no |
image_url | string | Image URL of the product | no |
name | string | Name of the product | yes |
option_values | string[] | Option values of the product variant | no |
position | integer | Position in the product list (for example, 3) | no |
price | number | Price ($) of the product | no |
product_id | string | Database ID of the product | yes |
quantity | integer | Quantity of the product | no |
sku | string | SKU of the product variant | no |
slug | string | Slug of the product, often used in URLs (for example, "product-red") | no |
url | string | URL of the product page | no |
variant | string | Name of the product variant | no |
line_item_id | string | Database ID of the line item | no |
Example
Option values of the product variant
Option value (for example, "red")
Item Type: stringExample