if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32096",
"name": "Decalchi con logo per fodero orizzontale Trek Top Fuel 29 2020",
"price": "12.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14807",
"name": "Badge per tubo sterzo Trek",
"price": "6.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12711",
"name": "Piastra per serbatoio Electra Delivery 3i",
"price": "29.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32995",
"name": "Badge per tubo sterzo Diamant",
"price": "22.49",
"brand": "Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22778",
"name": "Pannelli pubblicitari per Electra Cruiser Lux",
"price": "22.49",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "white_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34817",
"name": "Badge Electra per tubo sterzo",
"price": "13.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44283",
"name": "Electra Loft Go! Seat Tube Badge",
"price": "6.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12591",
"name": "Badge Electra Paracatena",
"price": "4.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}