if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47322",
"name": "Chaussettes de cycliste Rapha Logo",
"price": "18.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}