if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "24533",
"name": "Loft 7i EQ Step-Thru",
"price": "499.0",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "17003",
"name": "Le Loft 7i Step-Thru",
"price": "449.0",
"brand": "Electra",
"category": "Loft",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "16810",
"name": "Le Loft 7D Step-Thru",
"price": "369.0",
"brand": "Electra",
"category": "Loft",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24531",
"name": "Pneus Bontrager E6 Hard-Case Lite 27,5 x 2,4 po. avec protection anti-crevaison et bande réfléchissante",
"price": "409.0",
"brand": "Electra",
"category": "Loft",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}