if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34244",
"name": "Kask Electra Unicorn Lifestyle",
"price": "167.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33561",
"name": "Kask Electra Lifestyle",
"price": "84.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33701",
"name": "Kosz na kierownicę Electra Honeycomb mały mocowany na hakach",
"price": "70.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33731",
"name": "Kosz na kierownicę Electra Honeycomb mały mocowany paskiem",
"price": "70.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34405",
"name": "Dzwonek obrotowy Electra jednolity",
"price": "22.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37596",
"name": "Electra 16˝ Kids' Handlebar",
"price": "140.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37595",
"name": "Electra 20˝ Kids' Handlebar",
"price": "120.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14477",
"name": "Dzwonek rowerowy Electra Color",
"price": "27.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "12653",
"name": "Trąbka zakręcona Electra",
"price": "18.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pink",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}