if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "38020",
"name": "Trek Alex DP23 Centerlock Nexus 7-Speed 700c Wheel",
"price": "1050.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41479",
"name": "Trek Cargo Bike 6-Bolt Disc 20" Wheel",
"price": "690.0",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37656",
"name": "Bontrager Connection Ride+ 32H Disc 700c Wheel",
"price": "530.0",
"brand": "Bontrager",
"category": "E-bike drivetrain parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37168",
"name": "Bontrager Connection Dynamo Centerlock 700c Wheel",
"price": "440.0",
"brand": "Bontrager",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27148",
"name": "Bontrager AT-750 Quick-Release 700c Hybrid Wheel",
"price": "410.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36229",
"name": "Electra Townie Commute Go! 5i 700c Wheel",
"price": "460.0",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}