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