if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "27863",
"name": "Koszyk na bidon Bontrager Bat Cage",
"price": "79.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22244",
"name": "Niskie mocowanie Garmin do systemu Bontrager Blendr",
"price": "74.9",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22245",
"name": "Wysokie mocowanie Blendr Garmin",
"price": "74.9",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35884",
"name": "Koszyk na bidon z materiałów z recyklingu Bontrager Elite",
"price": "59.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25257",
"name": "Dętki rowerowe na wentyl Presta Bontrager 70 Degree",
"price": "29.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25255",
"name": "Dętka rowerowa na wentyl Schrader Bontrager Standard",
"price": "29.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36012",
"name": "Kosz Electra Plasket",
"price": "183.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}