if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "12712",
"name": "Electra Amsterdam Hybrid Tire",
"price": "520.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13072",
"name": "Plášť Electra Loft 700c",
"price": "520.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12716",
"name": "Plášť Electra Cruiser Fatti-O 24 palců",
"price": "520.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21678",
"name": "Pláště Electra Lux Fat, 26 palců",
"price": "1500.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12713",
"name": "Schwalbe Fat Frank Cruiser Tire",
"price": "900.0",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}