if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "47295",
"name": "Koszulka rowerowa Rapha Core",
"price": "314.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "33416",
"name": "Koło szosowe Bontrager Affinity TLR 24H 700c",
"price": "520.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "33877",
"name": "Bębenek piasty 11-biegowy Bontrager Approved TK-32",
"price": "140.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "47338",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "120.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "40916",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "94.9",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "10382",
"name": "VP Components A76CG 1-1/8˝ Headset",
"price": "69.9",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "54.9",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}