if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "22158",
"name": "Bontrager Race Lite Ergo Bar Ends IsoZone Bar Adapters",
"price": "270.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10311",
"name": "Záslepky řídítek Bontrager IsoZone",
"price": "80.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35187",
"name": "Diamant 136 Bar Ends",
"price": "1050.0",
"brand": "Diamant",
"category": "Bike handlebars",
"variant": "purple",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}