if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "35905",
"name": "Kask lifestylowy Electra Miami",
"price": "239.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35897",
"name": "Electra Miami Phone Bag",
"price": "143.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35708",
"name": "Siodełko ze sprężynami elastomerowymi Electra Miami",
"price": "124.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35899",
"name": "Electra Miami Saddle Bag",
"price": "111.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35893",
"name": "Electra Miami Handlebar Bag",
"price": "111.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35712",
"name": "Chwyty gumowe Electra Miami",
"price": "95.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}