if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "40324",
"name": "Electra Fern Pannier Bag",
"price": "447.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40322",
"name": "Electra Fern Rear Rack Trunk Bag",
"price": "439.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40320",
"name": "Electra Fern Cylinder Handlebar Bag",
"price": "143.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40317",
"name": "Torba na telefon Electra Fern",
"price": "143.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40316",
"name": "Electra Fern Saddle Bag",
"price": "111.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40279",
"name": "Electra Fern Bar End Mirror",
"price": "111.0",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}