if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "32841",
"name": "Opakowanie 10 sztuk nypli szprych o średnicy 13 Bontrager",
"price": "24.9",
"brand": "Trek",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45446",
"name": "Bontrager Aeolus Pro Spoke Nipple Washers",
"price": "84.9",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12932",
"name": "Podkładki nypli szprych Bontrager Aeolus D3",
"price": "39.9",
"brand": "Bontrager",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33500",
"name": "Opakowanie 10 sztuk nypli szprych Bontrager Wheelsystem Alloy ProLock",
"price": "69.9",
"brand": "DT Swiss",
"category": "Spokes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26980",
"name": "Bontrager Wheelsystem Alloy Spoke Nipple Pack of 10",
"price": "54.9",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30046",
"name": "Alpina Locking Hex Head Brass Nipple Pack of 10",
"price": "49.9",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}