if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33340",
"name": "Loft Go! 5i EQ Step-Thru 500 W",
"price": "2559.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34791",
"name": "Loft Go! 5i EQ Step-Thru 400 W",
"price": "2359.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36416",
"name": "Loft Go! 7D EQ Step-Over",
"price": "1629.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36417",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "1629.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24533",
"name": "Loft 7i EQ Step-Thru",
"price": "529.0",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "17003",
"name": "Le Loft 7i Step-Thru",
"price": "479.0",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24531",
"name": "Loft 7D EQ cadre ouvert",
"price": "439.0",
"brand": "Electra",
"category": "Loft",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "16810",
"name": "Le Loft 7D Step-Thru",
"price": "399.0",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}