if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "12689",
"name": "Sedlová objímka s rychloupínákem Electra",
"price": "520.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25889",
"name": "Electra 31.8mm Seatpost Clamps w/ Rack Mounts",
"price": "310.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12688",
"name": "Electra 28.6mm Seatpost Clamp with Rack Mounts",
"price": "310.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12827",
"name": "Náhradní hliníková sedlovka Electra",
"price": "300.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "39361",
"name": "Electra Replacement Steel Seatpost",
"price": "130.0",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}