if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "33225",
"name": "Zouma+ (Midstep)",
"price": "14999.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33542",
"name": "Elan Super Deluxe (Midstep)",
"price": "4699.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33183",
"name": "Ubari Deluxe (Lowstep)",
"price": "3799.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greenlight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}