if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34901",
"name": "Townie Commute Go! 5i Step-Thru",
"price": "11599.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34900",
"name": "Townie Commute Go! 5i Step-Over",
"price": "11599.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33340",
"name": "Loft Go! 5i EQ z ramą w wersji damskiej 500 Wh",
"price": "11199.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34791",
"name": "Loft Go! 5i EQ z ramą w wersji damskiej 400 Wh",
"price": "10299.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36416",
"name": "Loft Go! 7D EQ z ramą z wysoko prowadzoną rurą górną",
"price": "7199.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36417",
"name": "Loft Go! 7D EQ ze standardową rurą górną",
"price": "7199.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}