if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36025",
"name": "Capacete Trek Solstice MIPS",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25367",
"name": "Capacete de Estrada Bontrager XXX WaveCel",
"price": "164.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31568",
"name": "Capacete Bontrager Starvos WaveCel",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25361",
"name": "Capacete de Montanha Bontrager Blaze WaveCel",
"price": "188.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31565",
"name": "Capacete de Montanha Bontrager Rally WaveCel",
"price": "101.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25370",
"name": "Capacete Bontrager Charge WaveCel Commuter",
"price": "144.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30467",
"name": "Capacete Bontrager Solstice Mips",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14896",
"name": "Capacete de Estrada Bontrager Velocis Mips",
"price": "175.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}