if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "55799.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49162",
"name": "Speed Concept SLR 8 AXS",
"price": "42399.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "53599.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "42399.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "40199.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35746",
"name": "Rama z widelcem Speed Concept TT",
"price": "35399.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35671",
"name": "Rama z widelcem Speed Concept SLR",
"price": "32799.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22055",
"name": "Rama z widelcem Speed Concept Rim",
"price": "20799.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}