if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "37006",
"name": "Powerfly FS 7 Gen 3",
"price": "158490.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40673",
"name": "Powerfly FS 4 Gen 3",
"price": "114990.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32760",
"name": "Powerfly FS 7 Gen 2",
"price": "126517.5",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36997",
"name": "Powerfly FS 4 Gen 3",
"price": "110990.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32757",
"name": "Powerfly FS 4 500 Gen 2",
"price": "105136.5",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32818",
"name": "Powerfly FS 4 625 Gen 2",
"price": "103752.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}