if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37985",
"name": "Cubierta Bontrager Aeolus RSL TLR Carretera",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48770",
"name": "Cubierta Pirelli P ZERO TLR RS Carretera",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Cubierta Bontrager R3 Hard-Case Lite TLR Carretera",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45223",
"name": "Cubierta Pirelli P ZERO Race TLR 4S Carretera",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38203",
"name": "Cubierta Pirelli Cinturato Velo TLR Carretera",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25275",
"name": "Schwalbe G-One Road Tire",
"price": "89.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}