if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "33005",
"name": "Townie Go! 5i EQ Step-Over",
"price": "61599.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33006",
"name": "Townie Go! 5i EQ Step-Thru",
"price": "61599.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}