if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47997",
"name": "Rám Boone Disc",
"price": "2999.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41655",
"name": "Boone 5",
"price": "3499.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35664",
"name": "Súprava rámu Crockett Disc",
"price": "1199.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_tealdark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35696",
"name": "Rám Boone Disc",
"price": "2999.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}