if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "30884",
"name": "Axe traversant avant à levier Electra Switch",
"price": "34.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30885",
"name": "Axe traversant arrière à levier Electra Switch",
"price": "22.49",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}