View item list
The Google Tag Manager (GTM) "View Item List" event is triggered when a user clicks on a products category to view products. This action triggers a predefined event within GTM, which can be used for tracking purposes in Google Analytics or other marketing and analytics tools.
dataLayer.push({
event: 'view_item_list',
ecommerce: {
items: [
{
item_id: "746717-15478",
item_name: "Gazelle Γυναικεία Sneakers",
affiliation: 'The Athletes Foot GR',
currency: 'EUR',
discount: 22,
index: 0,
item_variant: '',
price: 109.99,
quantity: 1
}
]
}
});