# View Item List

When a product list page opens, fire the following event

Copy

```
MagicPixel.recordEvent('mp_view_item_list', {
    currency: 'INR', // can be hard coded to INR
    item_list_name: '<item list name>',
    items: [{\
        item_id: '<item id>',\
        item_name: '<product name>',\
        item_sku: '<style id of the item>',\
        price: 1.23, // float price\
        quantity: 1, // integer quantity\
        item_category: '<item category>',\
        index: 1, // since this is view item, hard coded to 1\
    }, {\
        item_id: '<item id>',\
        item_name: '<product name>',\
        item_sku: '<style id of the item>',\
        price: 1.23, // float price\
        quantity: 1, // integer quantity\
        item_category: '<item category>',\
        index: 2, // since this is view item, hard coded to 1\
    }]
});
```

[PreviousView Item](https://docs.ingestlabs.com/implementation/react-native-sdk/tracking-events/view-item) [NextAdd To Cart](https://docs.ingestlabs.com/implementation/react-native-sdk/tracking-events/add-to-cart)

Last updated 1 year ago
