if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "33527",
"name": "District 1 Equipped o niskim przekroku",
"price": "3699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33509",
"name": "Verve 2 Equipped",
"price": "3389.25",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}