if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41411",
"name": "Narzędzie wielofunkcyjne Trek Pro BITS",
"price": "349.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44751",
"name": "Narzędzie wielofunkcyjne Trek Elite BITS",
"price": "219.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "27290",
"name": "Uszczelniacz Bontrager TLR",
"price": "159.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35061",
"name": "Taśma do obręczy Bontrager TLR",
"price": "159.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12968",
"name": "Wtryskiwacz do uszczelniacza TLR Bontrager",
"price": "74.9",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14221",
"name": "Taśma do obręczy Bontrager TLR",
"price": "54.9",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"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": 8
}
,
{
"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": 9
}
,
{
"id": "31426",
"name": "Taśma na obręcz Bontrager TLR",
"price": "44.9",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}