if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "26949",
"name": "Townie Path Go! 7D EQ ze standardową rurą górną",
"price": "12499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "29099",
"name": "Townie Path Go! 5i z ramą w wersji damskiej",
"price": "12499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D Step-Thru",
"price": "12499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}