if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "29990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "16990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41613",
"name": "Marlin 4 Gen 2",
"price": "13490.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "21990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37982",
"name": "Rámový set Marlin Gen 3",
"price": "15990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "14990.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35866",
"name": "Rámový set Marlin Gen 2",
"price": "9665.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}