if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "46749",
"name": "Zestaw adaptera o wysokim natężeniu przepływu Bontrager",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44292",
"name": "Bontrager Tapered Base TLR Valve Stem",
"price": "79.9",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29226",
"name": "Bontrager Presta Valve Extenders",
"price": "69.9",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27395",
"name": "Trzpień zaworu Bontrager TLR z okrągłą podstawą",
"price": "49.9",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13521",
"name": "Trzpień zaworu z prostokątną podstawą Bontrager TLR",
"price": "49.9",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}