if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36232",
"name": "Potence pour stoker de tandem Electra",
"price": "44.99",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37594",
"name": "Potence à plongeur Electra enfant",
"price": "19.99",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12708",
"name": "Potence en alliage Electra Cruiser",
"price": "11.99",
"brand": "Electra",
"category": "Bike stems & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}