if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "32096",
"name": "Naklejka z logo na dolną rurę widełek tylnych Trek Top Fuel 29 2020",
"price": "54.9",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14807",
"name": "Emblematy na główkę ramy Trek",
"price": "29.9",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34817",
"name": "Znaczek Electra na główkę ramy",
"price": "59.9",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44283",
"name": "Electra Loft Go! Seat Tube Badge",
"price": "29.9",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}