if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "46737",
"name": "Casquette cycliste Santini réplique Lidl-Trek",
"price": "15.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46743",
"name": "Cache-cou cycliste Santini Lidl-Trek",
"price": "11.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}