if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "749.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40928",
"name": "Wahoo 24 Path",
"price": "499.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36846",
"name": "8-rýchlostný odpružený bicykel Procaliber 24",
"price": "369.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}