# View Item

When a product detail page opens, fire the following event

Copy

```
MagicPixel.recordEvent('mp_view_item', {
    currency: 'INR', // can be hard coded to INR
    value: 123.33, // the price of item
    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\
    }]
});
```

[PreviousEcommerce Events](https://docs.ingestlabs.com/implementation/react-native-sdk/tracking-events/broken-reference) [NextView Item List](https://docs.ingestlabs.com/implementation/react-native-sdk/tracking-events/view-item-list)

Last updated 13 minutes ago
