if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33777",
"name": "Sacoche arrière Electra, charbon",
"price": "95.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40322",
"name": "Sacoche arrière Electra Fern",
"price": "95.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}