if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22830",
"name": "Coussinets de casque Electra",
"price": "3.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}