if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33770",
"name": "Étui pour téléphone Electra Leopard",
"price": "20.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33774",
"name": "Sacoche de selle Electra",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33612",
"name": "Sacoche de cintre avec rabat Electra Leopard",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}