if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "36098",
"name": "Zestaw rodzinny dla Trek Fetch+ 2",
"price": "1300.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36097",
"name": "Zestaw sakw tylnych dla Trek Fetch+ 2",
"price": "850.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36099",
"name": "Zestaw sakw przednich i bagażnik dla Trek Fetch+ 2",
"price": "800.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40145",
"name": "Zestaw błotników Trek Fetch+ 2",
"price": "260.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45259",
"name": "Trek Fetch+ 2 Front Pannier Rack",
"price": "260.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41674",
"name": "Torba podsiodłowa Trek Blendr",
"price": "259.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35885",
"name": "Koszyk na bidon z materiałów z recyklingu z dostępem z lewej Bontrager Left Side Load",
"price": "93.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24663",
"name": "Mocowanie Blendr dla akcesoriów na siodełko Bontrager",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}