if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "16749.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41024",
"name": "Allant+ 6 o niskim przekroku",
"price": "16749.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "16749.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40482",
"name": "Allant+ 5",
"price": "14449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "14449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40483",
"name": "Allant+ 5 o niskim przekroku",
"price": "14449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36911",
"name": "Allant+ 5 o niskim przekroku",
"price": "16349.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36913",
"name": "Allant+ 5 o obniżonym przekroku",
"price": "16349.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36923",
"name": "Allant+ 6 o obniżonym przekroku",
"price": "15449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36916",
"name": "Allant+ 6",
"price": "15449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36970",
"name": "Allant+ 5",
"price": "13449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}