if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44298",
"name": "Electra Loft/Loft Go! Rear Fender Plug",
"price": "24.9",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44092",
"name": "Electra Loft Fork Crown Fender/Fork Shim",
"price": "24.9",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37556",
"name": "Pasek i trzpień Electra Plasket",
"price": "24.9",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42250",
"name": "Electra PVC Light Wire Sleeve",
"price": "19.9",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42283",
"name": "Electra Cable Routing Grommet",
"price": "19.9",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36964",
"name": "Electra Townie/Cruiser Go! Rear Fender Plug",
"price": "19.9",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35912",
"name": "Mały dzwonek ding dong Electra 101",
"price": "20.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41771",
"name": "Electra Loft Go! 7D Internal Cable Guide",
"price": "19.9",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34399",
"name": "Dzwonek obrotowy Electra Rosette",
"price": "12.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}