if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "22101",
"name": "Domane SL 7",
"price": "22499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23148",
"name": "Domane SLR 6 Disc",
"price": "22099.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "17190",
"name": "Domane SL 6 Disc",
"price": "18699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "17139",
"name": "Boone 7 Disc",
"price": "18499.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "grey_green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "17031",
"name": "Domane SL 5 Disc",
"price": "16999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23389",
"name": "Domane SL 6 Disc",
"price": "15399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "17496",
"name": "Domane SL 5 Disc",
"price": "11999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "17178",
"name": "Crockett 7 Disc",
"price": "11999.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "17407",
"name": "Rama z widelcem Domane SLR",
"price": "11699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}