if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "22489",
"name": "Dětské cyklistické rukavice Bontrager",
"price": "199.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "blue_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "2499.0",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33835",
"name": "Ponožky Electra Surfbird",
"price": "399.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33838",
"name": "Ponožky Electra Tie Dye",
"price": "399.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33836",
"name": "Ponožky Electra Burger",
"price": "399.0",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}