if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "27158",
"name": "Electra Café Moto GO! Kit forcellino",
"price": "22.49",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24293",
"name": "Forcellini deragliatore Electra Townie",
"price": "10.99",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37569",
"name": "Forcellino cambio Electra Townie 135 x 12 mm",
"price": "9.99",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24291",
"name": "Trek-Electra Disc Derailleur Hanger",
"price": "22.49",
"brand": "Bontrager-Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}