if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "57826",
"name": "Rama z damperem Check-OUT SL",
"price": "13499.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_teal",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47997",
"name": "Rama z widelcem Boone Disc",
"price": "12999.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35073",
"name": "Rama z widelcem Domane SL Disc Gen 3",
"price": "12579.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "58244",
"name": "Rama z widelcem Madone SL Gen 8",
"price": "10399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "58669",
"name": "Rama z widelcem Checkpoint SL Gen 3",
"price": "10399.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46766",
"name": "Rama z widelcem Madone SL Gen 8",
"price": "10399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32688",
"name": "Rama z widelcem Émonda SL Disc",
"price": "9399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30189",
"name": "Rama z widelcem Émonda SL",
"price": "4499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}