if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "33493",
"name": "District 2 Equipped",
"price": "4999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35018",
"name": "FX 2 Disc Equipped",
"price": "4699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35139",
"name": "FX 2 Disc Equipped Stagger",
"price": "4699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28899",
"name": "FX 3 Equipped Stagger",
"price": "4499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33526",
"name": "District 1 Equipped",
"price": "4399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33527",
"name": "District 1 Equipped o niskim przekroku",
"price": "4399.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36823",
"name": "Dual Sport 2 generacji 5",
"price": "4199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33494",
"name": "District 2 Equipped o niskim przekroku",
"price": "3935.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37000",
"name": "Verve 1 Equipped Lowstep",
"price": "3699.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36824",
"name": "Dual Sport 1 generacji 5",
"price": "3599.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35004",
"name": "FX 2 Disc Stagger",
"price": "3599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35104",
"name": "Dual Sport 3 Gen 4",
"price": "3501.15",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33510",
"name": "Verve 2 Equipped Lowstep",
"price": "3389.25",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35002",
"name": "FX 1 Disc Stagger",
"price": "3099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35001",
"name": "FX 1 Disc",
"price": "3099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}