if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "40515",
"name": "Verve+ 2 Gen 3",
"price": "14299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35140",
"name": "Verve+ 4 o niskim przekroku",
"price": "13999.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32899",
"name": "Verve+ 3 Gen 2",
"price": "11679.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32900",
"name": "Verve+ 3 o niskiej rurze górnej Gen 2",
"price": "11679.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "29189",
"name": "Verve+ 2 o obniżonym przekroku Gen 2",
"price": "10299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29190",
"name": "Verve+ 2 Gen 2",
"price": "10299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35054",
"name": "Verve+ 2 o niskim przekroku Gen 2",
"price": "10299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "29110",
"name": "Verve+ 1",
"price": "8699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35025",
"name": "Verve+ 1 z niskim przekrokiem",
"price": "8699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33050",
"name": "Verve+ 1 Lowstep DT",
"price": "8699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}