The item_viewed event is typically sent when a product page is loaded. However, it can also be used in other contexts, such as when a user opens a quick view modal on a category or listing page. This event helps track which products are being engaged with, giving valuable insight into customer interest and behavior.

Parameters

KeyDescriptionType (Max Length)Example
item_idItem IDString (36)X100-250
item_parent_idParent IDString (36)X100
item_nameItem NameString (128)Smart Thermostat
item_brandBrandString (64)Acme
item_categoryCategoryString (128)Smart Home > Climate Control
item_collectionCollectionString (64)Smart Range
item_variantVariantString (64)White
Note:
If your products are simple and the item_id is the same as the item_parent_id, these fields can either match, or you could only send one type.

Example

Below is an example of how this event can be sent to Nimvue:
nv_create_event({
  event_name: "item_viewed",
  parameters: {
    item_id: "X100-250",
    item_parent_id: "X100",
    item_name: "Smart Thermostat",
    item_brand: "Acme",
    item_category: "Smart Home > Climate Control",
    item_collection: "Smart Range",
    item_variant: "White"
  }
});