if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "35487",
"name": "Émonda SLR 7",
"price": "39999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "35999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29864",
"name": "Rama z widelcem Émonda SLR RSL H1",
"price": "21799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28103",
"name": "Rama z widelcem Émonda SLR H2",
"price": "21799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32772",
"name": "Rama z widelcem Émonda SLR Disc",
"price": "19999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21880",
"name": "Émonda SLR 9",
"price": "47699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "yellow_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22111",
"name": "Émonda SLR 6 Disc",
"price": "21999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}