if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "12711",
"name": "Electra Delivery 3i Tank Plate",
"price": "750.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22778",
"name": "Panely s reklamou na kolo Electra Cruiser Lux",
"price": "580.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "white_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34817",
"name": "Electra Headtube Badge",
"price": "360.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44283",
"name": "Electra Loft Go! Seat Tube Badge",
"price": "180.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12591",
"name": "Electra Frame Badge",
"price": "140.0",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}