Shopify: Automatically tracked when viewing product detail pages.
JavaScript
Properties
| Property | Type | Required | Description |
|---|---|---|---|
| items | array | Yes | Products viewed (see Item Object) |
| value | number | Yes | Product price |
| currency | string | Yes | ISO 4217 currency code (e.g., 'USD') |
When to Fire
- Product detail page load
- Quick view modal open
- Collection page load (with collection products)
Related Events
- add_to_cart — When adding the viewed product to cart
- add_to_wishlist — When saving the product for later
- view_category — When viewing a collection page