if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34400",
"name": "Dzwonek obrotowy Electra Sunny",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34404",
"name": "Dzwonek obrotowy Electra Goooal ",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34397",
"name": "Dzwonek obrotowy Electra Coast Highway",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkdark_orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35932",
"name": "Dzwonek rowerowy obrotowy przedni Electra Peace",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34398",
"name": "Dzwonek obrotowy Electra Offshore",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "white_teal",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34483",
"name": "Electra Gnome Ringer Bike Bell",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33656",
"name": "Dzwonek rowerowy klasyczny Electra EBC 3000",
"price": "34.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14477",
"name": "Dzwonek rowerowy Electra Color",
"price": "29.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34405",
"name": "Dzwonek obrotowy Electra jednolity",
"price": "24.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}