if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "45142",
"name": "Trek Line Pro/Elite Pedal Axle Rebuild Kit",
"price": "44.9",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10861",
"name": "Trek Kids Dialed Pedal Set",
"price": "34.9",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "94.9",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10435",
"name": "Trek Hybrid Pedal Set",
"price": "84.9",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "greylight_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "29377",
"name": "Zestaw pedałów Electra Grip Tape",
"price": "64.9",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12667",
"name": "Zestaw pedałów Electra Chopper",
"price": "64.9",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}