if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48799",
"name": "Krátke cyklistické nohavice s trakmi Rapha Core Cargo",
"price": "150.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47307",
"name": "Tréningové cyklistické šortky s trakmi Rapha Pro Team Training",
"price": "200.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13446",
"name": "Cyklistické termokraťasy Bontrager Velocis inForm",
"price": "101.49",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}