if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "12666",
"name": "Sada pedálů Electra Barefoot",
"price": "399.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12669",
"name": "Sada pedálů Electra Deluxe Block",
"price": "399.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29377",
"name": "Sada pedálů Electra Grip Tape",
"price": "399.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}