if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "38203",
"name": "Cubierta Pirelli Cinturato Velo TLR Carretera",
"price": "63.74",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_brown",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38202",
"name": "Cubierta Pirelli P ZERO Carretera",
"price": "54.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42114",
"name": "Pirelli Cinturato Adventure Gravel Tire",
"price": "52.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40833",
"name": "Pirelli Cinturato Adventure Classic Gravel Tire",
"price": "52.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black_brown",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "69315",
"name": "Cámara interior Pirelli P ZERO SmarTUBE RS Válvula Presta",
"price": "30.99",
"brand": "Pirelli",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41676",
"name": "Pirelli P ZERO SmarTUBE Presta Valve Bicycle Tube",
"price": "25.99",
"brand": "Pirelli",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "yellow",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41677",
"name": "Pirelli Cinturato SmarTUBE Presta Valve Bicycle Tube",
"price": "25.99",
"brand": "Pirelli",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "yellow",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "42298",
"name": "Kit de parches para cámara Pirelli SmarTUBE",
"price": "6.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "yellow",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}