if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47334",
"name": "Boîtier imperméable Rapha Essentials",
"price": "36.0",
"brand": "Rapha",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33768",
"name": "Étui pour téléphone Electra Charcoal réfléchissant",
"price": "35.99",
"brand": "Electra",
"category": "Phone & tablet accessories",
"variant": "reflective",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}