if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "42169",
"name": "Opona gravelowa Pirelli Cinturato Gravel RC",
"price": "329.0",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33948",
"name": "Wolf Tooth B-RAD Bottle Shift",
"price": "170.0",
"brand": "Wolf Tooth Components",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41677",
"name": "Pirelli Cinturato SmarTUBE Presta Valve Bicycle Tube",
"price": "159.0",
"brand": "Pirelli",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}