if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44489",
"name": "Plášť MTB Bontrager Gunnison Pro XR TLR",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13586",
"name": "Plášť pro horská kola Bontrager SE4 Team Issue TLR MTB",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13585",
"name": "Pláště pro horská kola Bontrager XR4 Team Issue TLR MTB",
"price": "42.49",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38226",
"name": "Plášť Pirelli Scorpion E-MTB R na elektrobicykle",
"price": "79.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38374",
"name": "Plášť Pirelli Scorpion Enduro M MTB",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22118",
"name": "Schwalbe Super Moto-X GreenGuard 27.5" MTB Tire",
"price": "59.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}