if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "47256",
"name": "FX Sport 6",
"price": "78990.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "60490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "73990.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "56490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "47490.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}