if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "37299",
"name": "Rama z widelcem Émonda ALR Disc",
"price": "7299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23644",
"name": "Rama z widelcem Émonda ALR Disc",
"price": "6039.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33744",
"name": "Rama z widelcem Farley AL",
"price": "6039.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30189",
"name": "Rama z widelcem Émonda SL",
"price": "4499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23613",
"name": "Rama z widelcem Émonda ALR",
"price": "4499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "26914",
"name": "1120 Rama",
"price": "4499.0",
"brand": "Trek",
"category": "1120",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35870",
"name": "Rama Roscoe",
"price": "4399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35668",
"name": "Rama z widelcem Gen 2 Checkpoint ALR",
"price": "3199.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}