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