if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "45144",
"name": "Trek Line Elite Pedal Pin Kit",
"price": "260.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45142",
"name": "Trek Line Pro/Elite Pedal Axle Rebuild Kit",
"price": "230.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "10861",
"name": "Trek Kids Dialed Pedal Set",
"price": "190.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12666",
"name": "Sada pedálů Electra Barefoot",
"price": "399.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12669",
"name": "Sada pedálů Electra Deluxe Block",
"price": "399.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29377",
"name": "Sada pedálů Electra Grip Tape",
"price": "399.0",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}