trackViewItem

The ViewItem event is triggered when a user views an item or product within the app.

Both itemId and groupId parameters are required to be non-empty otherwise this event will not be tracked.

Implementation

Wunderkind.getInstance().trackViewItem(String itemId, String groupId)
Wunderkind.shared.trackViewItem(itemId: String, groupId: String)
Wunderkind().trackViewItem(itemId: string, groupId: string)
Wunderkind.trackViewItem(itemId: string, groupId: string)