if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37985",
"name": "Pneumatico da strada Bontrager Aeolus RSL",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48770",
"name": "Pneumatico per bici da corsa Pirelli P Zero Race TLR RS",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Pneumatico strada Bontrager R3 Hard-Case Lite TLR",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45223",
"name": "Pneumatico da strada Pirelli P ZERO Race TLR 4S Road",
"price": "89.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38203",
"name": "Pneumatico da strada Pirelli Cinturato Velo TLR Road",
"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");
}