if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "41819",
"name": "Electra Loft Go! 7D Crankset",
"price": "1100.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32042",
"name": "Převodníky na elektrokola Electra Hydrive",
"price": "750.0",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41769",
"name": "Electra Loft Go! 7D Bottom Bracket Cover",
"price": "270.0",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}