if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "35904",
"name": "Kask lifestylowy Electra Ziggy",
"price": "239.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35707",
"name": "Siodełko ze sprężynami elastomerowymi Electra Ziggy",
"price": "199.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35896",
"name": "Electra Ziggy Phone Bag",
"price": "143.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35892",
"name": "Electra Ziggy Handlebar Bag",
"price": "111.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35898",
"name": "Electra Ziggy Saddle Bag",
"price": "111.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35711",
"name": "Chwyty gumowe Electra Ziggy",
"price": "95.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}