if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "33542",
"name": "Elan Super Deluxe (Midstep)",
"price": "4699.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}